Mon, 28 Jun 2004

PyBlosxom and XHTML

As I said in a previous post, I spent some time cleaning up my PyBlosxom flavour to make it XHTML 1.1 compliant. I also decided to start using my vanity domain a bit better, and moved the blog to the webserver's rootdir. In order to maintain backwards compatibility and not break a lot of links to my blog out there, I installed a Redirect rule so calls to the old dir look at the new dir, and that seems to work.

The main problem is now that I'm not too sure about how to solve the application/xhtml+xml problem with Internet Explorer. The mod_rewrite rules sjoerd and thom shared don't work too well for pyblosxom:

RewriteEngine On
RewriteCond %{HTTP_ACCEPT} !application/xhtml\+xml
RewriteCond %{REQUEST_URI} \.xhtml$
RewriteRule .* - "[T=text/html]"

It's easy to have URLs like /blog/2004/Jun/28, and if I understand correctly, the Redirect won't work with this type of URLs. I also don't know if it's possible to make "xhtml" the default flavour in pyblosxom, instead of "html". I'm actually not sure if the permalink for this entry "should" end up with .html, .xhtml, or no suffix at all. Suggestions welcome. :)

GNU mailutils and nano releases

It's becoming a tradition that my upstreams coordinate the releases of the Debian packages I maintain. GNU mailutils 0.5 and GNU nano 1.2.4 have been released in the last two days.

With mailutils 0.5, Jeff and I have decided to stop packaging CVS snapshots in Debian, as the software is now quite stable and usable. It surely needs some documentation love, but it'll get there. <plug>MH users might want to test mailutils-mh, which is GNU's replacement for the MH package</plug>.

nano 1.2.4 is a minor update, with a few bugfixes, given 1.2 has been in maintenance mode for about one year and a half. In the devel branch, nano 1.3.3 should be released RSN, and the next version should finally have sane UTF-8 support. Very probably not soon enough to ship with Sarge, though.