David Freeman wrote:
On Mon, 06 Aug 2001 10:02:33 -0400 Alexis Lee wrote:
AFA designing your source goes, I'd suggest something like this:
<snip>
cat head body tail > index.html :o)
This would work, except that you'd need files: 'head, split, tail' plus two files per page: 'sidebar, content'. For 6 pages, this is 15 files.
My way, it would be 7. It would also be easier to get extra candy in, like a datestamp on every file. (You'd have to split tail into tail1 and tail2, then cat tail1 >> product.html; date >> product.html; cat tail2
product.html)
Both methods could use make to good effect. It is indeed a wonderful program.
I think this is the most sensible suggestion sofar, I am just skeptical about PHP, my past history with it is not good (3 weeks trying (and failing) to install it last year!
The dox in the PHP manual were good enough for me to do it in maybe half a day... then it took me another 1.5 days to get all the modules I wanted compiled in properly (kept changing my mind).
You could, of course, just grab the mod_php RPMs from one of Mandrake's mirrors. It's bloated for what you want because it has everything compiled in, but then you're not going to be running a production site just an HTML factory.
Alexis