summaryrefslogtreecommitdiff
path: root/lib/lib_rss.php
diff options
context:
space:
mode:
authorGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2013-12-02 00:06:52 +0100
committerGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2013-12-02 00:06:52 +0100
commit97227a067ba055dd1652505ec8e4817105932d15 (patch)
tree74eba08a89c0140ac14c0b73975a9856dffd6438 /lib/lib_rss.php
parentc39d88b04b58d12c54d76d2f97c4d008fb448160 (diff)
OPML : Import instantané
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
Diffstat (limited to 'lib/lib_rss.php')
-rw-r--r--lib/lib_rss.php3
1 files changed, 3 insertions, 0 deletions
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;
}