<?xml version="1.0" encoding="utf-8"?>
<!-- name="generator" content="pyblosxom/1.4.2 8/16/2007" -->
<!DOCTYPE rss PUBLIC "-//Netscape Communications//DTD RSS 0.91//EN" "http://my.netscape.com/publish/formats/rss-0.91.dtd">

<rss version="0.91">
<channel>
<title>The Geekess   </title>
<link>http://sarah.thesharps.us</link>
<description>Linux, bicycling, open source, gardening, amateur rockets, and other seemingly unrelated hobbies.</description>
<language>en</language>
<item>
  <title>reCaptcha Comments work!</title>
  <link>http://sarah.thesharps.us/2008-12-07-13-14.html</link>
  <description><![CDATA[
<p><img
src="http://lh5.ggpht.com/_KnE2M8e3X8Q/STw6walH8nI/AAAAAAAABMA/vSyq6lOidNo/s400/smallCaptchaSpaceWithRoughAlpha.png"
/></a></p>

<p>I now have <a href="http://recaptcha.net/">reCaptcha</a> comment verification
working on this blog, which means comments are re-enabled.  This is my first
time dabbling with python, so the results are not polished. :)  Details and
patches below.</p>

<p><p class="readmore"><a href="http://sarah.thesharps.us/2008-12-07-13-14.rss">Read more &raquo;</a></p>
]]></description>
</item>

<item>
  <title>Folksonomy plugin fix</title>
  <link>http://sarah.thesharps.us/2008-07-26-05-52.html</link>
  <description><![CDATA[
<p>Jamey helped me debug a PyBlosxom plugin problem this morning. The Folksonomy
plugin was throwing errors when it was asked to generate an RSS feed for a
specific tag (e.g. <a
href="http://sarah.thesharps.us/tags/pyblosxom/index.rss">http://sarah.thesharps.us/tags/pyblosxom/index.rss</a>).</p>

<p>The lighttpd error log showed this:</p>

<pre><code>
Traceback (most recent call last):
  File "/usr/lib/cgi-bin/pyblosxom.cgi", line 96, in ?
    p.run()
  File "/var/lib/python-support/python2.4/Pyblosxom/pyblosxom.py",
    line 203, in run
    blosxom_handler(self._request)
  File "/var/lib/python-support/python2.4/Pyblosxom/pyblosxom.py",
    line 984, in blosxom_handler
    defaultfunc=blosxom_file_list_handler)
  File "/var/lib/python-support/python2.4/Pyblosxom/tools.py",
    line 759, in run_callback
    output = func(input)
  File "/home/sarah/blog/plugins/folksonomy.py",
    line 482, in cb_filelist
    return getEntriesForTag( tag, args )
  File "/home/sarah/blog/plugins/folksonomy.py",
    line 492, in getEntriesForTag
    for entry_location in entrymap[tag]:
KeyError: 'open source/index'
</code></pre>

<p>The code that generates the string to search the tag entry list wasn't stripping
off the "/index" part of the URL.  The patch Jamey wrote <a
href="http://minilop.net/~sarah/blog-stuff/Bug-fix-for-folksonomy-tags-plugin.patch">is
here</a>.  I should send in the patch to the author too...</p>

]]></description>
</item>

<item>
  <title>Comments enabled</title>
  <link>http://sarah.thesharps.us/2008-05-14-13-32.html</link>
  <description><![CDATA[
<p>Comments are now enabled on my blog.  I ran into some issues with configuring
the pybloxsom comments plugin...
<p class="readmore"><a href="http://sarah.thesharps.us/2008-05-14-13-32.rss">Read more &raquo;</a></p>
]]></description>
</item>

