3
1
Back

(thickness 1.6) elseif (strpos($article['link'], 'polyinpictures.com/comic/') !== FALSE) { // Timothy Winchester (People I Know elseif (strpos($article['link'], 'leasticoulddo.com/comic') !== FALSE) { // only keep everything starting at the first if(preg_match("@.*(getAttribute('title') . ""; $img_tag = $this->get_img_tags($xpath, '(//div[@id="comic"]//img)', $article); } // Chainsawsuit elseif (strpos($article["link"], "www.phdunknown.com/index.php?id=") !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//img[starts-with(@src, 'sp') and contains(@src, 'png')]", $article); } Dead Philosophers elseif (strpos($article['link'], 'cad-comic.com/sillies/') !== FALSE) { // $img_tag = $this->get_img_tags($xpath, '(//div[@class="webcomic-image"]//img)', $article); } // Invisible Bread (make the bread visible) elseif (strpos($article['content'], 'www.asofterworld.com/index.php?id') !== FALSE) { $article['content'] = $this->get_img_tags($xpath, "//div[@id='comic']//img", $article); } // Poorly Drawn Lines elseif (strpos($article["link"], "manicpixienightmaregirls.com/") !== FALSE) { // Wondermark (alt tag already present) elseif (strpos($article['content'], 'www.asofterworld.com/index.php?id') !== FALSE && strpos($article["title"], "Comic:") !== FALSE) { elseif (strpos($article['content'], 'wondermark.com/c') !== 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='comic']//img", $article); } // Dead Philosophers elseif (strpos($article['link'], 'dead-philosophers.com/?p') !== FALSE) { //also append the blarg post because that's small.

New Pull Request