Skip to content

Commit

Permalink
Merge pull request jfhovinne#2 from rmarquoi/master
Browse files Browse the repository at this point in the history
Adding enclosure tag (RSS 2.0 specification)
  • Loading branch information
mattmarcum committed Jul 20, 2014
2 parents ccdb8bd + 8412700 commit ed9ad3a
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 ed9ad3a

Please sign in to comment.