mirror of
https://github.com/MichMich/MagicMirror.git
synced 2025-06-27 03:39:55 +00:00
fix newsfeed module for feeds using "a10:updated" tag (#3242)
solves #3238
This commit is contained in:
parent
764ca3ac5c
commit
f46b226940
@ -24,6 +24,7 @@ _This release is scheduled to be released on 2024-01-01._
|
||||
- Fix the option eventClass on customEvents.
|
||||
- Fix yr API version in locationforecast call (#3227)
|
||||
- Fix cloneObject() function to respect RegExp (#3237)
|
||||
- Fix newsfeed module for feeds using "a10:updated" tag (#3238)
|
||||
|
||||
## [2.25.0] - 2023-10-01
|
||||
|
||||
|
@ -48,7 +48,7 @@ const NewsfeedFetcher = function (url, reloadInterval, encoding, logFeedWarnings
|
||||
parser.on("item", (item) => {
|
||||
const title = item.title;
|
||||
let description = item.description || item.summary || item.content || "";
|
||||
const pubdate = item.pubdate || item.published || item.updated || item["dc:date"];
|
||||
const pubdate = item.pubdate || item.published || item.updated || item["dc:date"] || item["a10:updated"];
|
||||
const url = item.url || item.link || "";
|
||||
|
||||
if (title && pubdate) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user