Linuxlore

Probably more than just Linux

  • Home
  • About

Blosxom hack

Author: Paul Tansom

avatar

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
Digg This
Reddit This
Stumble Now!
Buzz This
Vote on DZone
Share on Facebook
Bookmark this on Delicious
Kick It on DotNetKicks.com
Shout it
Share on LinkedIn
Bookmark this on Technorati
Post on Twitter
Google Buzz (aka. Google Reader)

Tags: Blosxom, RSS

This entry was posted on Thursday, September 22nd, 2005 at 4:21 pm and is filed under Web. You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.

Leave a Reply

  • Categories

    • Computers (38)
      • Linux (14)
        • Ubuntu (6)
      • Microsoft (13)
        • Windows (12)
          • Windows 7 (3)
      • Retro (3)
      • Web (8)
    • Family (1)
    • General (9)
    • Sailing (4)
    • Theatre (1)
  • What I'm Doing...

    • @e_nation @dpoyser Good point, I hadn't thought of that, possibly not for just contact details & standard regs for anything else at a guess. 2 days ago
    • Hmm, lost the #watercoolermoment for a bit then as Hootsuite threw a wobbly :( 2 days ago
    • VOIP is a good cost effective way to get a landline number without the overhead of a new phone line #watercoolermoment 2 days ago
    • More updates...
  • Tags

    ADSL Amiga Amstrad Arnor Atom Blosxom Commodore CPC Debian dual screen Firefox HantsLUG HP HTML Inland Revenue Langstone Linux mail monitor office OpenOffice OS/2 Planet printers process Protext reorganisation Retro Rombo RSS sail sci-fi seal Sinclair Spectrum time management Tudor Ubuntu USB Vista wiki Windows wireless XP ZX81
  • Categories

  • Links

    • /aptanet/
    • PLSA
    • Sailsite Forums
    • Son's site – Aaron
    • Son's site – Scott
    • Tudor SC
    • Wild Langstone
Avatars by Sterling Adventures

Copyright © 2012 - Linuxlore | Entries (RSS) | Comments (RSS)

WordPress theme designed by web design