maintainer = "mitsukarenai"; $this->name = "CoinDesk"; $this->uri = "http://www.coindesk.com/"; $this->description = "Returns the 5 newest posts from CoinDesk (full text)"; $this->update = "2014-05-30"; } public function collectData(array $param){ function CoinDeskStripCDATA($string) { $string = str_replace('', '', $string); return $string; } function CoinDeskExtractContent($url) { $html2 = file_get_html($url); $text = $html2->find('div.single-content', 0)->innertext; $text = strip_tags($text, '