A feed format is a specific set of XML elements used in a feed. Publication Subscription supports four commonly used feed formats:
RSS 0.9
RSS 1.0
RSS 2.0
Atom Syndication Format
Even though these standards have similar names, their elements are very different. For example, compare the XML elements for an entry in RSS 2.0 format (Listing 1-1) with the elements in the Atom Syndication Format (Listing 1-2). You’ll notice that while the content of both entries is the same, the elements that define them are different.
Listing 1-1 A feed entry in RSS 2.0
<item> |
<title>Welcome!</title> |
<pubdate>Fri, 27 Oct 2006 18:51:39 GMT</pubdate> |
<author>Matt</author> |
<description>Hello World!</description> |
</item> |
Listing 1-2 A feed entry in the Atom Syndication Format
<entry> |
<author> |
<name>Matt</name> |
</author> |
<title>Welcome!</title> |
<modified>2006-10-27T18:51:39Z</modified> |
<issued>2006-10-27T18:51:39Z</issued> |
<content type="text/plain">Hello World!</content> |
</entry> |
Publication Subscription is designed to interpret each of these four formats. Since the API encapsulates each of the formats, no matter which format your feed is in, the methods to interpret them are the same.
For more information about each of the XML formats:
Read http://en.wikipedia.org/wiki/Really_Simple_Syndication to learn more about the RSS 0.9, RSS 1.0 and RSS 2.0 formats
Read http://en.wikipedia.org/wiki/Atom_%28standard%29 to learn more about the Atom Syndication Format.
Last updated: 2007-05-11