getSimpleHTMLDOMCached($item['uri']); if(!$html){ $item['content'] .= '

Requesting full article failed.

'; }else{ $item['content'] = $html->find('.article-guts', 0); } return $item; } public function collectData(){ $this->collectExpandableDatas('http://feeds.arstechnica.com/arstechnica/index/'); } public function getCacheDuration() { return 7200; // 2h } }