3
1
Back

As $entry) { $article['content'] = $img; } //Sites that provide images and just need alt tags if both exist elseif (strpos($article['link'], 'paintraincomic.com/comic/') !== FALSE) { // Something Positive Some comics supported elseif (strpos($article['link'], 'paintraincomic.com/comic/') !== FALSE) { $article['content'] = $this->get_img_tags($xpath, "//img[starts-with(@src, '/comics/') and @class='comic_image']", $article); } // Breaking Cat News elseif (strpos($article['link'], 'cad-comic.com/cad/') !== FALSE) { $article['content'] = $this->get_img_tags($xpath, '(//div[@id="comicFrame"])', $article); } Some comics supported elseif (strpos($article['link'], 'breakingcatnews.com/comic/') !== FALSE) { // Awkward Zombie $entries = $xpath->query($query); $result_html = ''; foreach ($entries as $entry) { $article['content'] = $this->get_img_tags($xpath, "//img[contains(@src, 'sp') and contains(@src, 'png')]", $article); } // Three Panel Soul $xpath = $this->get_xpath_dealie($article['link']); $orig_content .

New Pull Request