Re: Website build script
| От | greg@turnstep.com |
|---|---|
| Тема | Re: Website build script |
| Дата | |
| Msg-id | 4b7e77f9e60b39cad55afb8404d67e12@biglumber.com обсуждение |
| Ответ на | Website build script ("Dave Page" <dpage@vale-housing.co.uk>) |
| Ответы |
Re: Website build script
|
| Список | 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@turnstep.com
PGP Key: 0x14964AC8 200303111731
-----BEGIN PGP SIGNATURE-----
Comment: http://www.turnstep.com/pgp.html
iD8DBQE+bmSnvJuQZxSWSsgRAv3RAJ9vJ1Jaupd1XivctHzDunVv5sbWgwCdHmCC
9ehCuTJI5QOn79aV6AlYAxo=
=2BZ3
-----END PGP SIGNATURE-----
В списке pgsql-hackers по дате отправления: