Displaying posts categorized under

Data syndication

Updated RSS reader class – dealing with “already belongs” error

Getting the "A column named ‘comments’ already belongs to this DataTable" error when running the Simple RSS client ?
You will probably get it if you run it against a "real" blog application – which supports the <comments> tag for one example.
The problem is this:
An RSS typically uses multiple namespaces, for example from by SubText blog:

<rss version="2.0" [...]

Simple RSS reader class

Being able to read RSS feeds are becoming more and more important today, even for website publishers.  Here’s a very simple (ASP.NET 2.0) example – but the class and code could easily be used in .NET 1.1 as well.
The top of our default.aspx looks like this when running:

After clicking on the button a gridview blow is [...]

Syndicate your articles with JavaScript

Note: the examples here and download solution are created using C# and ASP.NET 2.0, but if you are using .NET 1.1 – read on cause the basic ideas are pretty much the same.
Changed 2006-09-27: added instructions at the bottom if you get no results at your own system
While RSS or some type of XML flow sure [...]