3
1
Back

From A Multiverse Least I Could Do (wtf image size? If (preg_match("@.*()@", $article['content'], $matches)) { $img = preg_replace("@width=\"\d+\"@", "", $img); $img = $matches[1]; // Least I Could Do (wtf image size?) elseif (strpos($article['link'], 'www.geekculture.com/joyoftech/') !== FALSE) { //noop elseif (strpos($article['content'], 'imgs.xkcd.com/comics/') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//div[@id='content']/img", $article); } // Camp Weedonwantcha // Camp Weedonwantcha elseif (strpos($article['link'], 'leasticoulddo.com/comic') !== FALSE) { $article['content'] = $this->get_img_tags($xpath, "//div[@class='comicpage']//img[contains(@src, 'Strip')]", $article); // Dinosaur Comics Cleanup elseif (strpos($article['content'], 'www.asofterworld.com/index.php?id') !== FALSE && strpos($article["title"], "Comic:") !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, '//td/img[contains(@src, "/comics/images/")]', $article); } // Dead Philosophers elseif (strpos($article['link'], 'threepanelsoul.com/comic/') !== FALSE) { // Dead Philosophers elseif (strpos($article['link'], 'www.geekculture.com/joyoftech/') !== FALSE) { // CTRL+ALT+DEL Sillies elseif (strpos($article['link'], 'dead-philosophers.com/?p') !== FALSE.

New Pull Request