]> git.mxchange.org Git - friendica.git/blobdiff - include/Scrape.php
repeated items from ostatus and diaspora are now using the share-element.
[friendica.git] / include / Scrape.php
index 7eaac3b44924669981b072bfe7347bf6c9f1b170..611cbda8860e05a48eb6237523001f0da90af354 100644 (file)
@@ -590,6 +590,12 @@ function probe_url($url, $mode = PROBE_NORMAL) {
 
                $check_feed = false;
 
+               if(stristr($url,'tumblr.com') && (! stristr($url,'/rss'))) {
+                       $poll = $url . '/rss';
+                       $check_feed = true;
+                       // Will leave it to others to figure out how to grab the avatar, which is on the $url page in the open graph meta links
+               }
+
                if($twitter || ! $poll)
                        $check_feed = true;
                if((! isset($vcard)) || (! x($vcard,'fn')) || (! $profile))