HTTrack Website Copier
Free software offline browser - FORUM
Subject: Re: keep absolute links for hosts
Author: Xavier Roche
Date: 12/10/2011 11:19
 
> 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. 

Hmm I see, makes sense. The only issue will be the impossible handling of
collisions (but this is a minor issue hopefully)

Note that the "magic" md5 are the first four lowercase hex-digits of the query
string md5sum, if you want to recompute them by hand. (an implementation of
md5 is included in RFC 1321, if needed)

> I found the plugin instructions.  We'll see if we
> can figure it out.

Two possible options:

- catch "linkdetected" callback, and overwrite the link passed to fit your
needs if not on the same domain

- add an external callback link renaming, but this will require some tweaking

See the callbacks-example-listlinks.c sample, which can be easily adapted for
your needs. (usage in comments in the begining)

See also the "HTTrack Programming page - plugging functions" at
<http://www.httrack.com/html/plug.html>
 
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




1

Created with FORUM 2.0.11