Add dc:date to parsing in newsfeed module, which allows parsing of more rss feeds.

This commit is contained in:
Thomas Mirlacher
2018-03-10 00:30:45 +01:00
parent fb7e97b8ad
commit fa45e66da6
2 changed files with 2 additions and 1 deletions

View File

@@ -45,7 +45,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 pubdate = item.pubdate || item.published || item.updated || item['dc:date'];
var url = item.url || item.link || "";
if (title && pubdate) {