diff --git a/bridges/MsnMondeBridge.php b/bridges/MsnMondeBridge.php index f3620a29..14d9a65d 100644 --- a/bridges/MsnMondeBridge.php +++ b/bridges/MsnMondeBridge.php @@ -9,7 +9,7 @@ class MsnMondeBridge extends BridgeAbstract{ } private function MsnMondeExtractContent($url, &$item) { - $html2 = $this->getSimpleHTLDOM($url); + $html2 = $this->getSimpleHTMLDOM($url); $item->content = $html2->find('#content', 0)->find('article', 0)->find('section', 0)->plaintext; $item->timestamp = strtotime($html2->find('.authorinfo-txt', 0)->find('time', 0)->datetime); } diff --git a/bridges/NextInpactBridge.php b/bridges/NextInpactBridge.php index bef9e193..1c1186df 100644 --- a/bridges/NextInpactBridge.php +++ b/bridges/NextInpactBridge.php @@ -15,7 +15,7 @@ class NextInpactBridge extends BridgeAbstract { } private function ExtractContent($url) { - $html2 = $this->getSimpleHTLDOM($url); + $html2 = $this->getSimpleHTMLDOM($url); $text = '

'.$html2->find('span.sub_title', 0)->innertext.'

' .'

-

' .'
'.$html2->find('div[itemprop=articleBody]', 0)->innertext.'
';