Hi all, I wonder if anyone uses Zope to generate "offline" content; what I mean is, I'd like to use Zope to manage content, generate navigation stuff and the like, but my ISP only offers static HTML pages. Thus, the idea is to export a Zope site to static HTML pages and publish those. (Actually, I'm looking for a replacement for the Website Meta Language (WML).) My question is: what kind of problems arise in that situation? Obviously, you won't be able to use dynamic features like database access or dtml-trees. Is there any Product that allows me to export a whole subtree of my Zope instance into HTML files? Of course, one could use wget to crawl the Zope instance, but then absolute links etc. would break, etc... Advice anyone? Thanks, Christoph -- GMX - Die Kommunikationsplattform im Internet. http://www.gmx.net
Christoph Schmitz wrote:
My question is: what kind of problems arise in that situation? Obviously, you won't be able to use dynamic features like database access or dtml-trees. Is there any Product that allows me to export a whole subtree of my Zope instance into HTML files? Of course, one could use wget to crawl the Zope instance, but then absolute links etc. would break, etc...
I would most certainly use wget and then make shure thet my links would not break. It's very easy once it is set up, and it scales almost indefenitely. regards Max m
On Mon, May 13, 2002 at 09:12:55AM +0200, Christoph Schmitz wrote: | Hi all, | | I wonder if anyone uses Zope to generate "offline" content; what I mean is, | I'd like to use Zope to manage content, generate navigation stuff and the | like, but my ISP only offers static HTML pages. Thus, the idea is to export a | Zope site to static HTML pages and publish those. (Actually, I'm looking for a | replacement for the Website Meta Language (WML).) | | My question is: what kind of problems arise in that situation? Obviously, | you won't be able to use dynamic features like database access or dtml-trees. | Is there any Product that allows me to export a whole subtree of my Zope | instance into HTML files? Of course, one could use wget to crawl the Zope | instance, but then absolute links etc. would break, etc... | | Advice anyone? Don't use absolute URLs. As you have discovered, they cause problems when moved to any environment other than the original. What if some user of your site wants to copy it to their laptop so they can read it while not connected to the internet? The first page would have absolute links to your site and wouldn't reference the local copy. If all you're allowed on your site is static HTML, then you won't get any real benefit from using zope. Zope's real strength is it's dynamic building of pages and in it's management of permissions. You'll lose all of that when you use wget to export the site to your ISP. -D -- An anxious heart weighs a man down, but a kind word cheers him up. Proverbs 12:25 GnuPG key : http://dman.ddts.net/~dman/public_key.gpg
On 13 May 2002 at 10:44, dman wrote: (...)
If all you're allowed on your site is static HTML, then you won't get any real benefit from using zope. Zope's real strength is it's dynamic building of pages and in it's management of permissions. You'll lose all of that when you use wget to export the site to your ISP.
-D
That' true, but what about using Zope in an Intranet, benefitting from it's excellent user and security management, not to mention all other strengths and then export a static copy for the masses to a web server once a day? Quite tempting... Regards, Christoph (Roth, not Schmitz)
On 13 May 2002 at 9:12, Christoph Schmitz wrote:
Hi all,
I wonder if anyone uses Zope to generate "offline" content; what I mean is, I'd like to use Zope to manage content, generate navigation stuff and the like, but my ISP only offers static HTML pages. Thus, the idea is to export a Zope site to static HTML pages and publish those. (Actually, I'm looking for a replacement for the Website Meta Language (WML).) (..)
Hi Christoph, a good starting point for me was a short Howto "Mirror Zope with wget" on Zope.org, look at http://www.zope.org/Members/hdw/Tip/wget Greetings, Christoph
Isn't there a product that dumps a Zope site to html? (I know there is - I just don't remember the name.) Unless I am mistaken, there is a nice interface and all as well. On Mon, 13 May 2002 19:30:51 +0200 "Christoph Roth" <c.roth@themelios.de> wrote:
On 13 May 2002 at 9:12, Christoph Schmitz wrote:
Hi all,
I wonder if anyone uses Zope to generate "offline" content; what I mean is, I'd like to use Zope to manage content, generate navigation stuff and the like, but my ISP only offers static HTML pages. Thus, the idea is to export a Zope site to static HTML pages and publish those. (Actually, I'm looking for a replacement for the Website Meta Language (WML).) (..)
Hi Christoph,
a good starting point for me was a short Howto "Mirror Zope with wget" on Zope.org, look at
http://www.zope.org/Members/hdw/Tip/wget
Greetings,
Christoph
_______________________________________________ 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 )
-- Roger Oberholtzer
I'd like to know if there is such a product, as opposed to using wget, since I'm working on a WYSIWYG Article Management System, and the main competition varies most significantly in functionality by being able to publish the site to static HTML. It seems to be a standard feature of all the major CMSs (Microsoft CMS, Red Dot, Vignette, Broadvision, Insite, etc) and one thing that separates Zope from these systems. (In case anyone's wondering the sanity of losing all the dynamic features - you keep the dynamic menus, articles, etc (or at least a snapshot thereof) so you mainly lose web forms (search engines and application forms) which can be done with either separate code, or done to point back to the Zope instance, and you gain a huge performance increase, plus a staging environment. If anyone can help, that would be great - otherwise I'll have to look into writing something myself. Yours, David Burton 21/05/2002 20:19:01, Roger Oberholtzer <roger.oberholtzer@surbrunn.net> wrote:
Isn't there a product that dumps a Zope site to html? (I know there is - I just don't remember the name.) Unless I am mistaken, there is a nice interface and all as well.
On Mon, 13 May 2002 19:30:51 +0200 "Christoph Roth" <c.roth@themelios.de> wrote:
On 13 May 2002 at 9:12, Christoph Schmitz wrote:
Hi all,
I wonder if anyone uses Zope to generate "offline" content; what I mean is, I'd like to use Zope to manage content, generate navigation stuff and the like, but my ISP only offers static HTML pages. Thus, the idea is to export a Zope site to static HTML pages and publish those. (Actually, I'm looking for a replacement for the Website Meta Language (WML).) (..)
Hi Christoph,
a good starting point for me was a short Howto "Mirror Zope with wget" on Zope.org, look at
http://www.zope.org/Members/hdw/Tip/wget
Greetings,
Christoph
_______________________________________________ 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 )
--
Roger Oberholtzer
_______________________________________________ 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 )
"Into the abyss we stare, hoping that the abyss does not gaze so intently upon us"
There are no readymade solutions for this, as far as I know. The primary reason that most other systems publish to static HTML files is for performance. You can get the same sort of performance benefit by putting Squid or another HTTP cache in front of Zope as a reverse proxy and making sure you set the proper cache headers on your cacheable pages. In this way, you get the "best of both worlds" by having dynamic content when you need it (generated by Zope), and static content when it is appropriate (cached by Squid). On Wed, 2002-05-22 at 06:19, David Burton wrote:
I'd like to know if there is such a product, as opposed to using wget, since I'm working on a WYSIWYG Article Management System, and the main competition varies most significantly in functionality by being able to publish the site to static HTML. It seems to be a standard feature of all the major CMSs (Microsoft CMS, Red Dot, Vignette, Broadvision, Insite, etc) and one thing that separates Zope from these systems.
(In case anyone's wondering the sanity of losing all the dynamic features - you keep the dynamic menus, articles, etc (or at least a snapshot thereof) so you mainly lose web forms (search engines and application forms) which can be done with either separate code, or done to point back to the Zope instance, and you gain a huge performance increase, plus a staging environment.
If anyone can help, that would be great - otherwise I'll have to look into writing something myself.
Yours, David Burton
21/05/2002 20:19:01, Roger Oberholtzer <roger.oberholtzer@surbrunn.net> wrote:
Isn't there a product that dumps a Zope site to html? (I know there is - I just don't remember the name.) Unless I am mistaken, there is a nice interface and all as well.
On Mon, 13 May 2002 19:30:51 +0200 "Christoph Roth" <c.roth@themelios.de> wrote:
On 13 May 2002 at 9:12, Christoph Schmitz wrote:
Hi all,
I wonder if anyone uses Zope to generate "offline" content; what I mean is, I'd like to use Zope to manage content, generate navigation stuff and the like, but my ISP only offers static HTML pages. Thus, the idea is to export a Zope site to static HTML pages and publish those. (Actually, I'm looking for a replacement for the Website Meta Language (WML).) (..)
Hi Christoph,
a good starting point for me was a short Howto "Mirror Zope with wget" on Zope.org, look at
http://www.zope.org/Members/hdw/Tip/wget
Greetings,
Christoph
_______________________________________________ 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 )
--
Roger Oberholtzer
_______________________________________________ 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 )
"Into the abyss we stare, hoping that the abyss does not gaze so intently upon us"
_______________________________________________ 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 )
Thanks for that reply. I'm in an ongoing 'Zope advocacy' mode at work - although they're looking at CMSs such as most of those mentioned they're still unwilling to look into Zope despite the fact I've been using Zope for my own personal websites for more than a year now... Basically I work for a web programming/consultancy company in the UK, and would rather see Zope at least evaluated properly. Does anyone have (or know of) any particularly good Zope Advocacy documents as I'm wanting to make a presentation regarding the merits of Zope to the directors at some point. Thanks, David Burton 22/05/2002 13:16:03, Chris McDonough <chrism@zope.com> wrote:
There are no readymade solutions for this, as far as I know.
The primary reason that most other systems publish to static HTML files is for performance.
You can get the same sort of performance benefit by putting Squid or another HTTP cache in front of Zope as a reverse proxy and making sure you set the proper cache headers on your cacheable pages.
In this way, you get the "best of both worlds" by having dynamic content when you need it (generated by Zope), and static content when it is appropriate (cached by Squid).
On Wed, 2002-05-22 at 06:19, David Burton wrote:
I'd like to know if there is such a product, as opposed to using wget, since I'm working on a WYSIWYG Article Management System, and the main competition varies most significantly in functionality by being able to publish the site to static HTML. It seems to be a standard feature of all the major CMSs (Microsoft CMS, Red Dot, Vignette, Broadvision, Insite, etc) and one thing that separates Zope from these systems.
(In case anyone's wondering the sanity of losing all the dynamic features - you keep the dynamic menus, articles, etc (or at least a snapshot thereof) so you mainly lose web forms (search engines and application forms) which can be done with either separate code, or done to point back to the Zope instance, and you gain a huge performance increase, plus a staging environment.
If anyone can help, that would be great - otherwise I'll have to look into writing something myself.
Yours, David Burton
21/05/2002 20:19:01, Roger Oberholtzer <roger.oberholtzer@surbrunn.net> wrote:
Isn't there a product that dumps a Zope site to html? (I know there is - I just don't remember the name.) Unless I am mistaken, there is a nice interface and all as well.
On Mon, 13 May 2002 19:30:51 +0200 "Christoph Roth" <c.roth@themelios.de> wrote:
On 13 May 2002 at 9:12, Christoph Schmitz wrote:
Hi all,
I wonder if anyone uses Zope to generate "offline" content; what I mean is, I'd like to use Zope to manage content, generate navigation stuff and the like, but my ISP only offers static HTML pages. Thus, the idea is to export a Zope site to static HTML pages and publish those. (Actually, I'm looking for a replacement for the Website Meta Language (WML).) (..)
Hi Christoph,
a good starting point for me was a short Howto "Mirror Zope with wget" on Zope.org, look at
http://www.zope.org/Members/hdw/Tip/wget
Greetings,
Christoph
_______________________________________________ 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 )
--
Roger Oberholtzer
_______________________________________________ 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 )
"Into the abyss we stare, hoping that the abyss does not gaze so intently upon us"
_______________________________________________ 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 )
"Into the abyss we stare, hoping that the abyss does not gaze so intently upon us"
Hi, I had a similar requirement and the options I found were: 1) wget - didn't work for me because it was getting confused by acquisition 2) ZMirror product - this is good, but it choked on simple DTML methods. So I made a script from FTPMirror.py that essentially get the content over HTTP from Zope into static files. It has been in production for around 2 years now for sites with more than 10000 files. You can get the script at http://vsbabu.org/techbits/zope4static.html I guess this could be easily repackaged into a Python product so that you can start the static content generation right from within Zope. - vsb On Wed, May 22, 2002 at 01:36:17PM +0100, David Burton wrote:
On Wed, 2002-05-22 at 06:19, David Burton wrote:
I'd like to know if there is such a product, as opposed to using wget, since I'm working on a WYSIWYG Article Management System, and the main competition varies most significantly in functionality by being able to publish the site to static HTML.
Check out the ZMirror product. It makes static html from a Zope site. It works fine. It is small and easy to use. I looked at it for a Zope site that was to be mirrored by non-Zope boxes. On Wed, 22 May 2002 11:19:21 +0100 David Burton <eloquence@eloquent-designs.f2s.com> wrote:
I'd like to know if there is such a product, as opposed to using wget, since I'm working on a WYSIWYG Article Management System, and the main competition varies most significantly in functionality by being able to publish the site to static HTML. It seems to be a standard feature of all the major CMSs (Microsoft CMS, Red Dot, Vignette, Broadvision, Insite, etc) and one thing that separates Zope from these systems.
(In case anyone's wondering the sanity of losing all the dynamic features - you keep the dynamic menus, articles, etc (or at least a snapshot thereof) so you mainly lose web forms (search engines and application forms) which can be done with either separate code, or done to point back to the Zope instance, and you gain a huge performance increase, plus a staging environment.
If anyone can help, that would be great - otherwise I'll have to look into writing something myself.
Yours, David Burton
21/05/2002 20:19:01, Roger Oberholtzer <roger.oberholtzer@surbrunn.net> wrote:
Isn't there a product that dumps a Zope site to html? (I know there is - I just don't remember the name.) Unless I am mistaken, there is a nice interface and all as well.
On Mon, 13 May 2002 19:30:51 +0200 "Christoph Roth" <c.roth@themelios.de> wrote:
On 13 May 2002 at 9:12, Christoph Schmitz wrote:
Hi all,
I wonder if anyone uses Zope to generate "offline" content; what I mean is, I'd like to use Zope to manage content, generate navigation stuff and the like, but my ISP only offers static HTML pages. Thus, the idea is to export a Zope site to static HTML pages and publish those. (Actually, I'm looking for a replacement for the Website Meta Language (WML).) (..)
Hi Christoph,
a good starting point for me was a short Howto "Mirror Zope with wget" on Zope.org, look at
http://www.zope.org/Members/hdw/Tip/wget
Greetings,
Christoph
_______________________________________________ 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 )
--
Roger Oberholtzer
_______________________________________________ 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 )
"Into the abyss we stare, hoping that the abyss does not gaze so intently upon us"
-- Roger Oberholtzer
participants (8)
-
Chris McDonough -
Christoph Roth -
Christoph Schmitz -
David Burton -
dman -
Max M -
Roger Oberholtzer -
vsbabu@vsbabu.org