maintainer = "prysme"; $this->name = "ArstechnicaBridge"; $this->uri = "http://arstechnica.com"; $this->description = "The PC enthusiast's resource. Power users and the tools they love, without computing religion"; $this->update = '2016-08-17'; } public function collectData(array $param) { function StripWithDelimiters($string, $start, $end) { while (strpos($string, $start) !== false) { $section_to_remove = substr($string, strpos($string, $start)); $section_to_remove = substr($section_to_remove, 0, strpos($section_to_remove, $end) + strlen($end)); $string = str_replace($section_to_remove, '', $string); } return $string; } function StripCDATA($string) { $string = str_replace('', '', $string); return $string; } function ExtractContent($url) { #echo $url; $html2 = file_get_html($url); $text = $html2->find("section[id='article-guts']", 0); /*foreach ($text->find('