Fancy-Shmancy

A big part of my new design is the use a new Blosxom plugin, interpolate_fancy. This plugin, by Blosxom author Rael Dornfest, replaces the default Blosxom interpolation routine with a much more powerful version, allowing many forms of conditionals in addition to straight variable substitution. It also changes the interpolation syntax from a perl-style $var to an XML-like .

The POD documentation for interpolate fancy lists all of the valid syntactical forms, including:

* Unconditionally and recursively (backward compatibility with Blosxom’s standard interpolation)

e.g. include a link to the story’s path using various template variables.

$path

However, this functionality is not implemented. Instead, I converted my templates to the new format. However, my RSS feed uses the flavour templates built into Blosxom (with a couple of tweaks). This flavour, just like the built in .html flavour, use the original interpolation syntax. The net result of which is that my rss feed is broken.

For now, I will make a standalone RSS flavour, to get the feed working again. I will also post this issue to the mailing list, and see if interpolate_fancy should change.

UPDATE: The rss feed is working again. Instead of implementing the built in flavours as external flavours, I enhanced interpolate_fancy to contain updated versions of blosxom’s built-in templates. I’ll post my version here a little later.

You can leave a response, or trackback from your own site.

Leave a Reply