Wednesday, 5 November 2014

RSS FEED

Introduction

RSS FEED

Really simple syndicate technology which is widely used for transmitting information across internet and intranet.
Sites offer rss feed which you can subscribe and gets information from source site.
You can also subscribe rss feed for sharepoint list/libraries.

Building the Sample

Needs to RSS feed setting is enable at web application level

  • Go to CA
  • Go to Application Management
  • Go to Manage Application and choose web application
  • Under ribbon , click on General settings
  • Check RSS field is checked or not. If not please checked it and saved.

Need to check rss feed is enable at site collection level.

  • Open site collection
  • Go to site Actions
  • Go to Site settings
  • Under Site collection administration => RSS
  • Click RSS
  • Check "allow rss at site collection" is checked or not. If not please enable it by checking.
  • Check "allow rss at site"

Now we are ready for implementing rss feed on the site.





Description
For implementing rss feed on the site we have to do two things:

  • First we need obtain source site rss feed url
  • Then we need add that url to some web part (rss viewer) or page

How to obtain rss feed url of some site.

Note : you will get rss feed url of only those site which were providing rss feed for their site.

Open the source site and then click on the rss feed sign which is on favorites bar.As you click on this sign source site is gets redirect to its rss site.




For example : I hit http://timesofindia.indiatimes.com/ then i click on rss feed sign in avorite bar , it redirect to its rss feed site url: http://timesofindia.indiatimes.com/rssfeeddefault.cms .

Please copied the rss feed url of the source site.

Open the page where you want to see rss feed result. RSS feed can be added to rss viewer webpart and page too.

Add rss viewer webpart to the page. Edit web part and add the "source rss feed url here". Click on save.

Now rss viewer will show the rss feed results.
 



More Information

How to set time interval for rss feed ?





  • Go to Site Action
  • Go to Site Settings
  • Click on RSS
  • Under Advance Setings , set Time to live = ?(minutes)
 
How to set item limit?
  • Open list/ library settings
  • under communication click on rss settings
  • Item Limit set here
  • Aslo set upto how manys days these data would be visibe in rss feed

No comments:

Post a Comment