AtomPub
   HOME

TheInfoList



OR:

The name Atom applies to a pair of related
Web standards Web standards are the formal, non-proprietary standards and other technical specifications that define and describe aspects of the World Wide Web. In recent years, the term has been more frequently associated with the trend of endorsing a set of s ...
. The Atom Syndication Format is an
XML Extensible Markup Language (XML) is a markup language and file format for storing, transmitting, and reconstructing arbitrary data. It defines a set of rules for encoding documents in a format that is both human-readable and machine-readable ...
language used for
web feed On the World Wide Web, a web feed (or news feed) is a data format used for providing users with frequently updated content. Content distributors ''syndicate'' a web feed, thereby allowing users to ''subscribe'' a channel to it by adding the feed ...
s, while the Atom Publishing Protocol (AtomPub or APP) is a simple
HTTP The Hypertext Transfer Protocol (HTTP) is an application layer protocol in the Internet protocol suite model for distributed, collaborative, hypermedia information systems. HTTP is the foundation of data communication for the World Wide We ...
-based protocol for creating and updating web resources. Web feeds allow
software Software is a set of computer programs and associated software documentation, documentation and data (computing), data. This is in contrast to Computer hardware, hardware, from which the system is built and which actually performs the work. ...
programs to check for updates published on a website. To provide a web feed, the site owner may use specialized software (such as a content management system) that publishes a list (or "feed") of recent articles or content in a standardized, machine-readable format. The feed can then be downloaded by programs that use it, like websites that syndicate content from the feed, or by feed reader programs that allow internet users to subscribe to feeds and view their content. A feed contains entries, which may be headlines, full-text articles, excerpts, summaries or links to content on a website along with various metadata. The Atom format was developed as an alternative to RSS. Ben Trott, an advocate of the new format that became Atom, believed that RSS had limitations and flaws—such as lack of on-going innovation and its necessity to remain
backward compatible Backward compatibility (sometimes known as backwards compatibility) is a property of an operating system, product, or technology that allows for interoperability with an older legacy system, or with input designed for such a system, especially in ...
—and that there were advantages to a fresh design. Proponents of the new format formed the IETF Atom Publishing Format and Protocol Workgroup. The Atom Syndication Format was published as an
IETF The Internet Engineering Task Force (IETF) is a standards organization for the Internet and is responsible for the technical standards that make up the Internet protocol suite (TCP/IP). It has no formal membership roster or requirements and a ...
proposed standard in (December 2005), and the Atom Publishing Protocol was published as (October 2007).


Usage

The
blog A blog (a truncation of "weblog") is a discussion or informational website published on the World Wide Web consisting of discrete, often informal diary-style text entries (posts). Posts are typically displayed in reverse chronological order s ...
ging community uses
web feed On the World Wide Web, a web feed (or news feed) is a data format used for providing users with frequently updated content. Content distributors ''syndicate'' a web feed, thereby allowing users to ''subscribe'' a channel to it by adding the feed ...
s to share recent entries' headlines, full text, and even attached multimedia files. The providers allow other websites to incorporate a blog's "syndicated" headline or headline-and-short-summary feeds under various usage agreements. people use Atom and other web-syndication formats for many purposes, including journalism, marketing, bug-reports, or any other activity involving periodic updates or publications. Atom also provides a standard way to export an entire blog, or parts of it, for backup or for importing into other blogging systems. It is common to find web feeds on major websites, as well as on many smaller ones. Some websites let people choose between RSS- or Atom-formatted web feeds; others offer only RSS or only Atom. In particular, many blog and
wiki A wiki ( ) is an online hypertext publication collaboratively edited and managed by its own audience, using a web browser. A typical wiki contains multiple pages for the subjects or scope of the project, and could be either open to the pub ...
sites offer their web feeds in the Atom format. A
feed reader In computing, a news aggregator, also termed a feed aggregator, feed reader, news reader, RSS reader or simply an aggregator, is client software or a web application that aggregates syndicated web content such as online newspapers, blogs, pod ...
or "aggregator" program can be used to check feeds and to display new articles.
Client-side Client-side refers to operations that are performed by the client in a client–server relationship in a computer network. General concepts Typically, a client is a computer application, such as a web browser, that runs on a user's local comput ...
readers may also be designed as standalone programs or as extensions to existing programs like
web browser A web browser is application software for accessing websites. When a user requests a web page from a particular website, the browser retrieves its files from a web server and then displays the page on the user's screen. Browsers are used o ...
s. Web-based feed readers and news aggregators require no software installation and make the user's "feeds" available on any computer with web access. Some aggregators syndicate (combine) web feeds into new feeds, e.g., taking all football-related items from several sports feeds and providing a new football feed.


Atom compared to RSS 2.0

