XML technologies / RSS & Atom / RSS 2.0 / RSS 2.0 overview / Design principles

(Excerpt from "Newsfeeds with RSS and Atom" by Heinz Wittenbrink, published by Galileo Press, 2005)

Primarily a syndication format

Dave Winer and his colleagues expand "RSS" as "Really Simple Syndication". Starting with UserLand’s RSS 0.91, they designed and promoted RSS for syndicating news and weblog entries. Newsreaders and aggregators are its main consumers. Winer designed RSS 2.0 neither, like RSS 1.0, as a comprehensive, extensible metadata format, nor, like Atom, as a format for editing and archiving newsfeeds.

Simplicity

Simplicity distinguishes RSS 2.0 from both RSS 1.0 and Atom. Technical simplicity made RSS 2.0 and its predecessors synonymous with Web syndication. Choosing the best syndication approach chiefly involves asking whether the benefits of RSS 2.0’s simplicity outweigh its drawbacks.

"Literary XML"

Dave Winer, the specification’s author, speaks of people for whom XML is a "literary space". He wants XML documents as understandable as literature. RSS 2.0 exemplifies "XML for authors": almost all element names are intuitive. Basic HTML knowledge is enough to turn text into an RSS document with a few tags. Documents are shallow in structure, attributes are rare, and namespaces occur only in extensions. HTML markup can be included in descriptive elements by escaping its delimiters.

Shallow document structure

An RSS 2.0 document resembles an essay with an introduction and subsections. A simple outline (English: outline) with only two hierarchical levels can describe it. Apart from rss and channel it has only three required elements: text, link and description. Most metadata elements in an RSS 2.0 document describe the entire channel and thus all feed entries. The format does not distinguish data with different functions, such as metadata and content. RSS 2.0 has no recursive structures of the kind proposed for Atom, nor does it need separate namespaces for common element types as RSS 1.0 does.

Easy extensibility

Unlike its predecessors, RSS 2.0 can extend its vocabulary with elements. Extension elements must come from a defined XML namespace. The specification says nothing about how elements from other namespaces relate to RSS elements. Authors or users may place extension elements anywhere in a document, but must ensure that the recipient, human or application, can use them.

In RSS 1.0 and 1.1, by contrast, the RDF data model specifies how an RSS parser should relate elements from different namespaces. Atom permits additions from other namespaces only at particular places and distinguishes simple and structured extensions.

Simple specification

The RSS 2.0 specification requires minimal technical knowledge. Winer does not rely on other XML specifications and rarely on other standards to define its syntax, nor does he make its semantic assumptions explicit. He explains constructs through common practice in news-site and weblog feeds, using ordinary language and often simply examples. Like British and American case law, he relies on precedent rather than a universal model.

Compatibility with earlier versions

Compatibility with RSS 0.91, 0.92, and 0.93 explains many design choices in RSS 2.0. Every RSS 0.91 document should be valid RSS 0.92, and every RSS 0.92 document valid RSS 2.0. Added features are always optional; later versions sometimes also made previously required elements optional.

Finality

Unlike its predecessors, Dave Winer explicitly calls RSS 2.0 frozen in the specification ("frozen"). New versions may only fix bugs. (The current version is 2.0.11.) Further development should use modules or entirely new syndication formats with new names.

   

 

 

 

Creative Commons license
This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.

back to top