aboutsummaryrefslogtreecommitdiffstats
path: root/include/Scrape.php
diff options
context:
space:
mode:
authorAlexander Kampmann <programmer@nurfuerspam.de>2012-03-07 12:06:09 +0100
committerAlexander Kampmann <programmer@nurfuerspam.de>2012-03-07 12:06:09 +0100
commitb2df1205ef805ab471a73f906d2eda5603a1aa66 (patch)
tree137e81ed5c1227bdd502156811e1ce85e3d23cdc /include/Scrape.php
parentfbc017cdba81fa7b159bca5fd0b3a4fb4885c5ad (diff)
parent0d9c2ca06f9394bc039a43410d3902338e8412a1 (diff)
downloadvolse-hubzilla-b2df1205ef805ab471a73f906d2eda5603a1aa66.tar.gz
volse-hubzilla-b2df1205ef805ab471a73f906d2eda5603a1aa66.tar.bz2
volse-hubzilla-b2df1205ef805ab471a73f906d2eda5603a1aa66.zip
merged
Diffstat (limited to 'include/Scrape.php')
-rwxr-xr-xinclude/Scrape.php5
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 {