From 70092de37594d677bac95f859eb4b0703e574e13 Mon Sep 17 00:00:00 2001 From: Stephen Hartley Date: Tue, 6 May 2025 15:59:36 +0100 Subject: [PATCH] Support explicitly namespaced `atom:updated` field --- syndicatedpost.class.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/syndicatedpost.class.php b/syndicatedpost.class.php index 6548aef..e12235b 100644 --- a/syndicatedpost.class.php +++ b/syndicatedpost.class.php @@ -547,6 +547,8 @@ public function updated ($params = array(), $default = -1) { $date = $this->item['modified']; elseif (isset($this->item['updated'])): // Atom 1.0 $date = $this->item['updated']; + elseif (isset($this->item['atom']['updated'])): // Atom 1.0 + $date = $this->item['atom']['updated']; endif; if (strlen($date) > 0) :