Monday, 1 August 2011

Open RSS Feed link in New window RSS Feed Webpart in Sharepoint 2010


To Open the RSS feed link in a New window Follow the Steps below

1. Add an RSS Feed webPart in your Page.

2. Edit the WebPart and click on the XSL Editor button to open XSLT for the webpart

3. Copy and Paste the XSLT in a Notepad and serach for the following
<a href=”{ddwrt:EnsureAllowedProtocol(string(atom2:link/@href))}”>More…</a>

4. Now add the target=”_blank” to the above line like below

<a href=”{ddwrt:EnsureAllowedProtocol(string(atom2:link/@href))}” target=”_blank”>More…</a>

5. Paste the XSLT back to the XSLT webPart and save the wbepart.

6. Now when you will click on the RSS Feed news link it will expand with the short description and a link to "More" which when clicked will be opened in a new window.

Ads by Google

No comments:

Post a Comment