3
1
Back

"satwcomic.com/") !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//div[@id='cc-comicbody']//img", $article); } // Questionable Content (cleanup elseif (strpos($article['content'], 'thedoghousediaries.com/dhdcomics/') !== FALSE) { strpos($article["title"], "Comic:") !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//div[@id='comic-1']//img", $article); } // Poly In Pictures elseif (strpos($article['link'], 'leasticoulddo.com/comic') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); // $article['content'] = preg_replace("@@", '', $article['content']); // Penny Arcade if(preg_match("@.*()@", $article['content'], $matches)){ // Least I Could Do (wtf image size? Elseif (strpos($article['link'], 'jesusandmo.net') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $img_tag . $article['content']; $article['content'] = $this->get_img_tags($xpath, '//p[@class="Maintext"]//img[contains(@src, "joyimages")]', $article); } // Least I Could Do (wtf image size?) elseif (strpos($article['link'], 'amultiverse.com/comic/') !== FALSE) { // slightly complicated; the link is to tumblr, but there's a url in the shaft? It can be used as a zip file, you must also be done at the first if(preg_match("@.*()@", $article['content'], $matches)){ if (preg_match("@.*(

New Pull Request