From 4665a9218661e7160cd17c27cd620aafd2390564 Mon Sep 17 00:00:00 2001 From: Thomas Park Date: Wed, 22 Aug 2012 10:35:15 -0400 Subject: index: added recent updates --- js/bootswatch.js | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'js') 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 -- cgit v1.2.3