3
1
Back

$article['content'] .= "
" . $msg . ""; } } foreach($imgs as $img){ foreach ($imgs as $img) { $article['content'] = $this->get_img_tags($xpath, "//img[starts-with(@src, 'sp') and contains(@src, 'png')]", $article); } // Eat That Toast bog-standard example // Penny Arcade elseif (strpos($article['link'], 'amultiverse.com/comic/') !== FALSE) { // Achewood (alt tag) // Pain Train alt tag, Alice Grove (get bigger image) elseif (strpos($article['link'], 'somethingpositive.net') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); // $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, '(//div[@id="comic"]//img)', $article); // The Trenches elseif (strpos($article["link"], "drugsandwires.fail/dnwcomic/") !== FALSE) { // Softer World (alt tags), Dinosaur Comics (alt tags+blog), CAD, attempt at OOTS (but that one fails due to referer checks elseif (strpos($article['link'], 'dead-philosophers.com/?p') !== FALSE) { // Girls with Slingshots // Girls with Slingshots // Girls with Slingshots elseif (strpos($article['link'], 'threepanelsoul.com/comic/') !== FALSE) { // Scenes From A Multiverse (to get alt tags elseif (strpos($article['link'], 'paintraincomic.com/comic/') !== FALSE) .

New Pull Request