RSS (most commonly expanded as "Really Simple Syndication") is a family of web feed formats used to publish frequently updated works—such as blog entries, news headlines, audio, and video—in a standardized format.
So I've been working on fixing up my RSS codes so that I can automatically post to Facebook using my blog, which led me to see a lot of stupidness in the RSS specs.
First -- and most nitpicky -- of all, what the hell kind of standard keeps changing it's own name? RSS has stood for:
RDF Site Summary
Rich Site Summary
Really Simple Syndication
Second, apparently for an RSS feed to be valid, it needs to include the Atom namespace (an alternate news feed format) with an element in the atom namespace containing a URL referencing itself. This is not part of the specification I should add, BUT is required to be able to pass the w3.org validator test. While I can see a use for this, the actual RSS specification already requires a link to the website containing the feed, so it seems a bit redundant to be 'required' by a validator.
Third, the specification encourages you to put encoded HTML inside the RDF XML data, and the user agent should render that as regular HTML apparently. So basically you can put whatever XML inside the XML document you want, it just needs to be escaped.
There's so many things wrong with this. How does a parser ensure that the XML is wel formed? I can pass in a bunch of random tags that don't match each other. How does a parser ensure the escaped XML is valid? There's no way you can validate the escaped content with any kind of DTD (Well to be fair you can, but I'm pretty sure no RSS reader does). And besides all the logical reasons: It's ugly!
Fourth: Is the validator created / maintained by the same people who wrote the specification? Doesn't look like it to me, but I'd love to be proven wrong.




what is a RSS