collectExpandableDatas(self::URI . 'rss/news.xml'); } protected function parseItem($newsItem){ $item = $this->parseRSS_2_0_Item($newsItem); $item['content'] = $this->ExtractContent($item['uri']); return $item; } private function ExtractContent($url) { $html2 = $this->get_cached($url); $text = '

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

' .'

-

' .'
'.$html2->find('div[itemprop=articleBody]', 0)->innertext.'
'; $premium_article = $html2->find('h2.title_reserve_article', 0); if (is_object($premium_article)) $text = $text.'

'.$premium_article->innertext.'

'; return $text; } }