aboutsummaryrefslogtreecommitdiffstats
path: root/include/Scrape.php
diff options
context:
space:
mode:
authorFriendika <info@friendika.com>2011-04-04 19:36:18 -0700
committerFriendika <info@friendika.com>2011-04-04 19:36:18 -0700
commit793967a1d3c23fcf1f3b00a2832f51e6f473f4bd (patch)
treeec045409190c042c621874f10cf38cf00488b9b3 /include/Scrape.php
parent178362e50b846aef1caf4e191ea0394c5d636857 (diff)
downloadvolse-hubzilla-793967a1d3c23fcf1f3b00a2832f51e6f473f4bd.tar.gz
volse-hubzilla-793967a1d3c23fcf1f3b00a2832f51e6f473f4bd.tar.bz2
volse-hubzilla-793967a1d3c23fcf1f3b00a2832f51e6f473f4bd.zip
better handling of troublesome feeds.
Diffstat (limited to 'include/Scrape.php')
-rw-r--r--include/Scrape.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/Scrape.php b/include/Scrape.php
index ff9899252..21820ddaf 100644
--- a/include/Scrape.php
+++ b/include/Scrape.php
@@ -216,7 +216,7 @@ function scrape_feed($url) {
}
if(stristr($line,'application/rss+xml') || stristr($s,'<rss')) {
$ret['feed_rss'] = $url;
- return ret;
+ return $ret;
}
}
}