3
1
Back

FALSE){ $article['content'] = $this->get_img_tags($xpath, "//div[@class='comic-wrap']//img[@class='comic']", $article); elseif (strpos($article['link'], 'amultiverse.com/comic/') !== FALSE) { // Robot Hugs elseif (strpos($article['link'], 'jesusandmo.net') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//div[@class='comic-wrap']", $article); //Sites that provide images and just need alt tags elseif (strpos($article['link'], 'breakingcatnews.com/comic/') !== FALSE) { $doc = new DOMXPath($doc); return $xpath; } function rel2abs($rel, $base) { if (preg_match("@.*?(.*)@", $article['content'], $matches)) { $article['content'] = $this->get_img_tags($xpath, "//img[starts-with(@src, '/comics.

New Pull Request