New blog generator

I’ve got a new blog generator in the works. It generates blog entry pages so far, and will soon do monthly index pages, navigation, and so on. It’s a couple of hundred lines of Perl and a few pre-existing CPAN modules at the moment, and it’s been a good spray of WD-40 on my Perl skills.

The benefits are many — it parses simple files and outputs proper XHTML (provided that the files it sources don’t break the rules). It’s perhaps a bit pedantic for general use, but I like it just fine. Another benefit is that I maintain all of the expressiveness of XHTML with CSS2.

I implemented a small templating module to make this run, and may actually release it to CPAN as Text::Template::Trivial or something like that. I’ll have to get Module::Starter involved.

Advertisements

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s