Created
December 3, 2010 23:11
-
-
Save atheken/727703 to your computer and use it in GitHub Desktop.
Using JSONr
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 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