Project Description
This web part displays aggregated RSS feeds from a local or remote location.


These are the features provided by this webpart:
  • It uses XSLT (it also supports dataform runtime extension functions - ddwrt) to transform the rss xml into html.
  • It can connect to rss that requires authentication as well.
  • It can aggregate several feeds and display them together.

Overview

This web part is packaged as a SharePoint solution. When deployed, this solution adds a site feature that contains the web part. Thus, once activated the web part is available on the site collection.

System requirements

This web part is built for SharePoint 2007 WSS or MOSS.

Installation

Run the following commands at the command prompt to deploy the solution on each front end server in your farm:

stsadm.exe -o retractsolution -name "RSSViewerWithAuthentication.wsp" -immediate -allcontenturls
stsadm.exe -o execadmsvcjobs
stsadm.exe -o deletesolution -name "RSSViewerWithAuthentication.wsp"
stsadm.exe -o execadmsvcjobs
stsadm.exe -o addsolution -filename "RSSViewerWithAuthentication.wsp"
stsadm.exe -o execadmsvcjobs
stsadm.exe -o deploysolution -name "RSSViewerWithAuthentication.wsp" -immediate -allcontenturls -allowGacDeployment 
             -allowCasPolicies
stsadm.exe -o execadmsvcjobs


Optionally, instead of the parameter -allcontenturls you can provide the -url parameter to deploy the solution only on a specific site collection.
Configuration

To configure this web part you have to switch the web part to edit mode and change its properties. Browse to your page where the web part is placed, open the contextual menu of the web part and click "Modify shared web part". In the property sheet on the right, under the RSS category you will have the following properties to configure:
  • XML - You can place here the xml content of your RSS (if you need a static feed)
  • XmlLink - Here you can type the URL to the RSS feed you want displayed (if you fill this, the previous property will not be used)
  • XSLT - Place here the content of the XSLT that will transform the RSS into HTML. By default, this property already contains an XSLT that can render RSS, RDF, ATOM, ATOM2 feeds.
  • XsltLink - You can place here a link to the XSLT to be used (if you use this, the previous property will not be used).
  • Username - The username to be used for authentication when connecting to the RSS provided on XmlLink or to the XsltLink.
  • Password - The password to be used for authentication with the above username.
  • Domain - The domain to be used for the authentication with the above username and password.
  • CredentialsType - It have three possible values:
  • DefaultCredentials - In this case the current user's credentials are used.
  • DefaultNetworkCredentials - In this case the current users' network credentials are used.
  • CustomCredentials - In this case the domain/username/password provided above will be used.
  • RequestTimeout - This is the timeout (in milliseconds) used when connecting to the RSS (XmlLink property) or the XsltLink.
  • Proxy authentication - For servers that connects to RSS feeds via a proxy.

Example screenshot
RSS_screenshot.png

Last edited Aug 9, 2010 at 11:51 AM by nsergiu, version 7