Skip to content
jQuery extension to fetch a rss feed and return it as JSON object
Branch: master
Clone or download
Latest commit 253afa2 Dec 6, 2017
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
README jquery extension support Sep 2, 2011
demo-gimmebar.html demo pages Sep 2, 2011
demo.html demo pages Sep 2, 2011
jquery.feedToJSON.js Fix to yql url Feb 4, 2017

README

this simple jQuery plugin takes a rss feed and returns an object as JSON


SAMPLE USAGE:

//fetch and display an instagram rss feed for recent posts tagged 'tacos'
$.feedToJson({
	feed:'http://instagr.am/tags/tacos/feed/recent.rss',
	success: function(data){
		var $holder = $('<div class="instagramFeed"></div>');
		if(data.item.length > 1) data = data.item;
		$.each(data, function(){
			$holder.append('<img src="'+this.thumbnail.url +'" />');
		});
		$('body').append($holder);
	}
});
You can’t perform that action at this time.