improve recognition of tumblr feeds. I hope we don't need special feed logic to find the feeds for every site on the web. We were so far beyond this ten years ago.

This commit is contained in:
friendica 2012-11-11 00:28:21 -08:00
parent b01ca0e345
commit de5a21bec4
3 changed files with 198 additions and 189 deletions

View File

@ -11,7 +11,7 @@ require_once('include/cache.php');
require_once('library/Mobile_Detect/Mobile_Detect.php');
define ( 'FRIENDICA_PLATFORM', 'Friendica');
define ( 'FRIENDICA_VERSION', '3.0.1521' );
define ( 'FRIENDICA_VERSION', '3.0.1523' );
define ( 'DFRN_PROTOCOL_VERSION', '2.23' );
define ( 'DB_UPDATE_VERSION', 1156 );

View 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;
}
if($twitter || ! $poll)
$check_feed = true;
if((! isset($vcard)) || (! x($vcard,'fn')) || (! $profile))

File diff suppressed because it is too large Load Diff