When Atom emerged as a format intended to rival or replace RSS, CNET described the motivation of its creators as follows: " Winer's opponents are seeking a new format that would clarify RSS ambiguities, consolidate its multiple versions, expand its capabilities, and fall under the auspices of a traditional standards organization." A brief description of some of the ways Atom 1.0 differs from RSS 2.0 has been given by
Tim Bray Timothy William Bray (born June 21, 1955) is a Canadian software developer, environmentalist, political activist and one of the co-authors of the original XML specification. He worked for Amazon Web Services from December 2014 until May 2020 w ...
, who played a major role in the creation of Atom:


Date formats

The RSS 2.0 specification relies on the use of formatted timestamps to communicate information about when items in the feed were created and last updated. The Atom working group chose instead to use timestamps formatted according to the rules specified by (which is a subset of
ISO 8601 ISO 8601 is an international standard covering the worldwide exchange and communication of date and time-related data. It is maintained by the Geneva-based International Organization for Standardization (ISO) and was first published in 1988, w ...
; se
Appendix A in RFC 3339
for differences).


Internationalization

While the RSS vocabulary has a mechanism to indicate a human language for the feed, there is no way to specify a language for individual items or text elements. Atom, on the other hand, uses the standard xml:lang attribute to make it possible to specify a language context for every piece of human-readable content in the feed. Atom also differs from RSS in that it supports the use of Internationalized Resource Identifiers, which allow links to resources and unique identifiers to contain characters outside the US
ASCII ASCII ( ), abbreviated from American Standard Code for Information Interchange, is a character encoding standard for electronic communication. ASCII codes represent text in computers, telecommunications equipment, and other devices. Because ...
character set.


Modularity

The elements of the RSS vocabulary are not generally reusable in other
XML Extensible Markup Language (XML) is a markup language and file format for storing, transmitting, and reconstructing arbitrary data. It defines a set of rules for encoding documents in a format that is both human-readable and machine-readable ...
vocabularies. The Atom syntax was specifically designed to allow elements to be reused outside the context of an Atom feed document. For instance, it is not uncommon to find atom:link elements being used within RSS 2.0 feeds.


Barriers to adoption

Despite the emergence of Atom as an IETF Proposed Standard and the decision by major companies such as
Google Google LLC () is an American Multinational corporation, multinational technology company focusing on Search Engine, search engine technology, online advertising, cloud computing, software, computer software, quantum computing, e-commerce, ar ...
to embrace Atom, use of the older and better-known RSS formats has continued. There are several reasons for this: * RSS 2.0 support for
enclosures Enclosure or Inclosure is a term, used in English landownership, that refers to the appropriation of "waste" or "common land" enclosing it and by doing so depriving commoners of their rights of access and privilege. Agreements to enclose land ...
led directly to the development of
podcast A podcast is a program made available in digital format for download over the Internet. For example, an episodic series of digital audio or video files that a user can download to a personal device to listen to at a time of their choosin ...
ing. While many podcasting applications, such as iTunes, support the use of Atom 1.0, RSS 2.0 remains the preferred format. * Many sites choose to publish their feeds in only a single format. For example,
CNN CNN (Cable News Network) is a multinational cable news channel headquartered in Atlanta, Georgia, U.S. Founded in 1980 by American media proprietor Ted Turner and Reese Schonfeld as a 24-hour cable news channel, and presently owned by ...
and ''
The New York Times ''The New York Times'' (''the Times'', ''NYT'', or the Gray Lady) is a daily newspaper based in New York City with a worldwide readership reported in 2020 to comprise a declining 840,000 paid print subscribers, and a growing 6 million paid d ...
'' offer their web feeds only in RSS 2.0 format. * News articles about web syndication feeds have increasingly used the term "RSS" to refer generically to any of the several variants of the RSS format such as RSS 2.0 and RSS 1.0 as well as the Atom format.


Development history


Background

Before the creation of Atom the primary method of web content syndication was the RSS family of formats. Members of the community who felt there were significant deficiencies with this family of formats were unable to make changes directly to RSS 2.0 because the official specification document stated that it was purposely frozen to ensure its stability.


Initial work

