Wow, once you start tinkering with code, the worm can opens up. I made a few more adjustments to the RSS to JS demo due to the worminess of RSS 2.0 versus 1.0.
After comments in yesterday’s announced fix, I became aware that the code would not deal successfully with RSS 2.0 feeds that use <guid> for the item’s url and where <pubDate> is used to give the date the item was posted.
A few more logic checks and i think we have these bases covered, noting that the date/time format for <pubDate> (RSS 2.0) is different from <dc:date> (RSS 1.0).
Also I added something that makes inserts a “no title” string if there is no <title> listed for an item (seems like this happens with Radio feeds often??)
Hopefully that will tide this script over for a while…
“The worms crawl in thw worms crawl out, they turn your blood into saurkraut…” (old kids song)
The post "More Fixes for RSS2JS" was originally pulled like taffy through a needle's eye at CogDogBlog (http://cogdogblog.com/2003/10/more-fixes/) on October 14, 2003.