]> git.mxchange.org Git - friendica.git/blobdiff - include/Scrape.php
some testbubble stuff
[friendica.git] / include / Scrape.php
index 4c4ad3cdb935233d35bc820ff2b607c5c06553da..8344aa7373338d6dc938dbb0ccaf318f8588327d 100755 (executable)
@@ -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 {