3
1
Back

= new DOMDocument(); $doc->loadHTML($article['content']); $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, '//td/img[contains(@src, "/comics/images/")]', $article); $article['content'] = $this->get_img_tags($xpath, "//div[@class='img-comic-container']//img", $article); } // Scenes From A Multiverse (to get alt tag) // Pain Train alt tag, Alice Grove bigger img elseif (strpos($article['link'], 'twolumps.net/d/') !== FALSE) { // Breaking Cat News // Breaking Cat News elseif (strpos($article['link'], 'leasticoulddo.com/comic') !== FALSE) { // $img_tag = $this->get_img_tags($xpath, '(//div[@id="comic"]//img)', $article); // Girls with Slingshots elseif (strpos($article['link'], 'leasticoulddo.com/comic') !== FALSE) { // Poly In Pictures elseif (strpos($article['link'], 'amultiverse.com/comic/') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//div[@class='comic-wrap']//img[@class='comic']", $article); } Some comics supported elseif (strpos($article['link'], 'dilbert.com/strip/') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//p[@id='comic_body']//img", $article.

New Pull Request