In June 2003,
Sam Ruby Sam Ruby is a prominent software developer who has made significant contributions to web standards and open source software projects. In particular he has contributed to the standardization of syndicated web feeds via his involvement with the At ...
set up a wiki to discuss what makes "a well-formed log entry". This initial posting acted as a rallying point. People quickly started using the wiki to discuss a new syndication format to address the shortcomings of RSS. It also became clear that the new format could form the basis of a more robust replacement for blog editing protocols such as the
Blogger A blog (a truncation of "weblog") is a discussion or informational website published on the World Wide Web consisting of discrete, often informal diary-style text entries (posts). Posts are typically displayed in reverse chronological order ...
API and
LiveJournal LiveJournal (russian: Живой Журнал), stylised as LiVEJOURNAL, is a Russian-owned social networking service where users can keep a blog, journal, or diary. American programmer Brad Fitzpatrick started LiveJournal on April 15, 1999, a ...
XML-RPC XML-RPC is a remote procedure call (RPC) protocol which uses XML to encode its calls and HTTP as a transport mechanism.Simon St. Laurent, Joe Johnston, Edd Dumbill. (June 2001) ''Programming Web Services with XML-RPC.'' O'Reilly. First Edit ...
Client/Server Protocol as well. The project aimed to develop a web syndication format that was: * "100% vendor neutral," * "implemented by everybody," * "freely extensible by anybody, and" * "cleanly and thoroughly specified." In short order, a project road map was built. The effort quickly attracted more than 150 supporters, including
David Sifry Dave Sifry is an American software entrepreneur and blogosphere icon known for founding Technorati in 2004, formerly a leading blog search engine. He also lectures widely on wireless technology and policy, weblogs, and open source software. Ea ...
of
Technorati Technorati was a search engine and a publisher advertising platform that served as an advertising solution for the thousands of websites in its network. Technorati launched its ad network in 2008, and at one time was one of the largest ad network ...
, Mena Trott of
Six Apart Six Apart Ltd., sometimes abbreviated 6A, is a software company known for creating the Movable Type blogware, TypePad blog hosting service, and Vox (the blogging platform). The company also is the former owner of LiveJournal. Six Apart is he ...
,
Brad Fitzpatrick Bradley Joseph Fitzpatrick (born February 5, 1980) is an American programmer. He is best known as the creator of LiveJournal and is the author of a variety of free software projects such as memcached, PubSubHubbub, OpenID, and Perkeep. Early life ...
of LiveJournal,
Jason Shellen Jason Harper Shellen (born August 30, 1973) is an American internet entrepreneur who was the founding product manager of Google Reader and helped create and launch Brizzly. His most recent software startup is the email app Boxer (app), Boxer. He ...
of
Blogger A blog (a truncation of "weblog") is a discussion or informational website published on the World Wide Web consisting of discrete, often informal diary-style text entries (posts). Posts are typically displayed in reverse chronological order ...
,
Jeremy Zawodny As of October 2012, Jeremy Zawodny is an employee of Craigslist, having previously worked in Yahoo!'s platform engineering group, where he was described as "Yahoo!'s MySQL guru". He maintains a popular weblog focused on Yahoo! initiatives, which ...
of
Yahoo Yahoo! (, styled yahoo''!'' in its logo) is an American web services provider. It is headquartered in Sunnyvale, California and operated by the namesake company Yahoo Inc., which is 90% owned by investment funds managed by Apollo Global Manage ...
, Timothy Appnel of the O'Reilly Network, Glenn Otis Brown of Creative Commons and
Lawrence Lessig Lester Lawrence Lessig III (born June 3, 1961) is an American academic, attorney, and political activist. He is the Roy L. Furman Professor of Law at Harvard Law School and the former director of the Edmond J. Safra Center for Ethics at Harvard ...
. Other notables supporting Atom include
Mark Pilgrim Mark Pilgrim is a software developer, writer, and advocate of free software. He authored a popular blog, and has written several books, including ''Dive into Python'', a guide to the Python programming language published under the GNU Free Docu ...
, Tim Bray,
Aaron Swartz Aaron Hillel Swartz (November 8, 1986 – January 11, 2013) was an American computer programmer, entrepreneur, writer, political organizer, and Internet hacktivist. A prolific programmer, Swartz helped develop the web feed format RSS, the tech ...
,
Joi Ito is a Japanese entrepreneur and venture capitalist. He is a former director of the MIT Media Lab, former professor of the practice of media arts and sciences at MIT, and a former visiting professor of practice at the Harvard Law School. Ito has ...
, and Jack Park. Also, Dave Winer, the key figure behind RSS 2.0, gave tentative support to the new endeavor. After this point, discussion became chaotic, due to the lack of a decision-making process. The project also lacked a name, tentatively using "Pie," "Echo," "Atom," and "Whatever" (PEAW) before settling on Atom. After releasing a project snapshot known as ''Atom 0.2'' in early July 2003, discussion was shifted off the wiki.


Atom 0.3 and adoption by Google

The discussion then moved to a newly set up mailing list. The next and final snapshot during this phase was ''Atom 0.3'', released in December 2003. This version gained widespread adoption in syndication tools, and in particular it was added to several Google-related services, such as Blogger, Google News, and
Gmail Gmail is a free email service provided by Google. As of 2019, it had 1.5 billion active users worldwide. A user typically accesses Gmail in a web browser or the official mobile app. Google also supports the use of email clients via the POP and ...
. Google's Data APIs (Beta) GData are based on Atom 1.0 and RSS 2.0.


