O'Reilly logo

Silverlight 4 Data and Services Cookbook by Kevin Dockx, Gill Cleeren

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Reading out an RSS feed

Most modern, regularly updated websites (such as news sites, blogs, and so on) allow the users of these sites to subscribe to a Really Simple Syndication (RSS) feed (which is in fact an XML file that follows a certain schema), which will typically contain excerpts of site updates. A lot of people use specialized RSS readers for this (such as Google Reader) or integrate the RSS feeds into applications that they use on a day-to-day basis (such as Outlook).

Silverlight includes a few classes to make it very easy to write your own RSS reader. In this recipe, we'll learn how to achieve this.

Getting ready

We'll need to start from a Silverlight solution that contains a few sample feeds and some code to show the feeds you're going ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required