HTTrack Website Copier
Free software offline browser - FORUM
Subject: Re: keep absolute links for hosts
Author: Brent Palmer (Widernet)
Date: 12/09/2011 22:11
 
> Do you really need this feature ? Couldn't the
> external page feature (ie. rewrite external links so
> that they point to a single page, which may embed
> javascript) be sufficient ?> 
I don't exactly know what you mean here, but I dont' think so.  In the
eGranary DL , the webserver acts as a proxy server to the hosts we have
mirrored.  When the browser follows a link from <http://somehost> to a file in
<http://someotherhost>, it will only work if the link is absolute.  For most
files, we could just use the "keep original links" setting except for the
problem of query strings.  Because of the obvious file system limitations, we
use the default short md5 hash setting for dealing with query strings.  But if
we use keep-original-links, that means links with query strings will be
broken.

> If not, the only way is to develop a very small
> plugin, whose aim would be to rewrite the link,
> using a callback similar to the save-name callback.
> But this is not the easiest way to go.
> 
I found the plugin instructions.  We'll see if we can figure it out.

Thanks,
Brent

 
Reply Create subthread


All articles

Subject Author Date
keep absolute links for hosts

12/08/2011 23:02
Re: keep absolute links for hosts

12/09/2011 15:54
Re: keep absolute links for hosts

12/09/2011 16:28
Re: keep absolute links for hosts

12/09/2011 20:21
Re: keep absolute links for hosts

12/09/2011 22:11
Re: keep absolute links for hosts

12/10/2011 11:19
Re: keep absolute links for hosts

12/10/2011 11:39
Re: keep absolute links for hosts

05/01/2012 17:40




6

Created with FORUM 2.0.11