Removed the special detection for facebook and app.net since both provide RSS feeds.
This commit is contained in:
parent
f1c6d6f1ba
commit
25dbf26345
1 changed files with 0 additions and 11 deletions
|
@ -364,17 +364,6 @@ function probe_url($url, $mode = PROBE_NORMAL) {
|
||||||
$network = NETWORK_TWITTER;
|
$network = NETWORK_TWITTER;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (strpos($url,'www.facebook.com')) {
|
|
||||||
$connectornetworks = true;
|
|
||||||
$network = NETWORK_FACEBOOK;
|
|
||||||
}
|
|
||||||
|
|
||||||
if (strpos($url,'alpha.app.net')) {
|
|
||||||
$appnet = true;
|
|
||||||
$network = NETWORK_APPNET;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
// Twitter is deactivated since twitter closed its old API
|
// Twitter is deactivated since twitter closed its old API
|
||||||
//$twitter = ((strpos($url,'twitter.com') !== false) ? true : false);
|
//$twitter = ((strpos($url,'twitter.com') !== false) ? true : false);
|
||||||
$lastfm = ((strpos($url,'last.fm/user') !== false) ? true : false);
|
$lastfm = ((strpos($url,'last.fm/user') !== false) ? true : false);
|
||||||
|
|
Loading…
Reference in a new issue