1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-26 00:21:29 +00:00

opml import: add workaround for LiveJournal OPML files with xmlURL attribute

This commit is contained in:
Andrew Dolgov
2010-09-21 11:53:54 +04:00
parent b25df544b4
commit 0d471a1233
2 changed files with 8 additions and 0 deletions

View File

@@ -39,6 +39,10 @@
}
$feed_url = db_escape_string($outline->get_attribute('xmlUrl'));
if (!$feed_url)
$feed_url = db_escape_string($outline->get_attribute('xmlURL'));
$site_url = db_escape_string($outline->get_attribute('htmlUrl'));
if ($cat_title && !$feed_url) {