Mast Kalandar

bandar's colander of random jamun aur aam

Wed, 14 May 2008

< Recovering from a corrupted flash on Debian SLUG | · | Understanding Large Numbers >

Adding comments to the blog

Tags: , [link] [comments (1)] [raw]

The configuration of this blog has been explained earlier. There was one thing still missing from this blog --- comments.

The comments plugin that comes in the contrib tarball from the pyblosxom web site is well-documented and easy enough to install. One modification I made is to remove all the javascript stuff since I don't understand the latter.

After all this one still needs some sort of authentication to prevent complete rubbish from cluttering the comments section. The natural candidate was openid which is supported by a plugin from

This seemed easy enough to configure except that there is no version of these libraries in Debian "etch" (which is what runs). So I downloaded the latest 2.x.x version of these libraries. Since I rarely install my own python libraries, it took me a while to figure out that I need to run

python install --home $HOME

in order to install it in my home directory. This also needed the codebase variable to be set in

Unfortunately, this still did not work. The plugin actually uses the API from the older 2.0.x version of the python-openid libraries.

Some error messages from our web server led me onto a completely different track and I thought that the rewrite rules from the .htaccess file were in error. This was a McGuffin and I had to revert to the comment-free version in order to clean-up the mess. Thank goodness for git!

The plugin currently works with the 2.0.x version of the libraries which may be mildly worse than the 2.1.x version.

Some other things which are not working are e-mail/rdf notification of comments. I don't know if I will bother to fix that.

comment bubble Jon, Wed May 14 14:36:40 2008 permanent link

Congrats on getting it working, and thanks for posting the journey! I've been looking at moving to pyblosxom (from blosxom) in order to have comments, and I gave up somewhere in this process due to the stumbling blocks you have mentioned. I'm currently looking at ikiwiki but that's taking a while to beat into the shape I want so I might follow your recipe here. Cheers!

E-mail (will not be displayed)
OpenID (required)
Simple HTML and wiki markup are allowed.


< May 2008 >
     1 2 3
4 5 6 7 8 910

2015, 2014, 2013, 2012, 2011, 2010, 2009, 2008, 2007, 2006, 2005, 2004, 2003, 2002, 2001, 2000, 1999, 1997, 1995,