| > That what I would like to exchange on the fly with
httrack:
> Search: (href='http:[^>]*)
> Replace: onclick='if (confirm('The content behind this
link
> is not located on this DVD. This is because of disk-space
> limitations.
> Any idea wheather I can include this already into my scan
> rules or somewhere else in httrack?
You can do that using the -V option (but this will also
take some time) or using C-language callbacks (this will be
a bit painful to code)
But the simplest way is through the "No external pages"
option:
- Activate the "No external pages" option
- After the mirror is finished, edit the external.html page
and replace the javascript code as you wish
(beware: the external.html page will be replaced if you
update the mirror)
Note that this will solve html links, but not fully the
problem of external images (replaced currently by an
external.gif image) and external files in general (example:
zip files - how to wrap them?)
| |