mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-13 13:55:55 +00:00
support dc:date elements in rss and atom feeds
This commit is contained in:
@@ -16,6 +16,12 @@ class FeedItem_Atom extends FeedItem_Common {
|
||||
if ($updated) {
|
||||
return strtotime($updated->nodeValue);
|
||||
}
|
||||
|
||||
$date = $this->xpath->query("dc:date", $this->elem)->item(0);
|
||||
|
||||
if ($date) {
|
||||
return strtotime($date->nodeValue);
|
||||
}
|
||||
}
|
||||
|
||||
function get_link() {
|
||||
|
||||
Reference in New Issue
Block a user