collectExpandableDatas('http://www.commondreams.org/rss.xml', 10); } protected function parseItem($newsItem) { $item = parent::parseItem($newsItem); $item['content'] = $this->extractContent($item['uri']); return $item; } private function extractContent($url) { $dom = getSimpleHTMLDOMCached($url); $summary = $dom->find('div.node__body', 0); $text = $summary->innertext; $dom->clear(); unset($dom); return $text; } }