Hi; My goal (right or wrong :o) is to mirror my zope site to a static set of files on a cdrom. I have tried wget and w3mir, but they don't really seem to grok zope. I also used the zopemir.py script, which does get all of the files, but it does not do any "fixing" of the html to make sure links point to the right places. Am I doing something wrong with these tools, or has someone else already created workarounds, or do I need to do this for myself? _________________________________________________________________ MSN 8 with e-mail virus protection service: 2 months FREE* http://join.msn.com/?page=features/virus
On Tue, May 13, 2003 at 02:38:45AM +0000, Lee Harr wrote:
Hi;
My goal (right or wrong :o) is to mirror my zope site to a static set of files on a cdrom.
I have tried wget and w3mir, but they don't really seem to grok zope.
wget can make a nice browsable pseudo-mirror* of zope if you get the right combination of flags. The best I've come up with is: wget -r -l8 -p -nH --no-parent --convert-links --html-extension you may of course need to adjust the -l setting. * I say pseudo-mirror because it's quite possible that some urls will (harmlessly) change, and there may be some duplication - actually there can be quite a lot of duplication if you make sloppy use of relative URLs. In fact they can lead to infinitely growing URLs which are of course impossible to mirror with any tool. :) -- Paul Winkler home: http://www.slinkp.com "Muppet Labs, where the future is made - today!"
participants (2)
-
Lee Harr -
Paul Winkler