3
1
Back

17:02:21 -07:00 elseif (strpos($article["content"], "//www.vgcats.com/comics/?strip_id=") !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//div[@id='comic-1']//img", $article); // $article['content'] = $this->get_img_tags($xpath, '(//img[@id="main-comic"])', $article); } // Cyanide & Happiness elseif (strpos($article['link'], 'cad-comic.com/cad/') !== FALSE) { $xpath = new DOMDocument(); $doc->loadHTML($article['content']); $xpath = new DOMDocument(); $doc->loadHTML($article['content']); $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, '(//div[@id="comic"]//img)', $article); // Jesus & Mo elseif (strpos($article['link'], 'www.timothywinchester.com/2') !== FALSE) { // generate holes for a single.

New Pull Request