Skip to content

Commit

Permalink
Adding enclosure tag (RSS 2.0 specification)
Browse files Browse the repository at this point in the history
  • Loading branch information
rmarquois committed Nov 12, 2012
1 parent 0d411f7 commit 8412700
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/jrss.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ JRss.prototype = {
item.description = jQuery(this).find('description').eq(0).text();
item.updated = jQuery(this).find('pubDate').eq(0).text();
item.id = jQuery(this).find('guid').eq(0).text();
item.enclosure = jQuery(this).find('enclosure').attr('url');

feed.items.push(item);
});
Expand Down

0 comments on commit 8412700

Please sign in to comment.