RSS Improvements to allow more template Tags like ([RSS_ENTRY_TITLE], [RSS_ENTRY_DATE], [RSS_ENTRY_LINK], [RSS_ENTRY_CONTENT], [RSS_ENTRY_SUMMARY], [RSS_ENTRY_IMAGE_URL])
This commit is contained in:
parent
c4b80fff93
commit
92bffd78de
2 changed files with 8 additions and 3 deletions
|
@ -50,7 +50,9 @@ module.exports.fetch = (url, callback) => {
|
|||
date: item.date || item.pubdate || item.pubDate || new Date(),
|
||||
guid: item.guid || item.link,
|
||||
link: item.link,
|
||||
content: item.description || item.summary
|
||||
content: item.description || item.summary,
|
||||
summary: item.summary || item.description,
|
||||
image_url: item.image.url,
|
||||
};
|
||||
entries.push(entry);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue