<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>brool &#187; blog</title>
	<atom:link href="http://www.brool.com/index.php/category/blog/feed" rel="self" type="application/rss+xml" />
	<link>http://www.brool.com</link>
	<description>brool \brool\ (n.) : a low roar; a deep murmur or humming</description>
	<lastBuildDate>Fri, 20 Jan 2012 07:58:59 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
		<item>
		<title>Switching to WordPress</title>
		<link>http://www.brool.com/index.php/switching-to-wordpress</link>
		<comments>http://www.brool.com/index.php/switching-to-wordpress#comments</comments>
		<pubDate>Sat, 27 Aug 2005 05:28:10 +0000</pubDate>
		<dc:creator>tim</dc:creator>
				<category><![CDATA[blog]]></category>

		<guid isPermaLink="false">http://blog.brool.com/?p=55</guid>
		<description><![CDATA[Switched this over to WordPress 1.5. There&#8217;s an old joke about a programmer that decides to write a book, so he goes through and buys a printing press, selects the typeface, buys a binding machine, searches the world over for just the right paper with just the right color, and after getting all of that [...]]]></description>
			<content:encoded><![CDATA[<p>Switched this over to WordPress 1.5.</p>

<p>There&#8217;s an old joke about a programmer that decides to write a book, so he goes through and buys a printing press, selects the typeface, buys a binding machine, searches the world over for <em>just</em> the right paper with <em>just</em> the right color, and after getting all of that stuff set up in his basement, realizes that he has nothing to write about.</p>

<p>Blosxom was like that:  it was so easy to get caught up in novelty of setting it up and modifying it that it distracted me from actually writing about anything.  Not that Blosxom wasn&#8217;t great &#8212; it appealed to me immensely, with a very sparse and elegant approach to a blog.  The problem is that while I like &#8220;sparse&#8221; and &#8220;elegant,&#8221; it becomes slightly more of a pain when I need to add trackbacks or on-line/e-mail article submission or anything else that wasn&#8217;t in the basic Blosxom set, and it turned into a timesuck.  Things were not made easier by the fact that I&#8217;ve been working in Python lately, and as a result all the Perl has leaked out of my head.</p>

<p>The other thing is that Blosxom is really kind of a side hobby for the developer, and, as a result, does not get updated very often;  it may in fact be completely stalled now.  So, time to move to a different piece of software that is maybe larger and less elegant, but also doesn&#8217;t demand most of my time.</p>]]></content:encoded>
			<wfw:commentRss>http://www.brool.com/index.php/switching-to-wordpress/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Timesucks</title>
		<link>http://www.brool.com/index.php/timesucks</link>
		<comments>http://www.brool.com/index.php/timesucks#comments</comments>
		<pubDate>Tue, 24 Feb 2004 06:07:00 +0000</pubDate>
		<dc:creator>tim</dc:creator>
				<category><![CDATA[blog]]></category>

		<guid isPermaLink="false">http://blog.brool.com/blog/morechanges.html</guid>
		<description><![CDATA[Really, this whole tweaking-Blosxom thing is one enormous timesuck, a gaping black hole just devouring hours with nary a burp. Nonetheless: Modified the &#8220;find&#8221; plugin to show relevant context (i.e., not the entire story) and highlight the matching search terms Wrote sideblog to automatically parse the &#8220;links&#8221; directory and show them in the sidebar Modified [...]]]></description>
			<content:encoded><![CDATA[
<p>Really, this whole tweaking-Blosxom thing is one enormous timesuck,
a gaping black hole just devouring hours with nary a burp.</p>

<p>Nonetheless:</p>

<ul>
<li>Modified the &#8220;find&#8221; plugin to show relevant context (i.e., not the entire story) <i>and</i> highlight the matching search terms</li>
<li>Wrote sideblog to automatically parse the &#8220;links&#8221; directory and show them in the sidebar</li>
<li>Modified &#8220;entriescache&#8221; to parse canonical date format (i.e., 2002-10-01).</li>
</ul>

<p>Okay, this is <i>it</i>. I&#8217;m only touching .txt files for at least a month.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.brool.com/index.php/timesucks/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Blosxom, That Fickle Flower</title>
		<link>http://www.brool.com/index.php/blosxom-that-fickle-flower</link>
		<comments>http://www.brool.com/index.php/blosxom-that-fickle-flower#comments</comments>
		<pubDate>Sat, 21 Feb 2004 15:51:00 +0000</pubDate>
		<dc:creator>tim</dc:creator>
				<category><![CDATA[blog]]></category>

		<guid isPermaLink="false">http://blog.brool.com/blog/blosxom.html</guid>
		<description><![CDATA[So, for the past week I&#8217;ve been twiddling with my Blosxom configuration; not writing actual content, you understand, because content is really secondary: it&#8217;s all the CSS sheets and getting just the right functionality and layout and picking out aesthetically pleasing colors. Content? For the wimps and poseurs. I think that a blog is like [...]]]></description>
			<content:encoded><![CDATA[<p>So, for the past week I&#8217;ve been twiddling with my <a href="http://www.blosxom.com" class="external">Blosxom</a> configuration; not writing
actual <i>content</i>, you understand, because content is really
secondary: it&#8217;s all the CSS sheets and getting just the right
functionality and layout and picking out aesthetically pleasing
colors. Content? For the wimps and poseurs.</p>

<p>I think that a blog is like a toy, really, and it&#8217;s just one of
those things that people do, like puttering in the kitchen or making
model boats.  How many times have you gone to a site and seen that
it&#8217;s made a redesign, even though the old one was perfectly
reasonable? One can imagine a blogger that was publishing a book
through a dead-trees method:</p>

<blockquote>
<p>
<i>Public</i>: How is the book coming along?<br />

<i>Blogger</i>: Oh, it&#8217;s great!  I switched to a different font for
the text and chapter headings, one that is much cleaner and easier to
read.  I did a Keyword-In-Context index instead of an ordinary index,
that will make information <i>much</i> easier to find.  What else? Oh,
yes, I added a glossary and changed the color scheme of the
cover.<br />

<i>Public</i>: It&#8217;s almost done, then?<br />

<i>Blogger</i>: Oh, no, I&#8217;m still midway through Chapter 2. But it&#8217;ll
look <i>really good</i> when I finish, there is no doubt about
that.
</p>

</blockquote>

<p>At any rate, after using Blosxom for a week, the following stand
out:</p>

<ul>

<li>Still love that it&#8217;s so small</li>

<li>I like being able to use my editor rather than having to type in a
weblog-hosted input field</li>

<li>Builds dynamically, rather than requiring MoveableType-style
rebuilding of the entire site (there is the option of building
statically, but I don&#8217;t use it)</li>

<li>There should <i>really</i> be a default installation. I&#8217;ve been
adding plugins and having to modify them all over the place just to
get (what I consider to be) basic weblog functionality.  More of this
stuff came with MoveableType.</li>

</ul>

<p><b>More on default installations</b>. The thing is, my Perl is a
little rusty; partly, this is due to the nature of Perl, which has a
syntax so counter to naturalness that it requires relearning if you
don&#8217;t use it for a couple of months.  Java I will probably remember in
the old-folks&#8217; home, but Perl will be forgotten twice by my next
birthday.</p>

<p>I think the simple and austere nature of Blosxom is, in the end,
the thing that prevents it from widespread acceptability. It is really
a hacker&#8217;s toy, not something that is relatively easy to set up. To
make a basic site, you have to change the main CGI file &mdash; okay,
probably not too hard. But once you start making your weblog, you have
to deal with tons of issues, and sooner or later you are going to end
up staring at three lines of regular expressions in a plugin, trying
to figure out how to make it work.</p>

<p>For example: in figuring out how to put images in stories, I ended
up having to modify extensively the regexes in a plugin <i>and</i>
change my .htaccess &mdash; really, it seems like an inordinate amount
of work just to get images to work. This isn&#8217;t the only example,
either &mdash; there have been two or three times this week when I&#8217;ve
said to myself, &#8220;Why isn&#8217;t this <i>easy</i>?  Why isn&#8217;t it
<i>obvious</i>?&#8221;</p>

<p>But, when it&#8217;s running, it&#8217;s very sweet.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.brool.com/index.php/blosxom-that-fickle-flower/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Installing Blosxom</title>
		<link>http://www.brool.com/index.php/installing-blosxom</link>
		<comments>http://www.brool.com/index.php/installing-blosxom#comments</comments>
		<pubDate>Tue, 10 Feb 2004 08:00:00 +0000</pubDate>
		<dc:creator>tim</dc:creator>
				<category><![CDATA[blog]]></category>

		<guid isPermaLink="false">http://blog.brool.com/blog/install.html</guid>
		<description><![CDATA[Set up this blog once again, using Blosxom this time. Previously it was MoveableType, which was powerful but also seemed baroque&#8230; not to mention that I kept forgetting my administrative password and could never figure out how to get it back again. Frustrating, the second time. Although, to be fair, anything would seem baroque compared [...]]]></description>
			<content:encoded><![CDATA[<p>Set up this blog once again, using <a href="http://www.blosxom.com">Blosxom</a> this time.  Previously it
was <a href="http://moveabletype.org">MoveableType</a>, which was
powerful but also seemed baroque&#8230; not to mention that I kept
forgetting my administrative password and could never figure out how
to get it back again. Frustrating, the second time. Although, to be
fair, anything would seem baroque compared to the microness that is
Blossom: 150 lines of code? C&#8217;mon! Elegant doesn&#8217;t begin to describe
it.</p>

<p>Installation was quick but complicated by the fact that a) I
uploaded blosxom.cgi in binary mode, causing a &#8220;premature end of
script&#8221; error when anything was done, and b) when I uploaded the
plugins, I put a CGI extension on them &#8212; out of blind habit, I
guess.  The plugins do not work if they have an extension, but this
was only obvious to me <i>after</i> I spent the time debugging it
with:</p>

<pre class="code">
sub head {
    ${$_[2]}.= "more output here";
}
</pre>

<p>&#8230; all over the place. The thing with Blosxom is that several
times already I&#8217;ve had that
&#8220;this-is-incredibly-frustrating-I-know-I&#8217;m-being-stupid&#8221; experience
with it &#8212; usually because I look at the meager documentation and
not at the Perl code. For example, I added the hide plugin in order to
hide the colophon from the blog list&#8230; yet couldn&#8217;t get it to work&#8230;
tried it again&#8230;  and again&#8230; until I finally I figured out that,
contrary to the Perldoc, the hide file needs to be specified as a
regexp against the entire filename.  So, for example, to exclude the
&#8220;aboutme.txt&#8221; entry that is in your datadir, you need to specify:</p>

<blockquote class="codefrag">
*/aboutme.txt$
</blockquote>

<p>specifically, the following will <i>not</i> work:</p>

<blockquote class="codefrag">
aboutme.txt
</blockquote>

<p>Argh. Incredibly frustrating before, incredibly embarrassing
after.</p> 

<p>Other things that I ran into:</p>

<p>Use the <a href="http://www.blosxom.com/plugins/general/test.htm">test plugin</a>
at the start just to make sure that you really do have the plugins
working.  And, if they aren&#8217;t working, make sure that you weren&#8217;t an idiot like me and put an extension on them.</p>

<p>To enable <b>breadcrumbs</b>, just put $breadcrumbs::breadcrumbs in
your head.html file in your datadir.  That&#8217;s all that needs to be
done.</p>

<p><b>Writebacks</b> can be done any number of ways, but I just went for the
easiest: use interpolate_fancy, and put the following in your
story.html:</p>

<blockquote class="code">
    &lt;a name=&#8221;writeback&#8221;/&gt;<br />
    &lt;?$path_info unlike=&#8221;(^[^\.]+/?$)|(^$)|(index\.\w+$)&#8221;&gt;<br />
    $writeback::writebacks<br />
    &lt;/?&gt;<br />
</blockquote>

<p>This includes the writeback if and only if the individual story is being shown.  Put a link to the permalink + anchor in the story.html:</p>

<blockquote class="codefrag">
&lt;a href=&#8221;$url$path/$fn.$flavour#writeback&#8221;&gt;$writeback::count comment(s)&lt;/a&gt;
</blockquote>

<p>And that&#8217;s all you need to do&#8230;</p>

<p>The current plugin list:</p>

<ul>
<li><a href="http://www.blosxom.com/plugins/display/breadcrumbs.htm">breadcrumbs</a></li>
<li><a href="http://www.blosxom.com/plugins/calendar/calendar.htm">calendar</a></li>
<li><a href="http://www.blosxom.com/plugins/indexing/entries_cache.htm">entriescache</a></li>
<li><a href="http://www.blosxom.com/plugins/search/find.htm">find</a></li>
<li><a href="http://www.blosxom.com/plugins/files/hide.htm">hide</a></li>
<li><a href="http://www.blosxom.com/plugins/interpolate/interpolate_fancy.htm">interpolate_fancy</a></li>
<li><a href="http://www.blosxom.com/plugins/meta/meta.htm">meta</a>
</li><li><a href="http://www.blosxom.com/plugins/display/seemore.htm">seemore</a></li>
<li><a href="http://www.blosxom.com/plugins/input/writeback.htm">writeback</a></li>
</ul>

<p>Blosxom is highly recommended if you want a small, elegant blogging
tool.</p>]]></content:encoded>
			<wfw:commentRss>http://www.brool.com/index.php/installing-blosxom/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

