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.
Here's my post-update script (where $blog is the directory of your local repository):
#!/bin/sh
cd $blog
unset GIT_DIR
git-fetch origin
git-reset --hard origin/master
| link | 0 comment(s)
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.
| link | 0 comment(s)