Atom 1.0 and IETF standardization

In 2004, discussions began about moving the project to a standards body such as the
World Wide Web Consortium The World Wide Web Consortium (W3C) is the main international standards organization for the World Wide Web. Founded in 1994 and led by Tim Berners-Lee, the consortium is made up of member organizations that maintain full-time staff working ...
or the
Internet Engineering Task Force The Internet Engineering Task Force (IETF) is a standards organization for the Internet and is responsible for the technical standards that make up the Internet protocol suite (TCP/IP). It has no formal membership roster or requirements and a ...
(IETF). The group eventually chose the IETF and the Atompub working group was formally set up in June 2004, finally giving the project a charter and process. The Atompub working group is co-chaired by Tim Bray (the co-editor of the XML specification) and Paul Hoffman. Initial development was focused on the syndication format. The Atom Syndication Format was issued as a Proposed Standard in IETF in December 2005. The co-editors were Mark Nottingham and Robert Sayre. This document is known as ''atompub-format'' in IETF's terminology. The Atom Publishing Protocol was issued as a Proposed Standard in IETF in October 2007. Two other drafts have not been standardized.


Example of an Atom 1.0 feed

An example of a document in the Atom Syndication Format: Example Feed A subtitle. urn:uuid:60a76c80-d399-11d9-b91C-0003939e0af6 2003-12-13T18:30:02Z Atom-Powered Robots Run Amok urn:uuid:1225c695-cfb8-4ebb-aaaa-80da344efa6a 2003-11-09T17:23:02Z 2003-12-13T18:30:02Z Some text.

This is the entry content.

John Doe johndoe@example.com


Including in HTML

The following tag should be placed into the head of an HTML document to provide a link to an Atom feed.


See also

*
hAtom hAtom is a draft Microformat for marking up (X)HTML, using classes and ''rel'' attributes, content on web pages that contain blog entries or similar chronological content. These can then be parsed as feeds in Atom, a web syndication standard. ...
 –
microformat Microformats (μF) are a set of defined HTML classes created to serve as consistent and descriptive metadata about an element, designating it as representing a certain type of data (such as contact information, geographic coordinates, events ...
for marking up (X)HTML so that Atom feeds can be derived from it *
Micropub A micropub is a very small, modern, one room pub founded on principles set up by Martyn Hillier of the first micropub, The Butchers Arms in Herne, Kent, which are "based upon good ale and lively banter". Definition A micropub, according to ...
 – W3C standard client–server protocol that uses
HTTP The Hypertext Transfer Protocol (HTTP) is an application layer protocol in the Internet protocol suite model for distributed, collaborative, hypermedia information systems. HTTP is the foundation of data communication for the World Wide We ...
to create, update, and delete; a more recent alternative to AtomPub except using
OAuth OAuth (short for "Open Authorization") is an open standard for access delegation, commonly used as a way for internet users to grant websites or applications access to their information on other websites but without giving them the passwords. T ...
for authentication instead of HTTP Basic Authentication * Channel Definition Format – an early feed format developed before Atom and RSS *
Content Management Interoperability Services Content Management Interoperability Services (CMIS) is an open standard that allows different content management systems to inter-operate over the Internet. Specifically, CMIS defines an abstraction layer for controlling diverse document mana ...
 – provides an extension to AtomPub for content management *
List of content syndication markup languages {{Short description, none The following is a list of formats for web feeds for web syndication where content is made available from one website to other sites.. Major markup languages *Atom * RSS Minor markup languages *FeedSync * GDatabr>Google ...
*
Open Data Protocol In computing, Open Data Protocol (OData) is an open protocol that allows the creation and consumption of queryable and interoperable REST APIs in a simple and standard way. Microsoft initiated OData in 2007. Versions 1.0, 2.0, and 3.0 are relea ...
 – a set of extensions to AtomPub developed by Microsoft * SWORD (protocol) *
Web syndication Web syndication is a form of syndication in which content is made available from one website to other sites. Most commonly, websites are made available to provide either summaries or full renditions of a website's recently added content. The term ...
*
XML Shareable Playlist Format XML Shareable Playlist Format (XSPF), pronounced ''spiff'', is an XML-based playlist format for digital media, sponsored by the Xiph.Org Foundation. XSPF is a file format for sharing the kind of playlist that can be played on a personal comp ...


References


External links

* – "The Atom Syndication Format" * – "The Atom Publishing Protocol"
Comparison of RSS and Atom Web Feed FormatsGetting to know the Atom Publishing Protocol
nbsp;– IBM developerWorks article by James Snell * {{DEFAULTSORT:Atom (Standard) Cloud standards Computer-related introductions in 2003 Open formats RSS Web syndication formats XML-based standards