Disclaimer The opinions expressed herein are my own personal opinions and do not represent my employer's view in anyway.
Super simple and sweet:
So I was looking for a real quick way to publish an RSS feed from a Web application I created for a friend and found some great articles and components (RSS Toolkit for ASP.NET 2.0.) However, I didn t find anything that used XML Serialization (specifically) to work with the RSS 2.0 Specification (maybe my Google skills are truly weak today.) I use XmlSerializer religiously, and thought it would be quite trivial to build a set of classes to quickly create and publish an RSS feed. Thus, as any geek would do, I did just that. ... These classes are adorned with System.Xml.Serialization attributes, which comply with the RSS 2.0 Specification. To create an RSS document, it s no more difficult than creating and populating a PONO (Plain Ole .NET Object.)
So I was looking for a real quick way to publish an RSS feed from a Web application I created for a friend and found some great articles and components (RSS Toolkit for ASP.NET 2.0.) However, I didn t find anything that used XML Serialization (specifically) to work with the RSS 2.0 Specification (maybe my Google skills are truly weak today.) I use XmlSerializer religiously, and thought it would be quite trivial to build a set of classes to quickly create and publish an RSS feed. Thus, as any geek would do, I did just that.
...
These classes are adorned with System.Xml.Serialization attributes, which comply with the RSS 2.0 Specification. To create an RSS document, it s no more difficult than creating and populating a PONO (Plain Ole .NET Object.)
Full story at http://weblogs.asp.net/skillet/archive/2006/08/29/RSS-in-.NET-Made-Easy-with-XML-Serialization.aspx
Hat tip: Greg's Cool ...
Remember Me