Dot Net Mafia

Group site for developer blogs dealing with (usually) .NET, SharePoint 2013, SharePoint 2010, Office 365, SharePoint Online, and other Microsoft products, as well as some discussion of general programming related concepts.

This Blog



Corey Roth [MVP]

A SharePoint MVP bringing you the latest time saving tips for SharePoint 2013, Office 365 / SharePoint Online and Visual Studio 2013.

RSS Tool-kit and RSS Data Source

Ok, well it's been a while since I have posted but now that I am back from vacation and everything, I should be providing more content reguarly.

Not to just regurgitate stuff from Scott's blog, but I figured some of you might find this useful for your own sites and what not. There is a new RSS Tool-Kit that includes an RSS datasource that allows you to do data binding just to GridViews, Repeaters, etc, just like you could with a SqlDataSource or ObjectDataSource. You can do binding in the wizard with it and everything. It's definitely a great way to integrate RSS feeds into your site and easily format them the way you want.

On top of that it supports caching and everything. The cache settings are of course configurable. I was thinking about writing something like this myself just today, but alas it looks like someone beat me to it. The source code is also provided if you have any need to extend it.

This is what the markup would look like to bind to a feed.

<asp:DataList ID="MyDataList" DataSourceID="MyRssDataSource"  runat="server">
     <asp:HyperLink runat="server" 
NavigateUrl='<%# Eval("link") %>' 
Text='<%# Eval("title") %>'>
  <RssToolKit:RssDataSource id="MyRssDataSource" runat="server" 

RSS Tool-Kit

Read the complete post at

2015 dotnetmafia.
Powered by Community Server (Non-Commercial Edition), by Telligent Systems