HTTrack Website Copier
Free software offline browser - FORUM
Subject: conditional comments not downloaded and rewritten
Author: jeroen van gorkum
Date: 08/23/2012 04:13
 
hello!

a cms driven website i'm trying to save as a static site has the following
snippet in the head of the homepage:

...
<!--[if IE]>
<link rel="stylesheet" type="text/css" href="/shared/style/screen-ie.css"
/>
<![endif]-->
...

i noticed winhttrack 3.46 does not save 'screen-ie.css' locally, and does not
rewrite 'href="/shared/style/screen-ie.css"' to
'href="shared/style/screen-ie.css"' (note the starting slash) for the
homepage, even if i set 'Options: Browser ID: Browser "Identity"' to
'Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0)' to trigger the download
of this style sheet.

i know i can download the style sheet separately by adding it to 'Web
Addresses: (URL)', but how can i make winhttrack rewrite the href to a
relative uri for the homepage and all pages below it?
 
Reply


All articles

Subject Author Date
conditional comments not downloaded and rewritten

08/23/2012 04:13
Re: conditional comments not downloaded and rewritten

08/23/2012 17:16
Re: conditional comments not downloaded and rewritten

08/23/2012 19:11
Re: conditional comments not downloaded and rewritten

08/23/2012 19:58
Re: conditional comments not downloaded and rewritten

08/23/2012 20:15
Re: conditional comments not downloaded and rewritten

08/24/2012 01:44
Re: conditional comments not downloaded and rewritten

08/29/2012 03:04




0

Created with FORUM 2.0.11