Re: URL for the slides from today's talk

Date view Thread view Subject view Author view

From: Pat Soberanis (soberans@socrates.berkeley.edu)
Date: Thu Nov 14 2002 - 16:48:48 PST


thanks, Chris! This should help the programmers out there. - Pat

Chris Beaumont wrote:
>
> 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?

-- 
Pat Soberanis, Web Manager
UC Berkeley Psychology Dept.

"We must work toward peace."

Mon: 8-12 Tue: 8-5 Thu: 8-5

email: soberans@socrates.berkeley.edu office: 510-643-8589

**Please include the URL with all requests for Web site corrections. Thank you.** ----------------------------------------------------------------------- The following was automatically added to this message by the list server:

Webnet information is available at <URL:http://webnet.berkeley.edu/>.


Date view Thread view Subject view Author view

This archive was generated by hypermail 2b29 : Thu Nov 14 2002 - 16:49:41 PST