[KLUG Members] Perl script for website organization

Patrick Stockton members@kalamazoolinux.org
Fri, 16 Nov 2001 09:12:53 -0500


Instead of a perl script I'd look at learning PHP.  Very simple to learn yet
very powerful.

Your main page would look something like

<include header.php>
<include body.php>
<include footer.php>

(yes I know my syntax is completely wrong, it's just an example)

Then if you wanted to put a Christmas greeting on the top of all your pages
you make one change to the header.php page and then every page that
referenced the header page would now have that new greeting.

----- Original Message -----
From: "Paul VandenBosch" <admin@cruisenews.net>
To: <members@kalamazoolinux.org>
Sent: Friday, November 16, 2001 8:52 AM
Subject: [KLUG Members] Perl script for website organization


> My personal homepage is getting too big to hand code it anymore.  I am
> looking for a script (could be perl or bash) that will let me break html
> pages into header, body, subject matter and footer files and let me edit
the
> individual files rather than scrolling through one big page.  Then at a
> command, the script would put all the individual files together into one
html
> file so I could ftp the complete file up to the server.
>
> Does anyone know of a script that does something like this?  I don't know
> enough to write one myself yet, but if I had one to start with I might be
> able to hack it to make it do what I want it to.
>
> Thanks!
>
> Paul V
> http://cruisenews.net
> _______________________________________________
> Members mailing list
> Members@kalamazoolinux.org
>