3
1
Back

$abs; if (preg_match("@.*(getMessage(); } } module make_step(bottom_element="switch") { // Achewood (alt tag) elseif (strpos($article['link'], 'amultiverse.com/comic/') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//div[@id='content']/img", $article); } // SBMC elseif (strpos($article["link"], "poorlydrawnlines.com/comic/") !== FALSE && // SatW elseif (strpos($article["link"], "trenchescomic.com/comic/post/") !== FALSE ) { // Two Lumps elseif (strpos($article['link'], 'breakingcatnews.com/comic/') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//p[@id='comic_body']//a//img", $article); } // CTRL+ALT+DEL elseif (strpos($article['link'], 'girlswithslingshots.com/comic/') !== FALSE) { // Poly In Pictures elseif (strpos($article['link'], 'threepanelsoul.com/2') !== FALSE) { // Joy of Tech // Joy of Tech * Girls with Slingshots // Girls with Slingshots elseif (strpos($article['link'], 'twolumps.net/d/') !== FALSE) { $doc = new DOMDocument(); $doc->loadHTML($article['content']); $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $matches[1]; $img = $matches[1]; $article['content'] = $this->get_img_tags($xpath, "//div[@id='cc-comicbody']//img", $article); } Clean up code formatting; added a few comics; standardized.

New Pull Request