Merge pull request #503 from derwehr/develop

added url to the newsfeed fetcher
This commit is contained in:
Michael Teeuw 2016-11-07 20:48:29 +01:00 committed by GitHub
commit df00a1e0a3

View File

@ -46,6 +46,7 @@ var Fetcher = function(url, reloadInterval, encoding) {
var title = item.title;
var description = item.description || item.summary || item.content || '';
var pubdate = item.pubdate || item.published || item.updated;
var url = item.url || item.link || '';
if (title && pubdate) {
@ -56,6 +57,7 @@ var Fetcher = function(url, reloadInterval, encoding) {
title: title,
description: description,
pubdate: pubdate,
url: url,
});
} else {