The Geekess   Linux, bicycling, open source, gardening, amateur rockets, and other seemingly unrelated hobbies.

Pyblosxom folksonomy.py tags plugin not working

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...

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.

Edit: 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/

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

py['ignore_tags'] = []
py['relatedstories_header'] = ""

What a mess! None of it is documented in the plugin file.

Tags: , | link | 0 comment(s)



Name:


E-mail:


URL:


Comment: