Blosxom hack

Well after a bit of reading through the code for Blosxom I’ve tracked down the right place to put a temporary hack in to create the required entry into the RSS output. It lacks the seconds information on the time so I have manually set them to :00 (not a major issue, but untidy to my mind). There also doesn’t appear to be a suitable variable to use for the timezone information. For now I’ve done another nasty manual configuration of +0100, but clearly this isn’t going to work well once the clocks go back again! The question is will this hack actually work beyond a visual inspection of the output!

Here’s the diff from the original Blosxom code for anyone interested:

436c436
< rss story   <item>\n   <title>$title</title>\n   <link>$url/$yr/$mo_num/$da#$fn
</link>\n<description>$body</description>\n   </item>\n
---
> rss story   <item>\n   <title>$title</title>\n   <link>$url/$yr/$mo_num/$da#$fn
</link>\n<description>$body</description>\n   <pubDate>$dw, $da $mo $yr $ti:00 +0
100</pubDate>\n   </item>\n

Leave a Reply

Your email address will not be published. Required fields are marked *