summaryrefslogtreecommitdiff
path: root/js/bootswatch.js
blob: 231ad8f9d4e0cdaa01bb5e9738c5bcb973519c8f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
$('a[rel=tooltip]').tooltip({
	'placement': 'bottom'
});

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);
    }
  });
}