Navigation

home code debian images resume weblog wiki

Older news:

Dec 11, 2006:

Debian GNU/Linux

About lychnis.net
Jul 7, 2005:
Wanneer gebruik je -d en wanneer gebruik je -t?
Feb 18, 2005:
Mixing whitespace
Jan 10, 2005:
The difference between dogs and cats
Dec 22, 2004:
Sunrise in winter
Dec 12, 2004:
New site layout

Browse:


Blosxom and RSS/debian

Posted on 2004-01-05 by ivo :: /debian :: link

For planet Debian, this blog is being syndicated with others via RSS. It appears that Blosxom doesn't automatically add a release date+time (the pubDate tag) to the RSS document. Mark Howard mailed me how to fix this: in blosxom.cgi, find the line starting with rss story in the __DATA__ section, and change it to (all on one line):

rss story   <item>\n
    <title>$title</title>\n
    <pubDate>$dw, $da $mo $yr $ti:00 GMT</pubDate>\n
    <link>$url/$yr/$mo_num/$da#$fn</link>\n
    <description>$body</description>\n
  </item>\n