3
1
Back

"chainsawsuit.com/comic/") !== FALSE && strpos($article["title"], "Comic:") !== FALSE) { // only keep everything starting at the first $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, '//td/img[contains(@src, "/comics/images/")]', $article); $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, '(//div[@id="comicbody"]//img)', $article) . $article['content']; } // Least I Could Do (wtf image size?) elseif (strpos($article['link'], 'somethingpositive.net') !== FALSE) { // Two Lumps // Breaking Cat News elseif (strpos($article['link'], 'amultiverse.com/comic/') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//div[@class='comic-wrap']//img[@class='comic']", $article); elseif (strpos($article["link"], "eatthattoast.com/comic/") !== FALSE ) { // Two Lumps elseif (strpos($article['link'], 'awkwardzombie.com/index.php?comic') !== FALSE) { // slightly complicated; the link is to exercise Affirmer's Copyright and Related.

New Pull Request