Windows Live Spaces .Net Class Library Helper

One of my projects this year was re-designing this very site, andrewlong.com.  I wanted to make the site a blog-type site, but didn’t want to install 3rd party blog software or write my own blog system.  Well, since I already had a Windows Live Spaces site setup, and the Spaces team has done a great job of exposing all of a Spaces site’s content via RSS, I decided to whip up a .Net class library to make it a little easier to consume the Spaces RSS feeds.  The library includes all the functionality that I used to setup the front page of this site, as well as the categories, archive, and photo album functionality on this site.  The library also includes support for caching the RSS Feeds, and I’ve included a .chm file in the download.

Sample Code to retrieve a blog feed and bind the RSSItems to a GridView:

SpacesRssHelper.RSSFeed rssFeed = SpacesRssHelper.RSSFeed.GetFeed(
            WebConfigurationManager.AppSettings["SpacesName"],
            SpacesRssHelper.Enums.FeedType.Blog,
            6);

GridView.DataSource = rssFeed.RSSItems;
GridView.DataBind();

Download SpacesRssHelper

Advertisements

About Andrew Long

Web developer, Windows Phone developer: http://bit.ly/andrewlongWP, IBM Bluemix Evangelist: http://bit.ly/bluemixtrial
This entry was posted in Computers and Internet. Bookmark the permalink.

Leave a Reply

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

WordPress.com Logo

You are commenting using your WordPress.com 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