diff options
author | Alexander Kampmann <programmer@nurfuerspam.de> | 2012-03-07 12:06:09 +0100 |
---|---|---|
committer | Alexander Kampmann <programmer@nurfuerspam.de> | 2012-03-07 12:06:09 +0100 |
commit | b2df1205ef805ab471a73f906d2eda5603a1aa66 (patch) | |
tree | 137e81ed5c1227bdd502156811e1ce85e3d23cdc /include/Scrape.php | |
parent | fbc017cdba81fa7b159bca5fd0b3a4fb4885c5ad (diff) | |
parent | 0d9c2ca06f9394bc039a43410d3902338e8412a1 (diff) | |
download | volse-hubzilla-b2df1205ef805ab471a73f906d2eda5603a1aa66.tar.gz volse-hubzilla-b2df1205ef805ab471a73f906d2eda5603a1aa66.tar.bz2 volse-hubzilla-b2df1205ef805ab471a73f906d2eda5603a1aa66.zip |
merged
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 { |