HTTrack Website Copier
Free software offline browser - FORUM
Subject: No external links option problem
Author: Vinita
Date: 01/03/2003 07:11
 
Hi

We have been using -x option to replace external html links 
by error pages. I have noticed that everytime, when the 
engine comes across a link for the first time it puts the 
external link directive but after that it just 
puts '../../' for the same link on the same page or any 
other page in the hierarchy.
eg:
/usr/local/bin/httrack <http://www.tft.csiro.au/textile_news>
/past_editions.html" -O "/home/vtuteja/21955" -xtnK0L1Da  -
j --assume standard 

The main page  'past_editions.html' 
under 'www.tft.csiro.au/textile_news' has 'a 
href="../../external.html?link=http://www.tft.csiro.au/contact.html ' wheras
for the 
next one on the same page and other pages have 'a 
href="../../../../../" '

When the Debug and test links options were also used then 
the info from hts_log says:
For first time httrack encountered a link for contact.html:
 build relative links to 
test: ../contact.html ../contact.html 
(with /textile_news/past_editions.html a
nd /textile_news/past_editions.html)
13:30:10        Debug:  upper link canceled: 
www.tft.csiro.au/contact.html
13:30:10        Debug:  (wizard) cancelled foreign domain 
link: link www.tft.csiro.au/contact.html at 
www.tft.csiro.au/textile
_news/past_editions.html
13:30:10        Debug:  Testing link 
www.tft.csiro.au/contact.html
13:30:10        Debug:  result for wizard link test: 1
13:30:10        Debug:  External: 
www.tft.csiro.au/contact.html

and for the next contact.html it says:

13:30:10        Debug:  build relative link ../contact.html 
with www.tft.csiro.au/textile_news/past_editions.html
13:30:10        Debug:  wizard link test at 
www.tft.csiro.au/contact.html..
13:30:10        Debug:  wizard test begins: 
www.tft.csiro.au/contact.html
13:30:10        Debug:  result for wizard link test: 0
13:30:10        Debug:  Record: 
www.tft.csiro.au/contact.html ->
13:30:10        Debug:  relative link at www.tft.csiro.au 
build with  
and /home/vtuteja/21955/www.tft.csiro.au/textile_news/pa
st_editions.html: ../../../../../
13:30:10        Debug:  OK, NOTE: 
www.tft.csiro.au/contact.html ->

How do I make httrack put the external link directive for 
these urls everytime it comes across them and not just the 
first time?I would appreciate some help here.

Thanks
Vinita
 
Reply


All articles

Subject Author Date
No external links option problem

01/03/2003 07:11
Bug : repeated external links

01/05/2003 23:05
Re: Bug : repeated external links

01/05/2003 23:32
Re: Bug : repeated external links

01/07/2003 21:32
Re: Bug : repeated external links

01/12/2003 20:02




0

Created with FORUM 2.0.11