<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
     xmlns:content="http://purl.org/rss/1.0/modules/content/"
     xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
     xmlns:atom="http://www.w3.org/2005/Atom"
     xmlns:dc="http://purl.org/dc/elements/1.1/"
     xmlns:wfw="http://wellformedweb.org/CommentAPI/"
     >
  <channel>
    <title>Death of a Gremmie</title>
    <link>http://deathofagremmie.com</link>
    <description>Brian Neal's blog about programming.</description>
    <pubDate>Sun, 13 May 2012 18:30:33 GMT</pubDate>
    <generator>Blogofile</generator>
    <sy:updatePeriod>hourly</sy:updatePeriod>
    <sy:updateFrequency>1</sy:updateFrequency>
    <item>
      <title>Blog reboot with Blogofile</title>
      <link>http://deathofagremmie.com/2011/04/17/blog-reboot-with-blogofile</link>
      <pubDate>Sun, 17 Apr 2011 14:10:00 CDT</pubDate>
      <category><![CDATA[Blogofile]]></category>
      <category><![CDATA[Blogging]]></category>
      <guid isPermaLink="true">http://deathofagremmie.com/2011/04/17/blog-reboot-with-blogofile</guid>
      <description>Blog reboot with Blogofile</description>
      <content:encoded><![CDATA[<div class="document">
<p>Welcome to my new blog. I've been meaning to start blogging again for some time, especially since
the new version of <a class="reference external" href="http://surfguitar101.com">SurfGuitar101.com</a> went live almost two months ago. But the idea of dealing with
WordPress was putting me off. Don't get me wrong, WordPress really is a nice general purpose
blogging platform, but it didn't really suit me anymore.</p>
<p>I considered creating a new blog in <a class="reference external" href="http://djangoproject.com">Django</a>, but I really want to spend all my time and energy on
improving SurfGuitar101 and not tweaking my blog. I started thinking about doing something
simpler.</p>
<p>Almost by accident, I discovered <a class="reference external" href="http://blogofile.com">Blogofile</a> by seeing it mentioned in my Twitter feed. Blogofile is
a static blog generator written in Python. After playing with it for a while, I decided to use it
for a blog reboot. It is simple to use, Pythonic, and very configurable. The advantages for me to go
with a static blog are:</p>
<ol class="arabic simple">
<li>No more dealing with WordPress and plugin updates. To be fair, WordPress is very easy to update
these days. Plugins are still a pain, and are often needed to display source code.</li>
<li>I can write my blog posts in <a class="reference external" href="http://daringfireball.net/projects/markdown/">Markdown</a> or <a class="reference external" href="http://docutils.sourceforge.net/rst.html">reStructuredText</a> using my <a class="reference external" href="http://www.vim.org">favorite editor</a> instead
of some lame Javascript editor. Formatting source code is dead simple now.</li>
<li>All of my blog content is under version control.</li>
<li>Easier to work offline.</li>
<li>Easier to deploy. Very little (if any) server configuration.</li>
<li>I can use version control with a post-commit hook to deploy the site.</li>
</ol>
<p>Disadvantages:</p>
<ol class="arabic simple">
<li>Not as &quot;dynamic&quot;. For my blog, this isn't really a problem. Comments can be handled by a service
like <a class="reference external" href="http://disqus.com/">Disqus</a>.</li>
<li>Regenerating the entire site can take time. This is only an issue if you have a huge blog with
years of content. A fresh blog takes a fraction of a second to build, and I don't anticipate
this affecting me for some time, if ever. I suspect Blogofile will be improved to include caching
and smarter rebuilds in the future.</li>
</ol>
<p>It should be noted that Blogofile seems to require Python 2.6 or later. My production server is
still running 2.5, and I can't easily change this for a while. This really only means I can't use
Mercurial with a <em>changegroup</em> hook to automatically deploy the site. This should only be a temporary
issue; I hope to upgrade the server in the future.</p>
<p>Blogofile comes with some scripts for importing WordPress blogs. Looking over my old posts, some of
them make me cringe. I think I'll save importing them for a rainy day.</p>
<p>The bottom line is, this style of blogging suits me as a programmer. I get to use all the same
tools I use to write code: a good text editor, the same markup I use for documentation, and version
control. Deployment is a snap, and I don't have a database or complicated server setup to maintain.
Hopefully this means I will blog more.</p>
<p>Finally, I'd like to give a shout-out to my friend <a class="reference external" href="http://trevoroke.com/2011/04/12/converting-to-jekyll.html">Trevor Oke</a> who just switched to a static blog
for many of the same reasons.</p>
</div>
]]></content:encoded>
    </item>
  </channel>
</rss>

