Little T in the Cog my blog

New Blog!

2011-10-12

Welcome to the new look toki.co.nz! Actually, it looks pretty much like the old one but it's now backed by a CMS. I have been wanting to do this for a while now but never found one I liked - most are written in php and are mysql backed (eg Wordpress) which leads to all sorts of fun when it comes to vulnerabilities!

A few days ago I discovered BlazeBlogger, a CMS that uses flat files and builds the HTML from a template. It's actually "just" a collection of perl scripts that do all the heavy lifting but the result is a nice static HTML page each time I update my blog which I can still use my old stylesheet on to have it look the same (although as you can see I've added a bit of colour as this blog was looking a little, uh, black and white). Another thing I like about BlazeBlogger is there is no admin page or anything like that, rather you do all the blogging simply from the command line ("blaze add" for a new post, "blaze edit 5" to edit the 5th post etc) and it simply fires up your favourite editor and you're away. You can still embed HTML in your posts if you so desire but you certainly don't have to. This requires access to the command line to add/edit/remove blog posts which is no biggie for me as I'm used to doing that anyway and the resultant HTML is almost the same as what I was doing by hand (now I've tweaked the template) so overall I'm really happy with this software.

Yup, this is proper geek blogging - from the command line using vi!