Re: Website build script

From: greg(at)turnstep(dot)com
To: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Website build script
Date: 2003-03-11 22:40:08
Message-ID: 4b7e77f9e60b39cad55afb8404d67e12@biglumber.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

As far as the problem of generating an empty index file, you could have
the buildpage() function redirect the lynx output to a temporary file
($1.temp) and check that file for validity somehow (i.e. non-zero size
or grep for a known string ("Postgres"?)) If it fails, send mail to
webmaster and exit. If it succeeds, run mv $1.temp $1.html. Or use cp
instead of mv and you have a copy of the previous page always preserved.

- --
Greg Sabino Mullane greg(at)turnstep(dot)com
PGP Key: 0x14964AC8 200303111731
-----BEGIN PGP SIGNATURE-----
Comment: http://www.turnstep.com/pgp.html

iD8DBQE+bmSnvJuQZxSWSsgRAv3RAJ9vJ1Jaupd1XivctHzDunVv5sbWgwCdHmCC
9ehCuTJI5QOn79aV6AlYAxo=
=2BZ3
-----END PGP SIGNATURE-----

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Dave Page 2003-03-11 22:44:03 Re: Website build script
Previous Message Gavin Sherry 2003-03-11 22:37:39 Re: Website build script