collectExpandableDatas(self::URI . 'derniere-minute/rss', 10); } protected function parseItem($newsItem){ $item = $this->parseRSS_2_0_Item($newsItem); $item['content'] = $this->NiceMatinExtractContent($item['uri']); return $item; } private function NiceMatinExtractContent($url) { if($this->get_cached_time($url) <= strtotime('-24 hours')) $this->remove_from_cache($url); $html = $this->get_cached($url); if(!$html) return 'Could not acquire content from url: ' . $url . '!'; $content = $html->find('article', 0); if(!$content) return 'Could not find \'section\'!'; $text = preg_replace('##is', '', $content->innertext); $text = strip_tags($text, '