Hi- wget ---mirror does indeed download pictures to files. Here is how I mirror sites: wget -m -np http://the.path.to:8080/the/site/. HTH, --Quentin On Friday, August 9, 2002, at 09:14 AM, Dirk Hoeveler wrote:
Hi,
I am trying to 'mirror' an existing zope application and put the files on an apache (don't ask, why, the customer wants it).
Because I use a lot of ZClasses where put Images into, I cannot just use wget --mirror, because it cannot put pictures into a file.
So I tried to build an Extended Method, which uses a ZopeFind for all the pages I need and tries to write the rendered pages on my disk.
But I cannot render the DTML-Methods into a string, so that I can write a file. I tried something like
myPageString = myFolder.index_html(), but i get the key error message about standard_html_header not being available.
I see, that the script tries to render my index_html DTML-Method, but it doesn't seem to get the other DTML-Methods which are used in index_html.
Can you give me hint, how to pass the context, namespace, everything it needs to my Extended method?
By the way, if somebody knows of a Product, so already exists and produces a wget-like copy of a zope-site, that would also help a lot.
Thank You,
Dirk Höveler
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )