A jQuery plugin will read RSS feeds from any website url using the Google Feeds API. It produces structured HTML with in-built CSS classes for styling. Simple and easy to use.
Reference Url: http://www.zazar.net/developers/zrssfeed/
How to do:
1. Download the latest plugin from the above mentioned URL and add it to your application directory.
2. Include the jQuery and zRSSFeed libraries.
<script src=”http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js” type=”text/javascript”></script>
<script src=”jquery.zrssfeed.min.js” type=”text/javascript”></script>
3. Add a DIV tag where you wish the feed to display and give it an ID. There is no need to specify a class, this will be added.
<div id=”test”><div>
4. Now add the script to call the zRSSFeed plugin with the RSS url and any options. Our example gets 5 feeds from the Reuters site.
<script type=”text/javascript”>
$(document).ready(function () {
$(‘#test’).rssfeed(‘http://feeds.reuters.com/reuters/oddlyEnoughNews’, {
limit: 5
});
});
</script>
5. Finally now you can see the RSS feeds from the specified url.