more atom compatibility workarounds

This commit is contained in:
Andrew Dolgov 2005-11-27 20:33:59 +01:00
parent 387234f3fd
commit 59ba2c75c7
1 changed files with 1 additions and 0 deletions

View File

@ -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);