diff options
| author | Andrew Dolgov <fox@bah.spb.su> | 2005-11-27 20:33:59 +0100 |
|---|---|---|
| committer | Andrew Dolgov <fox@bah.spb.su> | 2005-11-27 20:33:59 +0100 |
| commit | 59ba2c75c780b95df9cde9405b82196c5e6983ca (patch) | |
| tree | 0cbaba6298a0e7f19e12d323d5f4eb5b8bfd58e0 | |
| parent | 387234f3fd8be6a66ccb2ae3b6a96172a151503d (diff) | |
more atom compatibility workarounds
| -rw-r--r-- | functions.php | 1 |
1 files changed, 1 insertions, 0 deletions
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); |