Monthly Archives: February 2011

Posted by Jim on February 16, 2011
SharePoint / Comments Off on

RSS Feed in SharePoint

Definition: So now, after you are aware of your RSS feed requirement for your web site, the next step is how would you implement! Types of RSS Feed: There could be two types of RSS Feed link: Internal or External. Implementation: Internal RSS Feed Web Part: Any RSS Feed link (xml) which is hosted inside company intranet is categorized as RSS Feed internal link. Now SharePoint servers’ security can be configured in two ways: Kerberos or NTLM. If Kerberos authentication in configured (enabled) on SharePoint server then you can use out of the box RSSViewer Web Part to render RSS feed coming from internal RSS feed link. To enable Kerberos authentication, follow this link: http://blogs.msdn.com/b/martinkearn/archive/2007/04/23/configuring-kerberos-for-sharepoint-2007-part-1-base-configuration-for-sharepoint.aspx If the security configuration is NTLM and you would try to configure RSS view webpart with internal RSS feed link, it will throw error like this: “The RSS Web Part does not support authenticated feeds.” In that case, use the custom RSS feed web part available here: http://rssreaderwebpart.codeplex.com/sourcecontrol/list/changesets?ProjectName=rssreaderwebpart Or otherwise, if web site’s security permits, then give anonymous access to underlying list/library. External RSS Feed Web Part: Any RSS feed link which is hosted on internet (e.g. CNN RSS feed) is called External RSS Feed. Normally External RSS feed links don’t work as-is on Company Intranet sites, since they use proxy servers to connect to internet. In that case use the following link to enable external RSS feed in your environment. http://blogs.msdn.com/b/skelley/archive/2007/06/27/enabling-external-rss-feeds.aspx
One important point: There are some scenarios where you need to embed RSS feed code inside page/page layout /master page and outside web part zone. In that case, the RSS viewer OOB web part will not work. The RSSaggregator tag is not recognizable outside web part zone. In that case, use Data View Web Part. Create a Data Source of type “Server side scripts” and connect that to XML RSS feed link. The you can copy the Data View  Web Part code and place it at appropriate place in your page/page layout/master page.