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.

2022.09-rc
friendica 2012-11-11 00:28:21 -08:00
rodzic b01ca0e345
commit de5a21bec4
3 zmienionych plików z 198 dodań i 189 usunięć

Wyświetl plik

@ -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 );

Wyświetl plik

@ -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))

Plik diff jest za duży Load Diff