From: Chris Beaumont (cbeaumon@msri.org)
Date: Thu Nov 14 2002 - 15:00:48 PST
Pat,
Yes, it's not hard to build a static site using Zope although in doing
that, you will lose a lot of the capabilities that are, to almost
everyone I know who uses it, some of the main reasons to use Zope.
It's a bit of a hack, but not difficult.
Basically, to do this, you create your Zope site on a local machine,
this will become your staging server.
Then you design your Zope code so that the URLs all use relative links
and are spider-friendly - so that they don't contain query strings,
basically.
(This is a good thing to do with any web site regardless.)
To create the desired static web page hierarchy on your public web
server, you use a site-sucking tool like the free Gnu 'wget' (or
WebDevil on the Mac) to connect to the Zope server on your staging
site, and essentially spider from the root - *downloading the entire
site to disk* - mirroring the structure of the dynamic site to create a
static directory structure, either on your workstation (in which case
you would then still have to FTP the site to its final home) or
preferably within your production web server's Document Root.
(You can see what a massive pain this would become with larger sites!)
You can run your spidering program from a cron job at regular intervals
if you want.. (there are both *nix and windows versions available )
To get 'wget' see its web page at
http://www.gnu.org/software/wget/wget.html
Does that answer your question?
Chris
> I don't know if Zope is only for building dynamic pages; Chris, can it
> be configured to build static pages as well?
-----------------------------------------------------------------------
The following was automatically added to this message by the list server:
Webnet information is available at <URL:http://webnet.berkeley.edu/>.
This archive was generated by hypermail 2b29 : Thu Nov 14 2002 - 15:03:27 PST