1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-25 02:01:28 +00:00

support import and export of tt-rss preferences in OPML with DOMDocument OPML path

This commit is contained in:
Andrew Dolgov
2010-06-29 14:26:10 +04:00
parent 50e7dd7d01
commit e955834551
3 changed files with 69 additions and 16 deletions

View File

@@ -824,10 +824,11 @@
$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);
if ($rss_2_date != "") $entry_timestamp = strtotime($rss_2_date);
}
if ($entry_timestamp == "" || $entry_timestamp == -1 || !$entry_timestamp) {