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

Ahhhh... so that's what i forgot ;)  I posted a site.tgz of the current state of what
i'm working on... it'll be updated probably without notice, as i update the site
design and what-not.

The tgzball is here: http://furt.com/blackbox/site.tgz
And there's a link to it on the page now.

A quick synapse of how i've been working with it....
"make.pl" and "common" are in the same directory as the "working"
copies of HTML files, when i feel like posting, i run "make.pl" which opens
up *.html, searches for <!--INSERT:name--> type comments, and 
replaces the comments with the appropriate code chunk from "common"
(please see "make.pl" and "common" for more info) and puts the
finished product into "./output", which i then copy to the site.

of course, this is all flexible... TIMTOWTDI.

On Friday 28 December 2001 19:35, Dave Price wrote:
> where is the code?
> 
> aloha,
> dave
> 
> On Thu, Dec 27, 2001 at 08:21:40AM -0500, scott wrote:
> > -----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-----
> 
> 

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

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

iQA/AwUBPCtEAmkF5Bwr8hiXEQIy1QCeKfCzQtqWI1wdUymfzV4rVEXVEvsAoNGX
O+2JghV1L99j/LLIuBoLH2JN
=Ybnj
-----END PGP SIGNATURE-----

Reply via email to