This article was written in an attempt to explain RSS feeds to a general readership. It assumes a basic knowledge of how the web works and should leave you knowing what an RSS feed is, how it is different to an HTML web page and what it’s for. This is the first draft and probably part one of a series so any comments are very welcome.
As you surf through various weblogs you will notice buttons like RSS, XML or a variation on this theme. Sometimes there’ll be a link saying Syndicate this site (XML). Click on these links and you’ll get a page full of HTML-like code, which is nice but completely useless to you, so you hit the Back button and get on with your life. This is a link to the RSS Feed for that site. The code is in XML. If this means nothing to you keep reading. Hopefully all will become clear.
Terms Defined
The world of XML is full of really scary acronyms but don’t let that put you off. If you can deal with the concept of HTML you can deal with these.
HTML stands for HyperText Markup Language. Hypertext is a fancy word for the way web pages link to one another, this being a hypertext link. In order to get your content to display on the web and link to other sites you mark it up as a hypertext document.
XML stands for eXtensible Markup Language. Notice has the ML has the same meaning. XML is essentially just another way of marking up text but whereas HTML is for browsers, varieties of XML can be developed for a wide range of applications.
Think of HTML as a form of XML for browsers. In fact the current version of HTML is called XHTML - eXtensible HypeText Markup Language - bringing it in line with XML standards.
RSS stands for either Really Simple Syndication or Rich Site Summary but both mean the same thing. In essence it’s just another form of XML. It marks up content using the same basic rules as HTML but for a different purpose. This purpose is to syndicate content to a wide variety of programs.
So, in summary, there is the basic XML standard of which XHTML and RSS are both flavours, the former being for web browsers and the latter for syndication
If you don’t understand these definitions then don’t worry, it’s not essential knowledge. You might want to come back to this bit later and see if it’s any clearer.
How is RSS different to HTML?
Let’s look at a weblog post. Commonly it’ll have a specific number of different sections: a title, author, body of text, date and address. A weblog post can be divided up in a similar way and in fact most weblog software (such as Blogger or Movable Type) stores weblog data in these sorts of fields. Here’s a simplified version of my weblog template:
<div id="title">
<$MTEntryTitle$>
</div>
<div id="body"><$MTEntryBody$></div>
<div id="stamp"><a href="<$MTEntryPermalink$>">Permalink</a> | Posted on <$MTEntryDate$></div>
<div> is an HTML tag that tells the browser how to display the content. Here’s it’s saying to look at the style sheet for the id “title” and display <$MTEntryTitle$> accordingly, and so on. When Movable Type published my weblog it replaces <$MTEntryTitle$> with the actual title of the post, and so on, resulting in:
<div id="title">
Shopping Trip
</div>
<div id="body">Today I went to Tescos. It was awful. </div>
<div id="stamp"><a href="http://peteashton.com/005218.html">Permalink</a> | Posted on January 12th 2004</div>
It’s important to note that “title”, “body” and “stamp” are arbitrary terms made up by me to connecting the content to the style sheet. I could have used “fish”, “cup” and “sausage”.
The RSS feed for the same entry would look like this (again, simplified)
<item>
<title><$MTEntryTitle$></title>
<link><$MTEntryPermalink$></link>
<description><$MTEntryBody$></description>
<date><$MTEntryDate$></date>
</item>
Now, the browser will not understand these tags because they’re not HTML. There’s nothing here that says how the content should be displayed. Instead these tags say what the content is.
Try this analogy. The HTML for my trousers would say “black, 32 inch hole at the top, about a metre long, peanut butter stain four inches above the left knee.” The RSS for my trousers would say “these are trousers, they go in the trouser drawer, are worn as trousers and should be treated at all times as trousers. If you’re looking for trousers then these are they.”
HTML: what it looks like
RSS: what is is
What are RSS feeds for?
The big idea behind RSS feeds is that they are all the same. While my web site looks different to, say, Jez’s or Tom’s, our RSS feeds will be identical in all but content.
(Currently this isn’t strictly true as there are four, count ’em, different versions of RSS floating around. At the time of writing it looks like Atom is going to be the standard having been adopted by Movable Type and Blogger, but for the purposes of this tutorial they’re all interchangeable so don’t let it worry you.)
This means that all that content that was previously sitting around on web pages can now be used in all manner of programs in all manner of ways. A very simple example is the “Photos” section of the sidebar on my main page. I run a LiveJournal where I occasionally post up photos I’m pleased with. I wanted to have recent entries to my LJ linked to on my Movable Type blog, but LJ and MT are completely incompatible programs that cannot be made to talk to each other. However, my LJ produces an RSS feed and using a plugin application to MT I can turn that into data that MT can understand. In essence, the plugin takes the “title” and “link” fields from the feed and sticks them on the page. The same things happens with my syndicated LiveJournal. Here, LJ takes the RSS feed for my weblog and converts it into a standard LiveJournal so people within the LJ community can add it to their “friends list”.
To see the power of RSS on a large scale have a look at Google News. While the news is sorted by Google the raw content is provided by RSS feeds. 4,500 feeds from 4,500 different news organisations using a wide range of different content management systems to produce their news. Without a standard like RSS, bringing this together automatically in real time would be impossible. (Credit where credit is due - RSS feeds as we know them are descended from the old new wire services, as terms like “syndication” imply. It’s only with their adoption by weblogging programs that they’ve gone mainstream)
But these kinds of things are really only of interest to web developers, which is probably why RSS has remained a geek thing until recently.
How can I use RSS feeds as an ordinary non-techy internet user?
The breakthough use of RSS feeds has been as a way of reading weblogs. The old way of reading blogs was to have a long list of them in your bookmarks down the side of your site which you clicked through on a daily basis to see if they had changed. You wait for the site to load and figure out whether there’s new content on there. If there isn’t you move on to the next one on the list.
If I want to see whether my favourite blogs have been updated I go to Bloglines and check my account there. Here’s what I see:

Whenever I come across a weblog I like the look of that has an RSS feed I subscribe to it in Bloglines. Bloglines checks that feed every hour to see if it has changed. If there’s a new entry it’s flagged up in the left hand column. Clicking on that displays the entry in the main panel. This entry is made up of the RSS feed alone, sometimes with the whole post, sometimes with just a link to the actual website. In the above example I’m looking at the feed for LinkMachineGo whose actual website looks like this:

Here’s another example, using an entry from Plasticbag. (I didn’t chose this on purpose, Tom. Honest.)

Here you can vividly see the difference between HTML and RSS. While the content is the same, none of the display information has been passed on to Bloglines, which displays plasticbag and LinkMachineGo in exactly the same manner.
My feeds are loose categorised (techy blogs, people blogs, comic blogs, linklogs, that kind of thing) along with the Guardian, Metafilter and other les-bloggy but frequently updated feeds making Bloglines pretty much the centre of my internet life.
Bloglines is what’s known as a feed reader or aggregator and there are many of them about, some web-based, some running on your computer desktop separate to the browser. I used Newzcrawler on Windows a fair bit over the summer and NetNewsWire appears to be the reader of choice for the Mac. All will have different features but in essence they work the same way.
The main selling point is that I’m able to keep on top of 100+ weblogs in a short space of time. This might seem an absurd number but it’s not really.