XML technologies / RSS & Atom / Atom / Overview

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

Two main motives led to Atom: apart from RSS 1.0, RSS specifications are vague and incomplete in many respects, and there is no uniform protocol for writing and editing weblog-style publications. The Blogger and Metaweblog APIs, still supported by many weblog systems, are incomplete, insecure and based on a web-service concept often considered inadequate. Atom aims both to remedy RSS’s known shortcomings and to establish an open standard for publishing tools based on a modern REST (Representational State Transfer) concept of web services.

The RSS 2.0 specification and its predecessors are clearly incomplete and, above all, imprecise. Almost everywhere, common practice is needed to interpret the specification. In presenting RSS 2.0, I have repeatedly referred to Atom to clarify wording.

Evolution of RSS or an alternative?

Atom’s developers hold Dave Winer partly responsible for their decision to define a new, incompatible replacement rather than simply develop RSS 2.0 further. The RSS 2.0 specification itself requires further development under a new name; Winer calls RSS 2.0 "frozen". The Atom developers argue that retaining the document element rss in a new format would be confusing. Since this already breaks backward compatibility, the new format can be designed to meet all current requirements.

Starting points for Atom’s development

Robin Cover summarised the key ideas behind Atom (see Atom as the New XML-Based Web Publishing and Syndication Format):

  1. Atom should be designed so content is not treated as a second-class citizen.

  2. Core concepts should be expressed through a uniform mechanism independent of specific applications.

  3. The format should remain open and simple.

RSS 2.0 advocates’ criticism focuses on claims that a new standard is unnecessary or confusing, barely addressing the substantive arguments.

Standardisation process and specifications

Atom standardisation is handled by an Internet Engineering Task Force (IETF) working group chaired by Paul Hoffman and Tim Bray.

"Atom" covers several protocols and specifications. The most important and stable defines Atom Publishing Format or Atom Syndication Format, available as version 1.1 (Draft) since August 2005. Atom Publishing Protocol describes publishing Atom documents; version 1.7 (Draft) was published on 15 August 2005. A third document, Atom Feed Autodiscovery, specifies how to find associated Atom feeds in a web document. Only version 0.1 of 10 May 2005 is available so far. All Atom specifications are Internet-Drafts submitted to the IETF. Once sufficiently developed, they are submitted to the Internet Engineering Steering Group (IESG). Accepted documents are officially published as "Request for Comments" (RFC). The Atom specifications submitted to IESG include Atom Publishing Protocol (RFC 5023, October 2007) and Atom Syndication Format (RFC 4287, "Atom 1.0", December 2005).

The Atom Publishing Format is the format for Atom documents, corresponding to RSS 2.0, RSS 1.0 and RSS 1.1.

Atom development uses a mailing list for Atom syntax, one for Atom protocol and the Atom Wiki. The wiki records issues and proposals (in "Paces"), while actual specification development takes place on the lists.

The Atom specification uses the terminology of the XML Information Set. The Infoset standard defines the different information items contained in an XML document, which a parser can extract. For Atom elements and attributes, however, the specification does not explicitly speak of information items.

Information sources

The specifications, mailing lists and wiki are the main Atom information sources. As with most XML topics, regularly updated overviews appear in "XML Cover Pages". Mark Pilgrim, Joe Gregorio and other developers have discussed many aspects in articles on XML.com. The standard developers’ weblogs are also important sources. Atom discussions involve some of the most interesting and influential XML figures, including Tim Bray, Sam Ruby, Mark Pilgrim and Norman Walsh.

Differences from other feed formats

Describing Atom’s differences from RSS 2.0 briefly is harder than distinguishing RSS 2.0 from RSS 1.0. Atom was designed to clarify RSS rather than compete with it. Generally, as in RSS 1.0, every Atom element belongs to a defined namespace and may carry the attributes xml:base and xml:lang. Numerous further differences concern individual element definitions. Atom’s design principles also extend its functionality beyond RSS 2.0 so far that it becomes a publication format in its own right for periodically updated information.

Extended functionality

Functionality is extended in at least four areas:

  • Contents: Atom allows almost any content possible on the internet in an entry, provided its type is clearly specified.

  • Links: Atom has precise, extensible link semantics. Link functions are clearly defined, and additional functions can be registered. Defining new link types is a primary way to extend the format’s capabilities.

  • Aggregation: Atom entries can carry their original feed’s metadata when incorporated into another feed. Entries from different feeds can thus be combined while retaining relevant information, such as their creators.

  • Publishing: Atom was defined as a content publishing format. Documents can contain URI information needed by clients to publish and edit. Atom documents whose document element is entry publish entries.

In all four cases, new functionality follows from more precise element semantics than RSS 2.0 provides. RSS leaves unclear whether content is data or metadata. Atom precisely defines how content can be embedded. RSS does not decide whether the element link should or must hold the entry’s own URI, or may contain a related item’s URI. Atom requires the element link to specify the link type, allowing multiple link types per entry. RSS 2.0 feeds can have the same elements at feed level (channel) and entry level (item); the element source can hold little information. Atom’s precision allows every entry to carry a container named source with its original feed’s metadata. RSS 2.0 elements also served as the basis for publishing interfaces such as Metaweblog API. Atom’s precise definition of HTTP document transport produces a complete publishing protocol.

   

 

 

 

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

back to top