3
1
Back

// Eat That Toast bog-standard example if (strpos($article['link'], 'eatthattoast.com/comic/') !== FALSE) { // Awkward Zombie elseif (strpos($article['link'], 'awkwardzombie.com/index.php?comic') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, '(//div[@class="webcomic-image"]//img)', $article); } // } elseif (strpos(strtolower($article['link']), 'giantitp.com/comics/') !== FALSE) { $img = preg_replace("@width=\"\d+\"@", "", $img); $article['content'] = $this->get_img_tags($xpath, '//td/img[contains(@src, "/comics/images/")]', $article); } Dead Philosophers Added BCN, Something Positive // Something Positive // Timothy Winchester (People I Know) elseif (strpos($article['link'], 'jesusandmo.net') !== FALSE) { // Eat That Toast bog-standard example elseif (strpos($article['link'], 'paintraincomic.com/comic/') !== FALSE) { elseif (strpos($article['link'], 'paintraincomic.com/comic/') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, '(//div[@id="comic"]//img)', $article); $article['content'] = $doc->saveXML(); } // Least I Could Do (wtf image size? Elseif (strpos($article['link'], 'qwantz.com/index.php?comic') .

New Pull Request