diff --git a/bridges/Rue89Bridge.php b/bridges/Rue89Bridge.php index 3bb313d3..f1910c57 100644 --- a/bridges/Rue89Bridge.php +++ b/bridges/Rue89Bridge.php @@ -5,6 +5,8 @@ * * @name Rue89 * @description Returns the 5 newest posts from Rue89 (full text) +* @update 2015-01-30 +* @maintainer pit-fgfjiudghdf */ class Rue89Bridge extends BridgeAbstract{ public function collectData(array $param){ @@ -16,11 +18,17 @@ class Rue89Bridge extends BridgeAbstract{ function Rue89ExtractContent($url) { $html2 = file_get_html($url); //$text = $html2->find('div[class=text]', 0)->innertext; - $text = $html2->find('div article', 0)->innertext; - //$text = $html2->find('div.article', 0)->innertext; - //$text = $html2->find('div[id=main]', 0)->innertext; - //$text = $html2->find('div[id=article]', 0)->innertext; - //$text = preg_replace('/(