]> git.wh0rd.org Git - tt-rss.git/commitdiff
more atom compatibility workarounds
authorAndrew Dolgov <fox@bah.spb.su>
Sun, 27 Nov 2005 19:33:59 +0000 (20:33 +0100)
committerAndrew Dolgov <fox@bah.spb.su>
Sun, 27 Nov 2005 19:33:59 +0000 (20:33 +0100)
functions.php

index bb1a4c7709fe4d3d0b7d16e23373af7c76e38e4b..d1c43eeb0597a8cf636446390c06620c8adedaba 100644 (file)
                                $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);