summaryrefslogtreecommitdiff
path: root/functions.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2005-11-27 20:33:59 +0100
committerAndrew Dolgov <[email protected]>2005-11-27 20:33:59 +0100
commit59ba2c75c780b95df9cde9405b82196c5e6983ca (patch)
tree0cbaba6298a0e7f19e12d323d5f4eb5b8bfd58e0 /functions.php
parent387234f3fd8be6a66ccb2ae3b6a96172a151503d (diff)
more atom compatibility workarounds
Diffstat (limited to 'functions.php')
-rw-r--r--functions.php1
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);