Skip to content

AIRSHP/Feed-To-JSON

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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);
	}
});

About

jQuery extension to fetch a rss feed and return it as JSON object

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •