XML technologies / RSS & Atom / Atom / Publishing with the Atom Publishing Protocol / Design principles

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

The goals of the Atom Publishing Protocol, often also called the Atom API, overlap with those of the Atom Syndication Format. It should be entirely vendor-neutral and implementable by anyone; it should also actually be implemented by every relevant provider. It must therefore work on hosted accounts and be accessible to users who cannot modify a .htaccess file. Access should require only CGI functionality. The protocol must also be freely extensible without restriction. Like the syndication format, it should have a complete, clear specification and no security vulnerabilities.

The Atom Publishing Protocol is a REST API and does not use SOAP. Mark Pilgrim gives important reasons: no additional wrapper is needed because Atom already wraps content in other formats. Existing providers find HTTP authentication sufficient; none is interested in stronger or more exotic mechanisms. Nor do they need a mechanism independent of HTTP transport.

One may also ask why websites should not be updated using the existing, thoroughly specified WEBDAV protocol. Pilgrim points to the specific conditions for the Atom Publishing Protocol: it is designed to edit episodic websites rather than arbitrary server documents, and merely to communicate with different user-specific backends through a common API. It must work entirely through CGI to support hosted sites that provide no access to a .htaccess file.

Beyond editing, the Atom API will offer functions for posting comments and managing users, user preferences, site templates, and categories.

A major unresolved issue at present (May 2005) is how the Publishing Protocol will handle collections of entries (see Getting ready for the protocol discussion).

The API architecture includes the following requirements:

Discovering the Atom API requires only that users know the URI of an HTML document through which it can be reached. An element link as a descendant of feed points to a service.feed or introspection file. This file lists supported functions and extensions. The introspection document is simple, well-formed XML. Providers can extend its format using the XML namespace mechanism.

   

 

 

 

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

back to top