3
1
Back

Bread Pain Train alt tag, Alice Grove bigger img elseif (strpos($article['link'], 'amultiverse.com/comic/') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, '(//div[@id="aftercomic"]//img)', $article); $article['content'] .= "Error processing via _comics plugin!
" . $e->getMessage(); } } // } // Poorly Drawn Lines elseif (strpos($article["link"], "explosm.net/comics") !== FALSE) { // Timothy Winchester (People I Know) elseif (strpos($article['link'], 'somethingpositive.net') !== FALSE) { $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[@id='content']/img", $article); } // Breaking Cat News elseif (strpos($article['link'], 'polyinpictures.com/comic/') !== FALSE) { Gunnerkrigg and cleanup of alt-tag-only sites // Gunnerkrigg Court elseif (strpos($article['link'], 'somethingpositive.net') !== FALSE) { // only keep everything starting at the first if(preg_match("@.*(get_img_tags($xpath, "//img[contains(@src, 'sp') and contains(@src, 'png')]", $article); } // Invisible Bread (make the bread visible elseif (strpos($article['content'], 'imgs.xkcd.com/comics/') !== FALSE) { $xpath = new DOMDocument(); $doc->loadHTML($article['content']); $xpath.

New Pull Request