Atom (standard)
Atom is used in computer technology as an umbrella term for two standards: While the Atom Syndication Format (ASF ) as an XML format enables the platform-independent exchange of information was the Atom Publishing Protocol ( APP, it having been naturalized AtomPub ) created to the to facilitate creating and editing Web resources on the basis of plain HTML and XML. The two atomic standards thus offer the opportunity to edit web content and spread.
- 2.1 Functionality
Atom Syndication Format
The Syndikationsformat (ASF ) is the most frequently encountered implementation of the atomic standards. ASF is designed to become the successor of RSS. It is the modern form of a newsletter.
Atom originated from the need to combine the advantages of different RSS formats in a new format and to add new elements. In the vast majority of bloggers - - The developers have ASF also designed to meet the special needs of weblogs and news sites justice. The relevant supporters of nuclear are organized in the Industrial Organization AtomEnabled Alliance.
The current version of the Atom syndication format is the IETF draft of 11 August 2005, which was approved by the IESG as a Proposed Standard in August 2005 and published in December 2005 as RFC 4287. Most major feed providers already working to support the format. The MIME type of atom is application / atom xml.
Compiling information in a standardized exchange format called aggregation.
Minimal example
xml version = " 1.0" encoding = "utf -8"? >
The main peculiarity of atomic against RSS is the possibility that in content- bearing elements can be explicitly specified, the format in which the content is encoded. In RSS 2.0, for example, in the description element plain text or HTML are masked without a processing program knows what it just is. Atom calls for uniqueness by content- carrying members get a type attribute. In addition to plain text, HTML and masked, it is also possible to directly embed XHTML markup with namespace specification. Meaningful XHTML is above all in the content element.
Example of pure text in the title element:
Example of an HTML element in the summary:
example paragraph with important text < / strong > and a
relative link a>. p>
div>
content >
The content element gets a div element from the XHTML namespace as a child.
This may include further XHTML elements are listed directly.
The Atom API can be used for example to take with a client application on the stored in a Weblog software content influence.
Communication with the system functions according to the REST principle:
These actions are used in conjunction with the three main URIs, the data exchange format a so-called "Atom Entry" is a fragment / entry of a full Atom feed.
The Atom API and the Atom syndication format thus complement each other.
Atom Programming Interface ( AtomPub )
Operation
Pictures of Atom (standard)