From 97227a067ba055dd1652505ec8e4817105932d15 Mon Sep 17 00:00:00 2001 From: Alexandre Alapetite Date: Mon, 2 Dec 2013 00:06:52 +0100 Subject: OPML : Import instantané MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Clôture https://github.com/marienfressinaud/FreshRSS/issues/228 Nous perdons le champ description des flux, mais celui-ci pourrait par exemple être récupéré au premier rafraîchissement du flux si nécessaire --- lib/lib_rss.php | 3 +++ 1 file changed, 3 insertions(+) (limited to 'lib/lib_rss.php') diff --git a/lib/lib_rss.php b/lib/lib_rss.php index c4ca03165..9726cc92b 100644 --- a/lib/lib_rss.php +++ b/lib/lib_rss.php @@ -169,6 +169,9 @@ function getFeed ($outline, $cat_id) { $feed = new Feed ($url); $feed->_category ($cat_id); $feed->_name ($title); + if (isset($outline['htmlUrl'])) { + $feed->_website((string)$outline['htmlUrl']); + } return $feed; } -- cgit v1.2.3