Something's broken with my browser...
This commit is contained in:
parent
0827820435
commit
615d028228
|
@ -5,11 +5,9 @@ var rss = [
|
||||||
$(document).ready(function() {
|
$(document).ready(function() {
|
||||||
rss.forEach(function(feed) {
|
rss.forEach(function(feed) {
|
||||||
$.get('/feeds/' + feed + '.rss', function(data) {
|
$.get('/feeds/' + feed + '.rss', function(data) {
|
||||||
$(data).find('.entry').forEach(function(entry) {
|
$(data).find('item').forEach(function(entry) {
|
||||||
var a = $(entry).find('a');
|
var title = $(entry).find('title').text();
|
||||||
var title = a.text();
|
var link = $(entry).find('link').text();
|
||||||
var link = a.attr('href');
|
|
||||||
var text = $(entry).children('.feedEntryContent').text();
|
|
||||||
|
|
||||||
var item = $('<a>')
|
var item = $('<a>')
|
||||||
.attr('href', link)
|
.attr('href', link)
|
||||||
|
|
Loading…
Reference in a new issue