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:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user