collectExpandableDatas(self::URI . 'rss/news.xml', 10); } protected function parseItem($newsItem){ $item = $this->parseRSS_2_0_Item($newsItem); $item['content'] = $this->ExtractContent($item['uri']); return $item; } private function ExtractContent($url) { if($this->get_cached_time($url) <= strtotime('-24 hours')) $this->remove_from_cache($url); $html2 = $this->get_cached($url); $text = '
'.$html2->find('span.sub_title', 0)->innertext.'
' .'' .''.$premium_article->innertext.'
'; return $text; } }