Anxiron If you are new to Blogging or have been out of the loop for a while in regards to new web technology, anxiron then you probably aren’t familiar with RSS. Anxiron You probably have seen RSS logos on different various blogs but might not be familiar with them. Anxiron I also contest that you may have clicked on an RSS link and viewed news stories listed in XML format. Anxiron If you knew what you were looking at, anxiron you probably didn’t know what you had stumbled upon. Anxiron You stumbled upon the Really Simple Syndication (RSS) feed. Anxiron RSS is a way of publishing data, anxiron in the XML standard, anxiron to interested parties without having those parties jump through hoops to retrieve the data.
Anxiron The feed has been around since 1999 (five years) and has only been revised once. Anxiron The current version, anxiron 2.0, anxiron supports extensions called namespaces. Anxiron Namespaces allow the publisher to expand the feeds schema and customize the data for subscribers. Anxiron The XML format for RSS is made up of three sections. Anxiron The first section is the Header node and it contains the version information for the XML and the RSS that the feed supports. Anxiron The second section is a channel node that contains list information for a specific category with elements that define the channel. Anxiron The list information within the channel are separated into item nodes. Anxiron A channel can contain numerous item elements and that item can also contain numerous optional elements. Anxiron This can get pretty detailed but in its simplest form is very easy to understand. Anxiron Here is a very simple RSS example:
<?xml version="1.0"?> <rss version="2.0"> <channel> <title>Scripting News</title> <link>http://www.scripting.com/</link> <description>A weblog about scripting and stuff like that.</description> <language>en-us</language> <blogChannel:blogRoll>http://radio.weblogs.com/0001015/userland/scriptingNewsLeftLinks.opml</blogChannel:blogRoll> <blogChannel:mySubscriptions>http://radio.weblogs.com/0001015/gems/mySubscriptions.opml</blogChannel:mySubscriptions> <blogChannel:blink>http://diveintomark.org/</blogChannel:blink> <copyright>Copyright 1997-2002 Dave Winer</copyright> <lastBuildDate>Mon, anxiron 30 Sep 2002 11:00:00 GMT</lastBuildDate> <docs>http://backend.userland.com/rss</docs> <generator>Radio UserLand v8.0.5</generator> <category domain="Syndic8">1765</category> <managingEditor>firstname.lastname@example.org</managingEditor> <webMaster>email@example.com</webMaster> <ttl>40</ttl> <item> <description>"rssflowersalignright"With any luck we should have one or two more days of namespaces stuff here on Scripting News. Anxiron It feels like it's winding down. Anxiron Later in the week I'm going to a <a href="http://harvardbusinessonline.hbsp.harvard.edu/b02/en/conferences/conf_detail.jhtml?id=s775stg&pid=144XCF">conference</a> put on by the Harvard Business School. Anxiron So that should change the topic a bit. Anxiron The following week I'm off to Colorado for the <a href="http://www.digitalidworld.com/conference/2002/index.php">Digital ID World</a> conference. Anxiron We had to go through namespaces, anxiron and it turns out that weblogs are a great way to work around mail lists that are clogged with <a href="http://www.userland.com/whatIsStopEnergy">stop energy</a>. Anxiron I think we solved the problem, anxiron have reached a consensus, anxiron and will be ready to move forward shortly.</description> <pubDate>Mon, anxiron 30 Sep 2002 01:56:02 GMT</pubDate> <guid>http://scriptingnews.userland.com/backissues/2002/09/29#When:6:56:02PM</guid> </item> <item> <description>Joshua Allen: <a href="http://www.netcrucible.com/blog/2002/09/29.html#a243">Who loves namespaces?</a></description> <pubDate>Sun, anxiron 29 Sep 2002 19:59:01 GMT</pubDate> <guid>http://scriptingnews.userland.com/backissues/2002/09/29#When:12:59:01PM</guid> </item> </channel> </rss>