3
1
Back

$this->get_img_tags($xpath, "//div[@id='cc-comicbody']//img", $article); } // Cyanide & Happiness // Cyanide & Happiness // Cyanide & Happiness elseif (strpos($article["link"], "eatthattoast.com/comic/") !== FALSE ) { // CTRL+ALT+DEL elseif (strpos($article['link'], 'campcomic.com/comic/') !== FALSE) { elseif (strpos($article['content'], 'imgs.xkcd.com/comics/') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, '//p[@class="Maintext"]//img[contains(@src, "joyimages")]', $article); } // Joy of Tech * Girls with Slingshots $xpath = $this->get_xpath_dealie($article['link']); $img_tag = $this->get_img_tags($xpath, "//div[@class='img-comic-container']//img", $article); // $article['content'] = $this->get_img_tags($xpath, "//div[@id='comic-1']//img", $article); } // Invisible Bread (make the bread visible) elseif (strpos($article['content'], 'imgs.xkcd.com/comics/') !== FALSE) { $article['content'] = $this->get_img_tags($xpath, "//img[contains(@src, 'sp') and contains(@src, 'comics.

New Pull Request