[Zope] Using Zope to generate offline content

dman dman@dman.ddts.net
Mon, 13 May 2002 10:44:37 -0500


--BwCQnh7xodEAoBMC
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Mon, May 13, 2002 at 09:12:55AM +0200, Christoph Schmitz wrote:
| Hi all,
|=20
| I wonder if anyone uses Zope to generate "offline" content; what I mean i=
s,
| 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 expo=
rt a
| Zope site to static HTML pages and publish those. (Actually, I'm looking =
for a
| replacement for the Website Meta Language (WML).)
|=20
| 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-tr=
ees.
| 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...
|=20
| 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

--=20

An anxious heart weighs a man down,
but a kind word cheers him up.
        Proverbs 12:25
=20
GnuPG key : http://dman.ddts.net/~dman/public_key.gpg


--BwCQnh7xodEAoBMC
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iEYEARECAAYFAjzf32UACgkQO8l8XBKTpRTNNwCcCjeT0R2qEV4NCXjP46opeDqC
2sAAoLu+MsPkYOM2rhZa4CwIXIBgICf1
=OBy2
-----END PGP SIGNATURE-----

--BwCQnh7xodEAoBMC--