Any good CLI-based tool to suck my Zope site?
Hi, I'm currently running Zope on my local Windows host, and would like to download the entire site to upload it to a remote FTP server to which I have no admin control (just disk space). I've been using wget for Windows release 1.8.2, but it doesn't work flawlessly: I've tried "wget -m http://localhost:8080/mysite", and "wget -mk -np http://localhost:8080/mysite: after downloading stuff at http://localhost:8080/mysite, wget goes on to download stuff from http://localhost Anybody knows of a good, command-line based offline-browser for Windows? Even better: Is there any way to export part of the directory tree through the ZMI (since the Export function doesn't export the tree to a filesystem)? Thx EvH.
There is a howto on zope.org how to use wget. Robert ----- Original Message ----- From: "EvH" <edward_van_h@bigfoot.com> To: <zope@zope.org> Sent: Sunday, July 21, 2002 9:08 PM Subject: [Zope] Any good CLI-based tool to suck my Zope site?
Hi,
I'm currently running Zope on my local Windows host, and would like to download the entire site to upload it to a remote FTP server to which I have no admin control (just disk space). I've been using wget for Windows release 1.8.2, but it doesn't work flawlessly:
I've tried "wget -m http://localhost:8080/mysite", and "wget -mk -np http://localhost:8080/mysite: after downloading stuff at http://localhost:8080/mysite, wget goes on to download stuff from http://localhost
Anybody knows of a good, command-line based offline-browser for Windows? Even better: Is there any way to export part of the directory tree through the ZMI (since the Export function doesn't export the tree to a filesystem)?
Thx EvH.
_______________________________________________ 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 )
Hi- I don't have time to figure out why wget isn't working for you, however there are 2 ways to export a directory tree. The first is to connect to Zope via ftp (put in localhost:8021 into your ftp client). However, that will get the source of the documents and not their rendered HTML, which is what I suspect you want. If you have a recent version of windows, you can add http://localhost:8080/ as a "Web Folder". Then, Zope will appear in your Network Neighborhood (or My Network Places). Any files you copy out of that location will be complete, rendered documents just as wget would have pulled. HTH, --Quentin On Sunday, July 21, 2002, at 03:08 PM, EvH wrote:
Hi,
I'm currently running Zope on my local Windows host, and would like to download the entire site to upload it to a remote FTP server to which I have no admin control (just disk space). I've been using wget for Windows release 1.8.2, but it doesn't work flawlessly:
I've tried "wget -m http://localhost:8080/mysite", and "wget -mk -np http://localhost:8080/mysite: after downloading stuff at http://localhost:8080/mysite, wget goes on to download stuff from http://localhost
Anybody knows of a good, command-line based offline-browser for Windows? Even better: Is there any way to export part of the directory tree through the ZMI (since the Export function doesn't export the tree to a filesystem)?
Thx EvH.
_______________________________________________ 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 )
At 15:53 21/07/2002 -0400, Quentin Smith wrote:
I don't have time to figure out why wget isn't working for you, however there are 2 ways to export a directory tree. The first is to connect to Zope via ftp (put in localhost:8021 into your ftp client). However, that will get the source of the documents and not their rendered HTML, which is what I suspect you want. If you have a recent version of windows, you can add http://localhost:8080/ as a "Web Folder". Then, Zope will appear in your Network Neighborhood (or My Network Places). Any files you copy out of that location will be complete, rendered documents just as wget would have pulled.
Thx for the tip, but when I double-click on the folder in NetHood, it displays the unrendered site, ie. I can objects like standard_html_header and such. Anyhow, someone else mentionned a HOWTO on using wget correctly, and it worked, so that's fine for the time being, although it'd be nice if users could export all or part of a site directly through the ZMI. Thx again EvH.
Hi- Yes, indeed it will show the components of your site. However, if you download one of the files you will see that, indeed, all DTML expressions inside it have been evaluated. --Quentin On Monday, July 22, 2002, at 08:55 AM, EvH wrote:
At 15:53 21/07/2002 -0400, Quentin Smith wrote:
I don't have time to figure out why wget isn't working for you, however there are 2 ways to export a directory tree. The first is to connect to Zope via ftp (put in localhost:8021 into your ftp client). However, that will get the source of the documents and not their rendered HTML, which is what I suspect you want. If you have a recent version of windows, you can add http://localhost:8080/ as a "Web Folder". Then, Zope will appear in your Network Neighborhood (or My Network Places). Any files you copy out of that location will be complete, rendered documents just as wget would have pulled.
Thx for the tip, but when I double-click on the folder in NetHood, it displays the unrendered site, ie. I can objects like standard_html_header and such. Anyhow, someone else mentionned a HOWTO on using wget correctly, and it worked, so that's fine for the time being, although it'd be nice if users could export all or part of a site directly through the ZMI.
Thx again EvH.
participants (3)
-
EvH -
Quentin Smith -
Robert Rottermann