Skip to content

A free, self-hostable news aggregator…

OPML : Import instantané

Alexandre Alapetite97227a067ba0
diff --git a/app/controllers/feedController.php b/app/controllers/feedController.php
index d810296b0..f84a952ed 100755
--- a/app/controllers/feedController.php
+++ b/app/controllers/feedController.php
@@ -300,8 +300,6 @@ class feedController extends ActionController {
$i = 0;
foreach ($feeds as $feed) {
try {
- $feed->load ();
-
$values = array (
'id' => $feed->id (),
'url' => $feed->url (),
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;
}