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

I just wrote a little perl script that will make the maintenence of the headers/footers
(or any common HTML code) a little easier if a multi-page design is favored.

It works with a file "common", that contains common code in the format:
<!--START:head-->
This 
is a header
blah blah whatever
<!--END:head-->

then, in the website HTML file, you put this:
<!--INSERT:head-->

And when you run the perl script, it'll hunt out <!--INSERT:(.*?)-->
and replace it with the common code for $1 and save the "new" HTML
somewhere (so as not to over-write the original HTML file with the
comments in it, obviously :-)

It's a kind of half-assed solution, but it seems to fix the "problem"
of keeping different pages in synch with common code w/o having
to use PHP or server-side includes.

- -- 
[scott] :: "ein kalter Tod f�r den sprecher von L�gen"

-----BEGIN PGP SIGNATURE-----
Version: PGP 6.5.8

iQA/AwUBPCsgZGkF5Bwr8hiXEQLUFQCgzn4WYSq1G9Npi14UwkY/iIla/NkAoODW
+oJ7NY7D8k08yHe15guRMDMq
=oL8r
-----END PGP SIGNATURE-----

Reply via email to