in reply to Off-Line Content Management Scheme?

I use M4 and make.

M4 is a venerable, standard macro language and make is great for keeping everything in sync. It's also really easy to learn.

define(`_foo',`<H1>$1</H1>')dnl _foo(`That was easy')dnl

Now you know how to use M4.

Okay, maybe it's not that simple...

Here's the link to the manual for Gnu's M4. http://www.gnu.org/software/m4/manual/html_node/index.html

It's great for writing re-usable chunks (_my_header(), _my_footer(), etc..). Not so great for complex formatting (e.g., automatically generating a table of contents from all your different sections)

-Pileofrogs

Replies are listed 'Best First'.
Re^2: Off-Line Content Management Scheme?
by Dogma (Pilgrim) on Jan 05, 2006 at 06:24 UTC
    I don't want to put down a solution that is working well for you but M4 is a terrible choise for website management when there are so many highly capable tool kits that are dedicated to the task. As far as I know, there are no robost toolkits for generating a complete site of HTML page with M4. There's nothing wrong with rolling your own but that's hardly a productive use of one's time these days...

    For a beginner I would recommend something like the Template Toolkit which is well documentend and has a large enough community around it to help beginners.

    Cheers,

    -J