diff options
author | Thomas Park <thomas@thomaspark.me> | 2012-08-22 10:35:15 -0400 |
---|---|---|
committer | Thomas Park <thomas@thomaspark.me> | 2012-08-22 10:35:15 -0400 |
commit | 4665a9218661e7160cd17c27cd620aafd2390564 (patch) | |
tree | ec4e1ab98b24b3097cdded1bbc9ee7b2bebdb45c /js | |
parent | 75714827ad375e7146171afa76b1815910e4b14e (diff) |
index: added recent updates
Diffstat (limited to 'js')
-rw-r--r-- | js/bootswatch.js | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/js/bootswatch.js b/js/bootswatch.js index 82faa2b5..93b891f6 100644 --- a/js/bootswatch.js +++ b/js/bootswatch.js @@ -7,4 +7,14 @@ $('#main-menu').load('/js/snippets/main-menu.html', function(){ $('a[rel=tooltip]').tooltip({ 'placement': 'bottom' }); -});
\ No newline at end of file +}); + +function parseRSS(url, callback) { + $.ajax({ + url: 'http://ajax.googleapis.com/ajax/services/feed/load?v=1.0&num=10&callback=?&q=' + encodeURIComponent(url), + dataType: 'json', + success: function(data) { + callback(data.responseData.feed); + } + }); +}
\ No newline at end of file |