|
|
|||||||||||||||||||||||||||||||||||||||||||||||||||
After a few years of using blojsom, I finally got around to writing my own blogging system, like everyone else (I guess it's the modern equivalent of a bug tracker).
But instead of a full-blown Java webapp, I went old-school. The code still pulls in plain HTML entries from the filesystem like blojsom/bloxsom. But then, after a bit of sorting, bucketing into categories, and whatnot, the entries get fed through a set of FreeMarker templates to produce static HTML pages. For some examples see the calendar, archives, and Atom 1.0 feed.
There were a bunch of reasons for going this route:
Re-generating and rsyncing the entire blog to my very remote server via Ant takes about 10 seconds, which is not much more time than reloading a webapp in Tomcat on my local machine. Really the only downside to running a static-only blog is that you of course lose the interactive bits: comments, trackbacks, searching, etc. Searching I'll leave to Google, and as for comments, well...send me an email.