Skip to content

Instantly share code, notes, and snippets.

@atheken
Created December 3, 2010 23:11
Show Gist options
  • Save atheken/727703 to your computer and use it in GitHub Desktop.
Save atheken/727703 to your computer and use it in GitHub Desktop.
Using JSONr
// 0. find your XML feed url and combine it with
// (ex. 'http://news.google.com?output=rss&q=javascript')
var jsonFeed = 'http://jsonr.com/json/news.google.com?output=rss&q=javascript'
//1. get the json and apply it.
jQuery.getJSON(jsonFeed,null,function(jsonObj){
//2. use the jsonObj for good.
alert(jsonObj);
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment