...
 
Commits (1)
......@@ -119,11 +119,15 @@ const Item = function (i) {
this.title = i.title.length() ? i.title[0].toString() : ''; // uh ...
this.date = i.pubDate.length() ? i.pubDate[0].toString() : (i.updated.length() ? i.updated[0].toString() : '');
this.author = i.author.length() ? i.author.toString() : '';
this.body = i.description.length() ? i.description[0].toString() : (i.summary.length() ? i.summary[0].toString() : '');
this.body = '';
this.content = i.encoded.length() ? i.encoded.toString() : '';
this.link = i.link.length() ? skipsp(truncsp(i.link[0].toString())) : '';
this.enclosures = [];
if (i.description.length()) this.body += i.description[0].toString();
if (i.summary.length()) this.body += i.summary[0].toString();
if (i.content.length()) this.body += i.content[0].toString();
var enclosures = i.enclosure.length();
for (var n = 0; n < enclosures; n++) {
this.enclosures.push({
......