Skip to content

Commit

Permalink
fix newsfeed module for feeds using "a10:updated" tag (#3242)
Browse files Browse the repository at this point in the history
solves  #3238
  • Loading branch information
khassel authored Oct 20, 2023
1 parent 764ca3a commit f46b226
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion modules/default/newsfeed/newsfeedfetcher.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit f46b226

Please sign in to comment.