Difference between revisions of "AtomPub"

From BC$ MobileTV Wiki
Jump to: navigation, search
Line 89: Line 89:
* ASP, PHP, and JS Atom DateTime format conversion (to human-readable calendar date): http://blog.netnerds.net/2006/04/php-format-atom-date/
* ASP, PHP, and JS Atom DateTime format conversion (to human-readable calendar date): http://blog.netnerds.net/2006/04/php-format-atom-date/
* How the WCF Syndication Object Model Maps to Atom and RSS: https://docs.microsoft.com/en-us/dotnet/framework/wcf/feature-details/how-the-wcf-syndication-object-model-maps-to-atom-and-rss
== External Links ==
== External Links ==

Latest revision as of 10:58, 30 March 2020

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.


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]


The Atom Publishing Protocol namespace is as follows:



The Atom Syndication Format namespace is as follows:



 <?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/" />
     <name>John Doe</name>
     <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"/>
     <summary>Some amount of text (anything from the first paragraph to the entire story, and everything in between).</summary>


RSS 2.0 .vs. ATOM 1.0

Use-cases are important when considering which feed format to publish your data in. Based on the understanding gained researching[3], past experience with both formats[4][5] and the specifications themselves:

ATOM - Lists of Users (extended via FOAF) - User Activities (i.e. shared links, status updates; extended via ActivityStrea.ms) - Group Discussions (extended via SIOC) - Full Content Feeds (i.e. entire news articles; possibly extended via NewsML, SportsML, DublinCore or others)

RSS - Summary of general website updates (new articles, blog posts, comments, etc) - Video Sitemaps (extended via Yahoo!'s MediaRSS) - Search results (sharing a site's search results; extended via OpenSearch module) - New files added to servers (i.e. torrents, portfolio work etc, extended via E-Commerce)



External Links


  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
  3. LAWTECH GURU BLOG by Jeff Beard: http://www.lawtechguru.com/archives/2004/02/13_the_great_rss_vs_atom_news_feed_debate.html
  4. BCmoney RSS - Newest Videos: http://bcmoney-mobiletv.com/rss/new/
  5. BCmoney Groups - Discussions: http://bcmoney-mobiletv.com/groups/atom

See Also

Events | Data Portability | RSS | Podcast | OPML | ActivityStreams