summaryrefslogtreecommitdiff
path: root/classes/feeditem/atom.php
diff options
context:
space:
mode:
Diffstat (limited to 'classes/feeditem/atom.php')
-rw-r--r--classes/feeditem/atom.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/classes/feeditem/atom.php b/classes/feeditem/atom.php
index 489c5b148..c9f5b5c62 100644
--- a/classes/feeditem/atom.php
+++ b/classes/feeditem/atom.php
@@ -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() {