summaryrefslogtreecommitdiffstats
path: root/opmlparser.php
diff options
context:
space:
mode:
authorAlessandro Cosentino <cosenal@gmail.com>2012-07-31 23:40:22 -0400
committerAlessandro Cosentino <cosenal@gmail.com>2012-07-31 23:40:22 -0400
commiteca49d72c47eb9b59cb3192f24a442d4d3303092 (patch)
tree70bf63e7cf73fa3642c55b750972273973579cb6 /opmlparser.php
parent44510977870d854196a28c644a7b61c7bbe55e6f (diff)
news app welcomes the new settings popup
Diffstat (limited to 'opmlparser.php')
-rw-r--r--opmlparser.php7
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;
}