HTTrack Website Copier
Free software offline browser - FORUM
Subject: parsing of js files in version 3.32
Author: D_A
Date: 04/11/2004 12:26
 
There's still a problem in the parsing of js files in
version 3.32
In the original file I have
document.write('<div id="content2"><p class="c"><a
href="index.php">Home&nbsp;Page</a> | <a
href="l1.php">text1</a> | <a href="l2.php">text2</a>
...</p><p>'+variable+' anytext</p></div>')
document.write('<div id="button2"><ul><li><a
href="index.php">Home&nbsp;Page</a></li><li><a href="l1.php"
title="Examples">text1</a></li><li><a href="l2.php"
title="for
beginners">text2</a></li><li>'+calculated_link_and_text+'</li>....</ul></div>')
in the mirror, I find
document.write('<div id="content2"><p class="c"><a
href="index-2.html">Home&nbsp;Page</a> | <a
href="l1.html">text1</a> | <a href="l2.html">text2</a> ...
</p><p>'+variable+' anytext</p></div>')
document.write('<div id="button2"><ul><li><a
href="index-2.html">Home&nbsp;Page</a></li><li><a
href="l1.php" title="Examples">text1</a></li><li><a
href="l2.php" title="title
2">text2</a></li>...</li><li>'+calculated_link_and_text+'</li>...</ul></div>')
No problem with the first document.write, only the first
link parsed in the second one although the list of links is
the same and all the files mirrored.
The previous versions generated an error "Forbidden" (403)
because of the calculated link (..."+lien+".php).
Not trying to interpret this link is a good idea, but
changing the extensions of all the mirrored files in the
second document.write would also be fine.
Regards
 
Reply


All articles

Subject Author Date
parsing of js files in version 3.32

04/11/2004 12:26
Re: parsing of js files in version 3.32

04/12/2004 00:30
Re: parsing of js files in version 3.32

04/12/2004 10:43




2

Created with FORUM 2.0.11