From 59ba2c75c780b95df9cde9405b82196c5e6983ca Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Sun, 27 Nov 2005 20:33:59 +0100 Subject: [PATCH] more atom compatibility workarounds --- functions.php | 1 + 1 file changed, 1 insertion(+) diff --git a/functions.php b/functions.php index bb1a4c770..d1c43eeb0 100644 --- a/functions.php +++ b/functions.php @@ -253,6 +253,7 @@ $rss_2_date = $item['pubdate']; $rss_1_date = $item['dc']['date']; $atom_date = $item['issued']; + if (!$atom_date) $atom_date = $item['updated']; if ($atom_date != "") $entry_timestamp = parse_w3cdtf($atom_date); if ($rss_1_date != "") $entry_timestamp = parse_w3cdtf($rss_1_date);