Working with NSort and RSS.NET - 4.9 Creating RSS Feeds with RSS.NET
(Page 3 of 4 )
RSS stands for Real Simple Syndication (or Rich Site Summary, depending on which version you are using). It is a simple XML format that is used to publish content for consumption by various applications. RSS has taken the technology world by storm, rapidly going from being a fringe technology to being supported by almost every major Internet site, including Yahoo!, Google, and even NYTimes.com.
RSS is a relatively simple XML format, so implementing and exposing RSS feeds from your application is fairly straightforward. RSS.NET is an open source library that makes it even easier to publish RSS feeds by giving you a simple object model so you don’t have to actually work with XML. (Who wants to work with XML, anyway?) RSS.NET also handles the small differences between the various versions of RSS, including 0.90, 0.91, 0.92, and 2.0.1.
RSS.NET at a Glance
Tool | RSS.NET |
Version covered | .86 |
Home page | http://www.rssdotnet.com |
Power Tools page | http://www.windevpowertools.com/tools/150 |
Summary | A simple library written in C# to make publishing and consuming RSS feeds |
| | even easier |
License type | MIT License |
Online resources | Bug and feature request trackers |
Supported Frameworks | .NET 1.1 natively; convert and recompile for .NET 2.0 |
Related tools in this book | RSS Toolkit |
Getting Started
RSS.NET is still a work in progress, so binaries have not yet been released. This means you will need to download and compile the source yourself. The best way to do so is to select the Nightly Build link from the tool’s home page, which points to a tar archive of the most recent source. You can also connect directly to the CVS repository to get the latest code if that link disappears.
The existing code is for .NET 1.1, but you can recompile it in .NET 2.0 without so much as a compiler warning by simply converting the project to Visual Studio 2005.
Using RSS.NET
Once you have successfully built the project in your Framework of choice, you just need to add a reference to the compiled assembly to your application. You can then start writing code to publish and consume RSS feeds.
Next: Creating an RSS feed >>
More BrainDump Articles
More By O'Reilly Media
|
This article is excerpted from chapter four of the book Windows Developer Power Tools, written by James Avery and Jim Holmes (O'Reilly; ISBN: 0596527543). Check it out today at your favorite bookstore. Buy this book now.
|
|