AtomPub

From BC$ MobileTV Wiki
Revision as of 14:09, 16 March 2011 by Joe (Talk | contribs)

Jump to: navigation, search

ATOM An event/update publishing protocol The Atom Publising protocol (commonly abbreviated AtomPub) is a data format and publishing mechanism for making content easily available, indexable and searchable on the world wide web.


Atom is (arguably) best-suited for activity groups, discussions, forums and chronological (sequential) events or actions.


Specification

ATOM is the name of a family of data formats and procotols, separated into two main subtypes: Atom Publishing Protocol (commonly abbreviated AtomPub or APP) and Atom Syndication Format (commonly abbreviated Atom or Atom Feed). Atom Publishing protocol is an application level protocol for both publishing and editing web resources using HTTP and XML (i.e. a RESTful protocol for data feeds); whereas Atom Syndication Format is an XML-based document format that describes lists of related information known as "feeds", which are composed of a number of items, known as "entries", each with an extensible (unconstrained by a strict DTD/XSD) set of attached metadata.[1]

Publishing

The Atom Publishing Protocol namespace is as follows:

http://www.w3.org/2007/app


Syndication

The Atom Syndication Format namespace is as follows:

http://www.w3.org/2005/Atom



EXAMPLE

 <?xml version="1.0" encoding="utf-8"?>
 <feed xmlns="http://www.w3.org/2005/Atom">
   <title>Example Feed</title>
   <subtitle>A subtitle.</subtitle>
   <link href="http://example.org/feed/" rel="self" />
   <link href="http://example.org/" />
   <id>urn:uuid:60a76c80-d399-11d9-b93C-0003939e0af6</id>
   <updated>2011-03-08T11:30:02Z</updated>
   <author>
     <name>John Doe</name>
   </author>
   <entry>
     <title>Atom-Powered Robots Run Amok</title>
     <link href="http://example.org/2003/12/13/atom03" />
     <link rel="alternate" type="text/html" href="http://example.org/2003/12/13/atom03.html#comment"/>
     <link rel="edit" href="http://example.org/2003/12/13/atom03/edit"/>
     <id>urn:uuid:1225c695-cfb8-4ebb-aaaa-80da344efa6a</id>
     <updated>2003-12-13T18:30:02Z</updated>
     <summary>Some amount of text (anything from the first paragraph to the entire story, and everything in between).</summary>
   </entry>
 </feed>

[2]


Resources


External Links


References

  1. Atom Publishing Protocol (APP) and Atom Syndication Format (ATOM): http://library.skjworld.com/internet/atom-publishing-protocol
  2. AtomEnabled - Sample Feed: http://www.atomenabled.org/developers/syndication/#sampleFeed


See Also

RSS