Rss

RSS Begat RSS Begat RSS

Sean Palmer and Christopher Schmidt have released a new draft of RSS 1.1, an independent effort to replace the RDF-based syndication format RSS 1.0. When I covered this subject originally, the spec's subtitle -- which dubbed it an "initial draft" -- threw me off about how long it has been under development. As the Rough Guide to RSS 1.1 explains, Palmer has been working on his proposal since at least September 2002. I don't heart RDF, so I have no opinion on whether 1.1 should replace 1.0. I ... (read more)

Multiple Item Enclosures in RSS 2.0

I'm gathering information for the RSS Advisory Board on the issue of multiple item enclosures in an RSS 2.0 feed. On first reading, it appears to me that an item must contain either zero or one enclosure elements, but I have to do more research about how existing implementors have interpreted the specification. I created a test feed that contains a single item with two MP3 enclosures. Surprisingly, this feed validates in the Feed Validator and RSS Validator. I'd like to find out if any ... (read more)

Don't Follow the Script

When his weblog moved in March, Michael Fioritto put JavaScript in the first item of his RSS feed to redirect visitors to his new site.The news aggregator AmphetaDesk read the script tag and executed the redirect, making it impossible for me to use the software until I unsubscribed from his feed, which probably wasn't the effect he was going for.An aggregator that doesn't strip out script and other dangerous tags is a security exploit waiting to happen. ... (read more)

Elegant Solution to Non-Existent Problem

An article by Mark Pilgrim in XML.Com states that "Really Simple Syndication is really only simple if you're doing it incorrectly," using the guid element as an example. That's a bogus claim to make about guid, a globally unique string that serves a simple purpose: Making sure that an RSS reader doesn't show the same item twice. Pilgrim's article provides a nice tutorial on how to normalize URLs for use as guid values, but he neglects to mention a salient fact: This solves a problem that no one ... (read more)

Put Aggregators on a Diet

As a host containing thousands of weblogs, Weblogs.Com has to deal with one of the big scaling issues with syndication feeds: Once an aggregator subscribes to a feed, it could be checking the file multiple times a day, even when the site hasn't changed in years. For example, Java.Weblogs.Com hasn't been updated since 2001. A single user who subscribes to its RSS feed could be requesting that 13K file a dozen or more times a day. If the site has 20 subscribers, they could potentially be using ... (read more)

Wanted: Gluttonous RSS Feeders

Using MySQL and PHP, I'm cobbling together a server-based RSS aggregator/publisher that makes it insanely fast to skim feeds, choosing items for publication without much descriptive text or editing. The code makes use of two terrific open source PHP projects: the Magpie RSS and Atom parser and Edd Dumbill's XML-RPC for PHP. Erik Thauvin uses this approach on Linkblog, checking a mind-boggling 1,600 feeds for technology and programming links and choosing the best 15-20 items each day. His site ... (read more)

My Agenda: Really Simple

Now that I've accomplished something tangible as a member of the RSS Advisory Board -- when the history books are written, let this serve as notice that Rogers Cadenhead authored the RSS 2.0 example file -- I think it's time to reveal my hidden agenda. I'm finding that I can't talk about RSS or Atom any more without arousing suspicion about my motives. I joined the RSS board for three reasons, not counting ego gratification: RSS 2.0 is a simple, successful format that I use all the time as a ... (read more)

I Shot the Albatross

When I wrote a few months ago about a disclosure issue in The Guardian, I didn't expect that the complaint would still be rattling around on weblogs two months later. Perhaps I would feel more strongly if I were quoted in the piece, but to me it's simply a bad judgment call that should have been made differently at the time. I don't want to hang it around the writer's neck like an albatross. I am surprised that editors at The Guardian either don't feel like it was an error or won't admit it, ... (read more)

Feeding the Feed Validator

I submitted a change to the Feed Validator documentation that was picked up by Sam Ruby this evening: a new answer to the question "How do I make Movable Type output valid RSS 2.0?" that includes a revised RSS 2.0 template. Some old RSS 0.91/2.0 templates in Movable Type produce invalid RSS because date values aren't correctly formatted. The new RSS 2.0 template in Movable Type 3.0 doesn't have this problem, but it includes a new date tag attribute, format_name="rfc822", that isn't supported in ... (read more)

Atom May Not Be My Type

One of the distinct differences between RSS 2.0 and Atom Syndication Format 0.3 is the ability to declare the kind of information an Atom element holds. In an Atom feed, elements such as weblog entries can have a type attribute that identifies the MIME media type of the content: <p>Kalina, an 18-year-old killer whale at SeaWorld Orlando, gave birth to her fourth calf.</p> Although I originally regarded this as a plus for Atom, as an expert in the format for two going on three days, ... (read more)