In this series of articles we will go through the process of creating and consuming an RSS Feed using the API built into Microsoft .Net Faramework and another papular framework available in the market known as Argotic.
In the preceeding articles after intro, we will go through in detail about:
- How to consume Rss feed using Both System.ServiceModel.Syndication and Argotic Framework.
- How to consume Atom feed using Both System.ServiceModel.Syndication and Argotic Framework
- How to generate Rss feed using Both System.ServiceModel.Syndication and Argotic Framework.
- How to generate Atom feed using Both System.ServiceModel.Syndication and Argotic Framework.
We will be using Visual C#.Net as our programming language and the available API’s accordingly
First things first:
what is Rss and what does it stand for ?? Really simple syndication. a more better way to explain is:
It the list of hyper-links of an on-line resource, ordered in particular manner with the minimum bits of information required to get to that resource.
Most of the modern browser fully suport this feature and come with pre installed Rss parsers.(Chrome being more focused on its performance is currently not supporting this feature but there are some third party option available like Feed Viwer . Another easy is to use Google Reader )
What exactly is Rss ?
Rss is an xml file, generated in one of the standard formats, designed for the purpose. These formats differ slightly and and can hold information depending upn the content they represent. Following are the Rss Format with most commonly in use.
- RSS 0.90 (the original Netscape RSS version)
- RSS 1.0
- RSS 1.1
- RSS 2.0
Rss and Atom being mostly used, we will be working on how to generate and consume feed in these formats.
There is another third party framework known as Argotic , which also provides several classes shich make it very helpful to work woth RSS content
Another third Party framework known as Rss.Net is also papular and is used in the development of a lot of Feed related Web Applications.
No particular framework is more papular than other. The difference noticeable is, System.ServiceModel.Syndication has been tested and proved to be 9 times faster than Argotic Framework and is recommended by many developers for that reason. On the other hand Argotic comes with wide set of rich classes, which provide not only handling implementation of a feed service in commonly used formats very easy but also for less common but important formats, like BlogML.
So it is the choice between the efficiency of your application vs efficiency in development. In the end choice is always yours.