(sp2010) RSS Reader Web Part

Downloads: 1,947 File Size: 25.3kB
Posted By: aobi Views: 0
Date Added: 17-Apr-2011

Our version of what is now a very common web part.

Features Include:

  • Multiple RSS Feeds
  • Caching (configurable duration)
  • Basic Authentication
  • Various display options (number of items, feed title, post date, trim size and more...)






1. It is a Farm Solution. You would encounter security issue as shown below if you try to deploy it as a Sandboxed Solution.

    Exception Details: System.Security.SecurityException: Request for the
    permission of type 'System.Net.WebPermission, System, Version=,
    Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.

This is because Sandbox solutions run under partial trust and thus cannot retreive the Feed Url's

2. Use semi-colon (;) as your feed delimeter.


Installation / Deployment:

Run the SharePoint 2010 Management Shell Console which should be located in your Microsoft SharePoint 2010 Products folder of your start menu. 
This automatically loads the Microsoft.SharePoint.PowerShell snappin so that we can execute SharePoint commands. (Remember to use "Run as administrator)

Use the following PowerShell commands for deployment

1) To add the farm solution use the following"Add-SPSolution" command

    Add-SPSolution “C:\<Path to My WSPs>\Obilogic.RSSReader2010.wsp“

2) To install the solution use the following "Install-SPSolution" command

    Install-SPSolution –Identity Obilogic.RSSReader2010.wsp –WebApplication http://<MySPwebapp> -GACDeployment

3) To enable the site collection features use the "Enable-SPFeature" command

    Enable-SPFeature –Identity "Obilogic.RSSReader2010_Obilogic RSS Reader2010 Web Part" –url http://<MySPwebapp>

(these can also be activate/deactivated via the GUI http://<MySPwebapp>/_layouts/ManageFeatures.aspx?Scope=Site)


No comments exist for this file.