From 6e2c7ceaf43c9e3f504fc2778c6eef23d9d1e25b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pierre=20Mazi=C3=A8re?= Date: Tue, 9 Aug 2016 14:57:42 +0200 Subject: [PATCH] bridges: rename file_get_html to getSimpleHTMLDOM MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Pierre Mazière --- bridges/ArstechnicaBridge.php | 4 ++-- bridges/BastaBridge.php | 2 +- bridges/CastorusBridge.php | 22 +++++++++++----------- bridges/EstCeQuonMetEnProdBridge.php | 4 ++-- bridges/NextgovBridge.php | 6 +++--- bridges/NumeramaBridge.php | 4 ++-- bridges/SensCritiqueBridge.php | 12 ++++++------ bridges/ShanaprojectBridge.php | 4 ++-- bridges/TheHackerNewsBridge.php | 6 +++--- bridges/WeLiveSecurityBridge.php | 4 ++-- bridges/WikipediaBridge.php | 4 ++-- bridges/ZDNetBridge.php | 4 ++-- 12 files changed, 38 insertions(+), 38 deletions(-) diff --git a/bridges/ArstechnicaBridge.php b/bridges/ArstechnicaBridge.php index 59f0fab..a0fcb54 100644 --- a/bridges/ArstechnicaBridge.php +++ b/bridges/ArstechnicaBridge.php @@ -29,7 +29,7 @@ class ArstechnicaBridge extends BridgeAbstract { function ExtractContent($url) { #echo $url; - $html2 = file_get_html($url); + $html2 = getSimpleHTMLDOM($url); $text = $html2->find("section[id='article-guts']", 0); /*foreach ($text->find('