Simple RSS Reader in ASP.NET

What you see more and more is basic websites integrating a their blog (usually contained on a subdomain into their websites.

What can seem like an easy task though of pulling in RSS feeds can actually get fairly messy. However a lovely chap called Dmitry Robsman created an RSS datasource control that you can use to bind RSS feed data to controls in ASP.NET.

Import the custom control into Visual Web Developer, specify a rss link source and then use maybe a datalist control? Whatever you want. 😉

<asp:DataList ID="DataList1" runat="server" DataSourceID="RssDataSource1">


        <asp:HyperLink runat="server" NavigateUrl='<%# Eval("link") %>' Text='<%# Eval("title") %>'></asp:HyperLink>



<cc1:RssDataSource ID="RssDataSource1" runat="server" MaxItems="0" Url=""></cc1:RssDataSource>

If you have a look at the feeds you will see common elements for each post like title, link, comments, pubDate, creator, category, description and content. All fairly self explanatory.



Published by

Alan Feekery

Developer, Gamer, Musician, Cyclist and big Motorsport fan... enjoys the odd cup of coffee :)

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s