<item>
  <title>New Cherry Flavour!</title>
  <link>http://sarah.thesharps.us/2008-04-20-14-08.html</link>
  <description><![CDATA[
<p>I just switched my blog to a new cherry blossom flavor:
<center>
<a
href="http://picasaweb.google.com/saharabeara/BlogPics/photo#5191439004019493538"><img
src="http://lh4.ggpht.com/saharabeara/SAuyRMuwiqI/AAAAAAAAAJo/WWsAuOaSyiI/s288/step2-flavors-cherry.png"
/></a>
</center></p>

<p>I took the blossom picture this morning.  The picture is of the cherry tree by my parents'
house.  I have fond memories of climbing that tree. :)  The picture editing
and flavour file setup took about three hours total.  Most of that time
was spent in the Gimp.  All the flavour files are <a
href="http://minilop.net/~sarah/blog-stuff/cherry-flav.tar.gz">available for
download.</a></p>

]]></description>
</item>

<item>
  <title>Pyblosxom TODO</title>
  <link>http://sarah.thesharps.us/2008-03-30-00-28.html</link>
  <description><![CDATA[
<p>Things I still need to install and test before I decide on Pyblosxom as my
blogging platform:</p>

<ul>
<li>comments and captchas</li>
<li><strike>the readmore plugin</strike> (because my entries are often long)</li>
</ul>

<p>There's also a very long list of things I'd like to do if I decide on Pyblosxom:
<p class="readmore"><a href="http://sarah.thesharps.us/2008-03-30-00-28.rss">Read more &raquo;</a></p>
]]></description>
</item>

