Skip to content
January 8, 2010 / red1s

RSS Feeds in SharePoint 2010 – Using an XML webpart.

Recently I had to post an RSS Feed into a SharePoint 2010 site however wasn’t able to access the admin console.

The following method was used to edit the an XML web part to draw an RSS Feed out of any site delivering RSS Feeds – pretty useful as well just for displaying standard RSS Feed info

  1. Add a XML Web part to your page


  1. In Foundation this can be found under the Miscellaneous category of the webpart menu:


  1. Once added open up the webpart menu


  1. We’ll only need to place the XML link to the RSS Feed in our XML link area


  1. Open up the XSL Editor by hitting the XSL Editor button:


  1. Place the following XSL markup into the window – which will format the items into a list


<?xml version=”1.0″ encoding=”UTF-8″?>

<xsl:stylesheet version=”1.0″



<xsl:output method=”xml” omit-xml-declaration=”yes” indent=”yes”/>

<xsl:template match=”/”>


<xsl:apply-templates select=”rss/channel”/>



<xsl:template match=”rss/channel”>

<xsl:variable name=”link” select=”link”/>

<xsl:variable name=”description” select=”description”/>

<ul><xsl:apply-templates select=”item”/></ul>


<xsl:template match=”item”>

<xsl:variable name=”item_link” select=”link”/>

<xsl:variable name=”item_title” select=”description”/>


<a href=”{$item_link}” title=”{$item_title}”><xsl:value-of select=”title”/></a>




  1. Once done hit ‘OK’ and your output should be as follows:


  1. Name your webpart as required


And you’re good to go!

Just as a end note, by modifying the XSL you are able to then add images , modify the text style etc.

Digg This

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 )

Google photo

You are commenting using your Google 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 )

Connecting to %s

%d bloggers like this: