diff options
author | tommy tomson <thomas.bierey@gmx.de> | 2012-03-02 04:58:37 +0100 |
---|---|---|
committer | tommy tomson <thomas.bierey@gmx.de> | 2012-03-02 04:58:37 +0100 |
commit | 1fac47a2470c392adc2f5a2201f618a804be5136 (patch) | |
tree | 0fc2c1a194989fab1948a2dff7f0e46af6facaa3 /include/Scrape.php | |
parent | 5183e737d0cb53aa9f380051ca130d010893009f (diff) | |
parent | 8207272fbc9cdc76988a2848552528e28951fe27 (diff) | |
download | volse-hubzilla-1fac47a2470c392adc2f5a2201f618a804be5136.tar.gz volse-hubzilla-1fac47a2470c392adc2f5a2201f618a804be5136.tar.bz2 volse-hubzilla-1fac47a2470c392adc2f5a2201f618a804be5136.zip |
Merge remote-tracking 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 { |