Difference between revisions of "AtomPub"

From BC$ MobileTV Wiki
Jump to: navigation, search
Line 63: Line 63:
  
 
* Known ATOM feeds: http://intertwingly.net/wiki/pie/KnownAtomFeeds
 
* Known ATOM feeds: http://intertwingly.net/wiki/pie/KnownAtomFeeds
 +
* RSS 2.0 and Atom 1.0 compared: http://www.intertwingly.net/wiki/pie/Rss20AndAtom10Compared
  
  
Line 69: Line 70:
 
* The Web, The Browser And AtomPub: http://www.infoq.com/news/2009/04/web-browser-atompub
 
* The Web, The Browser And AtomPub: http://www.infoq.com/news/2009/04/web-browser-atompub
 
* PHP Atom Server: http://www.sitepoint.com/blogs/2004/09/09/php-atom-server/
 
* PHP Atom Server: http://www.sitepoint.com/blogs/2004/09/09/php-atom-server/
 +
* Atom vs. RSS Feed: http://www.freemarketingzone.com/rss/atom-vs-rss.html
 +
* The world of Syndication -- Atom 1.0 vs. RSS 2.0?: http://blogs.iis.net/vsood/archive/2008/10/06/the-world-of-syndication-atom-1-0-vs-rss-2-0.aspx
 +
* RSS vs. Atom - What’s the Big Deal?: http://www.problogger.net/archives/2006/03/30/rss-vs-atom-whats-the-big-deal/
  
  

Revision as of 14:50, 16 March 2011

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).

AtomPub 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 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