From 25dbf26345b0871a8c039c58a6e4b4b68ace0554 Mon Sep 17 00:00:00 2001 From: Michael Vogel Date: Tue, 24 Mar 2015 23:08:46 +0100 Subject: [PATCH] Removed the special detection for facebook and app.net since both provide RSS feeds. --- include/Scrape.php | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/include/Scrape.php b/include/Scrape.php index c2917d5893..ce18bb1033 100644 --- a/include/Scrape.php +++ b/include/Scrape.php @@ -364,17 +364,6 @@ function probe_url($url, $mode = PROBE_NORMAL) { $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 = ((strpos($url,'twitter.com') !== false) ? true : false); $lastfm = ((strpos($url,'last.fm/user') !== false) ? true : false); -- 2.39.5