Entries Tagged as 'debian'

Blosxom and RSS

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

Warning: file_get_contents(http:) [function.file-get-contents]: failed to open stream: No such file or directory in /var/www/lychnis.net/docroot/blog/wp-includes/class-feed.php on line 97