index: added recent updates
[bootswatch] / js / bootswatch.js
index 82faa2b..93b891f 100644 (file)
@@ -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