collectExpandableDatas(self::URI . 'rss/news.xml', 10); } protected function parseItem($newsItem){ $item = parent::parseItem($newsItem); $item['content'] = $this->extractContent($item['uri']); return $item; } private function extractContent($url){ $html2 = getSimpleHTMLDOMCached($url); $text = '
' . $html2->find('span.sub_title', 0)->innertext . '
' . $premium_article->innertext . '
'; return $text; } }