OMG That Blog is Old School!
Finally I'm free of my modern blog software that was slowing me down. I want to revisit some old articles and fix up some things. Doing it through a web interface seems less than idea for me. I like to work in my simple text editor on text files with all my familiar programming tools handy.
Now I have a text file for each article on my computer. For example, the text file for this article starts
Title: OMG This Blog is Old School! Published: November 1, 2008 Content-Type: text/html <p>Finally I'm free of my old Blog software.</p>
Yep, it is just a text file with headers and a body like an HTTP or STMP document. Simple.
The comment form submits to a Perl CGI script and I can add approved comments to each article manually. If this article has any comments they are just added to the article file separated by a row of equals symbols. For example,
Title: OMG This Blog is Old School! Published: November 1, 2008 Content-Type: text/html <p>Finally I'm free of my old Blog software.</p> ======================================================= Name: Alpha Date: 2008-11-01T10:00:08 Content-Type: text/html <p>I like the stripped back look. It lets the content breath.</p> ======================================================= Name: Beta Url: http://beta.example.com/ Date: 2009-11-01T11:43:08 Content-Type: text/html <p>Thumbs up!</p>
A build script generates the whole site from these files. The build file is only about 200 lines of code! My blog is no longer a giant Ruby on Rails web application gobbling up memory on my server. The site is just a bunch of static files so there is no big worry about a high traffic day.
More features on this blog will appear as time goes by. I'd like to have a page like a book index organized by article tags. I may also partner with Google for a search utility. I look forward to tuning things up a bit with some extra helper scripts.
Have something to write? Comment on this article.