From: Andrew Dolgov Date: Sun, 27 Nov 2005 19:33:59 +0000 (+0100) Subject: more atom compatibility workarounds X-Git-Tag: schema_feature_freeze_for_1.1~54 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=59ba2c75c780b95df9cde9405b82196c5e6983ca;p=tt-rss.git more atom compatibility workarounds --- diff --git a/functions.php b/functions.php index bb1a4c77..d1c43eeb 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);