mirror of
https://github.com/MichMich/MagicMirror.git
synced 2025-07-06 07:37:41 +00:00
quick fix to prevent issues with feeds that omit url and link
This commit is contained in:
parent
66ef72a040
commit
41327bfb03
@ -46,7 +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;
|
||||
var url = item.url || item.link || '';
|
||||
|
||||
if (title && pubdate) {
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user