diff options
author | Alessandro Cosentino <cosenal@gmail.com> | 2012-07-31 23:40:22 -0400 |
---|---|---|
committer | Alessandro Cosentino <cosenal@gmail.com> | 2012-07-31 23:40:22 -0400 |
commit | eca49d72c47eb9b59cb3192f24a442d4d3303092 (patch) | |
tree | 70bf63e7cf73fa3642c55b750972273973579cb6 /opmlparser.php | |
parent | 44510977870d854196a28c644a7b61c7bbe55e6f (diff) |
news app welcomes the new settings popup
Diffstat (limited to 'opmlparser.php')
-rw-r--r-- | opmlparser.php | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/opmlparser.php b/opmlparser.php index 072c74b86..34f8f115e 100644 --- a/opmlparser.php +++ b/opmlparser.php @@ -56,13 +56,14 @@ class OPMLParser { private function parseFeed($rawfeed) { $url = (string)$rawfeed['xmlUrl']; - + echo $url; + $feed = OC_News_Utils::fetch($url); - if ($feed !== null) { + + if ($feed != null) { $title = $rawfeed['title']; $feed->setTitle($title); } - echo $url; return $feed; } |