This appendix reveals the specifications of the various versions of RSS and Atom feeds. The first part of the appendix shows an XML template for each specification, which provides an easy reference for the elements in each version, and the second half of the appendix defines each of the elements and provides an example of how each element is used.
<?xml version="1.0"?> <rss version="2.0"> <channel> <title></title> <link></link> <description></description> <language></language> <copyright></copyright> <managingEditor></managingEditor> <webMaster></webMaster> <pubDate></pubDate> <lastBuildDate></lastBuildDate> <docs></docs> <image> <url></url> <title></title> <link></link> <width></width> <height></height> <description></description> </image> <rating></rating> <textInput></textInput> <title></title> <description></description> <name><name> <link></link> </textInput> <skipHours></skipHours> <skipDays></skipDays> <item>* <title></title> <link></link> <description></description> </item> </channel>
<?xml version="1.0"?> <rss version="1.0"> <channel> <title></title> <link></link> <description></description> <image> <url></url> <title></title> <link></link> </image> <textInput></textInput> <title></title> <description></description> <name><name> <link></link> </textInput> <item>* <title></title> <link></link> <description></description> </item> </channel>
<?xml version="1.0"?> <rss version="2.0"> <channel> <title></title> <link></link> <description></description> <language></language> <copyright></copyright> <managingEditor></managingEditor> <webMaster></webMaster> <pubDate></pubDate> <lastBuildDate></lastBuildDate> <category></category> <generator></generator> <docs></docs> <cloud domain="" port="" path="" registerProcedure="" protocol="" /> <ttl></ttl> <image> <url></url> <title></title> <link></link> <width></width> <height></height> <description></description> </image> <rating></rating> <textInput></textInput> <title></title> <description></description> <name><name> <link></link> </textInput> <skipHours></skipHours> <skipDays></skipDays> <item>* <title></title> <link></link> <description></description> <author></author> <category domain=""> </category> <comments></comments> <enclosure url="" length="" type="" /> <guid></guid> <pubDate></pubDate> <source url=""></source> </item> </channel>
<?xml version="1.0"encoding="utf-8"?> <feed version="0.3"xmlns="http://purl.org/atom/ns#"> <title>dive into mark</title> <link rel="alternate" type="text/html" href="http://diveintomark.org/"/> <modified>2003-12-13T18:30:02Z</modified> <author> <name>Mark Pilgrim</name> </author> <entry> <title>Atom 0.3 snapshot</title> <link rel="alternate" type="text/html" href="http://diveintomark.org/2003/12/13/atom03"/> <id>tag:diveintomark.org,2003:3.2397</id> <issued>2003-12-13T08:29:29-04:00</issued> <modified>2003-12-13T18:30:02Z</modified> </entry> </feed>