"Laguna" is the name of the custom blogging engine I use for this web site.
I've gotten email from several people who were interested to see the code, and there's no real reason not to post it, so here is Laguna 2.
A few notes:
I don't make any claims that this is pretty, elegant, magical, or even useful code. It works for me, but doesn't come with tech support. :) I threw it together in a couple hours, so don't get too excited.
It's written in PHP 5, but I think the only thing I use that's not in PHP 4 is the file_put_contents() function, which is easily simulated.
The pages are templatized, but the RSS feed is not currently. It's got a bunch of stevenf stuff hardcoded into it, which you'd need to edit.
To use, just stick a bunch of Markdown formatted .txt files in the "pages" directory, and run the publish script. It will generate a main page with the last few entries, an equivalent RSS feed, an archive index of all pages, and individual archive pages for each entry.
All the configuration variables are at the top of publish.php, and are fairly self-explanatory. It's just a set of filesystem paths and URLs.
With a little work, you can hack W2 to work as an editor/admin tool for Laguna. This is left as an exercise for the reader.
There shouldn't be anything exploitable in the code, since it just generates static HTML pages. But if you do find something, please don't hack my gibson.
Email me if you do something cool with it!