Creating static pages with Zope
Hello, I read throw the documantation of Zope for some hours and I am very interested in using it but therefore I want to now if there is a chance to create static html-pages out of Zope and save them in a directory. Can anybody tell me if this is possible. Thanks for your trouble. Greetings Jan
On Fri, 9 Mar 2001 16:21:32 +0100 Jan Huss <huss@webagency.de> wrote:
Hello,
I read throw the documantation of Zope for some hours and I am very interested in using it but therefore I want to now if there is a chance to create static html-pages out of Zope and save them in a directory.
Can anybody tell me if this is possible.
Jan: No problem - add a DTML Document and you're there. The biggest problem that then confronts you is which method to choose to edit it. Using the text-area box from the management screen is the default but a bit tiresome after a while. There are many options to chose from. Netscape Composer works very well if you are not worried about dtml tags. Paul -- The Library, Tyndall Avenue, Univ. of Bristol, Bristol, BS8 1TJ, UK E-mail: paul.browning@bristol.ac.uk URL: http://www.bris.ac.uk/
Jan Huss wrote:
Hello,
I read throw the documantation of Zope for some hours and I am very interested in using it but therefore I want to now if there is a chance to create static html-pages out of Zope and save them in a directory.
Can anybody tell me if this is possible.
Thanks for your trouble.
Greetings Jan
Use a DTML Document. That can contain any text data, including static HTML. You can also enhance it with DTML as you become more proficent. Generally all Zope pages have some DTML in them. If for nothing else than to insert the standard_html_header and standard_html_footer to save having to repeat the top and bottom HTML coding throughout the site. You will notice that the default code for a new DTML Document already has this coded for you. -- | Casey Duncan | Kaivo, Inc. | cduncan@kaivo.com `------------------>
On Friday 9 March 2001, at 16 h 21, the keyboard of "Jan Huss" <huss@webagency.de> wrote:
I read throw the documantation of Zope for some hours and I am very = interested in using it but therefore I want to now if there is a chance = to create static html-pages out of Zope and save them in a directory.
This is not Zope's business. wget --mirror --wait=0 --no-parent --convert-links \ --no-host-directories --directory-prefix=/my/copy \ --quiet \ http://zope.myserver.org/ The beauty of the Unix way is that it works with Enhydra, Midgard, Zope, etc, even ASP.
On Fri, 09 Mar 2001 16:45:47 +0100, you wrote:
On Friday 9 March 2001, at 16 h 21, the keyboard of "Jan Huss" <huss@webagency.de> wrote:
I read throw the documantation of Zope for some hours and I am very = interested in using it but therefore I want to now if there is a chance = to create static html-pages out of Zope and save them in a directory.
This is not Zope's business.
...in a world with windows you could try "httrack" - works for me. GRuss GEorg -- Georg Hoermann, Ecosystem Research Center, Kiel University, Germany Tel. #49-431-880-4029, fx: -4083 Home: 0451/47 70 32, -33 fax, 0172/431 57 15 schorsch@ecology.uni-kiel.de
Hi Jan,
Jan Huss wrote:
Hello,
I read throw the documantation of Zope for some hours and I am very interested in using it but therefore I want to now if there is a chance to create static html-pages out of Zope and save them in a directory.
Can anybody tell me if this is possible.
Sure you can. You have always the posibility to use wget or other tools to get the content to write is into static files. But you loose almost all advantages of zope if you want to use the static files instead of zope. If you are concerned with the overhead and performance, I would recommend using proxy solutions. Which are much faster after all. (Squid cache with most pages in memory is even faster then apache with fileystem) Regards Tino
participants (6)
-
Casey Duncan -
Georg Hoermann -
Jan Huss -
Paul Browning -
Stephane Bortzmeyer -
Tino Wildenhain