<item>
  <title>Autumn flavor installed</title>
  <link>http://sarah.thesharps.us/2008-03-30-00-16.html</link>
  <description><![CDATA[
<p>Successfully got one flavor installed and tweaked.  A flavor (or "flavour" if
you're British) is a skin for your blog.  There's a default flavor, but you can
also change the flavor you see by passing some variable to the cgi script.  I
forget what it is.</p>

<p>Anyway, I think the autumn flavor is really awesome.  I think the footer file is
constraining the way the calendar and tag cloud look.  I'll have to dink
around with other flavors and see what they do differently.  But it's really
pretty!  I took a screenshot, just in case I change the flavor later:</p>

<p><a
href="http://picasaweb.google.com/saharabeara/BlogPics/photo#5183431589526751858"><img
src="http://lh4.google.com/saharabeara/R-8_kVNHynI/AAAAAAAAAIw/73TenlnLBzI/s400/step1-flavors-autumn.png"
/></a></p>

<p>/me needs sleep.</p>

]]></description>
</item>

<item>
  <title>Now with even more Git!</title>
  <link>http://sarah.thesharps.us/2008-03-29-15-00.html</link>
  <description><![CDATA[
<p>I'm currently setting up my remote git repository for my blog.  I have to setup
a post-update script, so that changes to the remote repo will be reflected in
the local checkout of my blog (which is on the same server, coincidentally).
It's a bit of a hack, but PyBlosxom needs the actual files around somewhere on
the server.</p>

<p>Here's my post-update script (where <code>$blog</code> is the directory of your local repository):</p>

<p>&#35;!/bin/sh</p>

<pre><code>cd $blog
unset GIT_DIR
git-fetch origin
git-reset --hard origin/master
</code></pre>

]]></description>
</item>

<item>
  <title>Pyblosxom folksonomy.py tags plugin not working</title>
  <link>http://sarah.thesharps.us/2008-03-29-10-00.html</link>
  <description><![CDATA[
<p>Still trying to get the tagging plugin to work.  I'm not sure what I'm doing wrong.
The plugin is in my plugin directory (renamed to tags-sorted.py instead of tags-sorted.txt).
I've set the tags URL to--oops, there's the problem, I needed a trailing slash at the end of the URL.
Let's reload and see if that's really the problem...</p>

<p>Nope.  I needed to add $tags to my html flavor's story.flav file.  I'm still not seeing any entries
in the tags folders that I created; I'm not sure what's up with that.  I should probably get a better html flavor
before I attempt to add a tag cloud.</p>

<p><b>Edit:</b> I fixed it!  I didn't understand what tag_url was supposed to be.  A lot of people have
Apache mod_rewrite for their blog urls, and they assume that everyone else does too.
For a beginning install, tag_url should be the URL for the pyblosxom cgi script, followed by /tags/.
E.g. http://minilop.net/cgi-bin/pyblosxom.cgi/tags/</p>

<p>Oh, and you need to add two variables to your config.py or sometimes looking up a tag will fail:</p>

<pre><code>py['ignore_tags'] = []
py['relatedstories_header'] = ""
</code></pre>

<p>What a mess!  None of it is documented in the plugin file.</p>

]]></description>
</item>

<item>
  <title>Now with more Git!</title>
  <link>http://sarah.thesharps.us/2008-03-28-23-09.html</link>
  <description><![CDATA[
<p>My blog entries are now under revision control with git.
This is becoming most civilized.</p>

]]></description>
</item>

<item>
  <title>This is my second post</title>
  <link>http://sarah.thesharps.us/2008-03-28-21-22.html</link>
  <description><![CDATA[
<p>This is my second post with PyBlosxom, and I'm using the markdown plugin.  Here's some markdown formated stuff:</p>

<p>My proposed garden layout (which has since undergone a couple revisions):</p>

<p><center><img src="http://lh4.google.com/saharabeara/R8nlbqSsCgI/AAAAAAAAAG0/7gOdByLZTvc/s288/garden-layout-topview.png" alt="My proposed garden layout" title="" /></center></p>

]]></description>
</item>

<item>
  <title>Gaps in the Pyblosxom install instructions</title>
  <link>http://sarah.thesharps.us/2008-03-28-20-00.html</link>
  <description><![CDATA[
<p>I just installed Pyblosxom on Jamey's Debian server, and now I'm posting my
installation notes on my new Pyblosxom blog!</p>

<p>Unfortunately, the Debian package for Pyblosxom has been orphaned.  The package
version is 1.3.2, and the current Pyblosxom version is 1.4.3.  Someone submitted
a bug report about the lack of updates, and included a link to a package they'd
updated to 1.4.2.  This was before the package was orphaned, so no one could
sponsor an upload of the new package.  I grabbed the 1.4.2 .deb file and
installed it with <code>dpkg -i</code>.  Works great so far.</p>

<p>There are two installation pages on the Pyblosxom website that I found relevant:
the <a
href="http://pyblosxom.sourceforge.net/1.4/manual/install_debian.html">Debian
install instructions</a>, and the <a
href="http://pyblosxom.sourceforge.net/1.4/manual/install_cgi.html">CGI
install instructions</a>.</p>

<p>The Debian instructions are very short, and it didn't mention that the Debian
package installs flavours in
<code>/usr/share/python-support/pyblosxom/Pyblosxom/flavours</code>.  I copied those files
to my homedir so that I could modify the HTML flavor and change the look of my
blog.</p>

<p>The CGI instructions didn't mention that flavourdir is a string, not a list of
strings.  So it can only be one directory, not multiple directories.  If you
wanted to keep the default Debian flavour directory, you would put this line in
your <code>/etc/pyblosxom/config.py</code>:</p>

<pre><code>py["flavourdir"] = "/usr/share/python-support/pyblosxom/Pyblosxom/flavours"
</code></pre>

<p>My blog URL is currently at <code>http://minilop.net/cgi-bin/pyblosxom.cgi</code>  The
installation instructions talk about using Apache mod_rewrite to change your
blog URL to something more sane, but you really don't need Apache.  Jamey's
server runs LightTPD, and he's said you can do similar URL redirections with it.</p>

<p>Several times during the install, I had to check for Pyblosxom error messages in
<code>/var/log/lighttpd/error.log</code>.</p>

]]></description>
</item>

<item>
  <title>This is my first post</title>
  <link>http://sarah.thesharps.us/2008-03-27-12-00.html</link>
  <description><![CDATA[
<p>
    This is my first post with PyBlosxom.  The date for this post is part of the filename, and the pyfilenamemtime plugin will
    make PyBlosxom use that date for displaying the entry, rather than the file timestamp.
</p>

]]></description>
</item>

</channel>
</rss>
