diff options
author | Michael <icarus@dabo.de> | 2012-03-02 10:34:18 +0100 |
---|---|---|
committer | Michael <icarus@dabo.de> | 2012-03-02 10:34:18 +0100 |
commit | 20817b4b8ea8b7d074d57a3fd752862931cf711c (patch) | |
tree | fd0344bd209043c4d8191ef68dceb1499cf7dd9a /include/Scrape.php | |
parent | 52ea842e872cc004fd012496c828e9fb6186bec9 (diff) | |
parent | f1bf6dcdfb89bf3c21e498ba3d76c600dafed934 (diff) | |
download | volse-hubzilla-20817b4b8ea8b7d074d57a3fd752862931cf711c.tar.gz volse-hubzilla-20817b4b8ea8b7d074d57a3fd752862931cf711c.tar.bz2 volse-hubzilla-20817b4b8ea8b7d074d57a3fd752862931cf711c.zip |
Merge remote branch 'upstream/master'
Diffstat (limited to 'include/Scrape.php')
-rwxr-xr-x | include/Scrape.php | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/Scrape.php b/include/Scrape.php index 4c4ad3cdb..8344aa737 100755 --- a/include/Scrape.php +++ b/include/Scrape.php @@ -255,6 +255,11 @@ function scrape_feed($url) { } } } + // perhaps an RSS version 1 feed with a generic or incorrect content-type? + if(stristr($s,'</item>')) { + $ret['feed_rss'] = $url; + return $ret; + } } try { |