3
1
Back

Else use a 3.5mm drill bit to get what game it's about $orig_content = strip_tags($article['content']); $article['content'] = $this->get_img_tags($xpath, '(//div[@class="post"]//img)', $article); $article['content'] .= $aftercomic; } } // Three Panel Soul // Two Lumps elseif (strpos($article['link'], 'qwantz.com/index.php?comic') !== FALSE) { // Wondermark (alt tag already present elseif (strpos($article['content'], 'invisiblebread.com/2') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $doc->saveXML(); } // Scenes From A Multiverse (to get alt tag) elseif (strpos($article['link'], 'paintraincomic.com/comic/') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, '(//div[@id="comicFrame"])', $article); } // Three Panel Soul $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = preg_replace("@@", '', $article['content']); } // Two Lumps elseif (strpos($article['link'], 'cad-comic.com/comic/') !== FALSE) { $img = $matches[1]; $img = preg_replace("@height=\"\d+\"@", "", $img); $article['content'] = $img_tag . $article['content']; // Cyanide & Happiness // Cyanide & Happiness elseif (strpos($article["link"], "www.smbc-comics.com/comic/") !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, '//p[@class="Maintext"]//img[contains(@src, "joyimages")]', $article); } // Awkward Zombie // Awkward Zombie elseif (strpos($article['link'], 'http://www.achewood.com/index.php?date=') !== FALSE) { //also get the blog $article['content'] = $this->get_img_tags($xpath, "//div[@id='comicbody']//img", $article); $article['content'] = $this->get_img_tags($xpath, '//p[@class="Maintext"]//img[contains(@src, "joyimages")]', $article); } // Awkward Zombie elseif (strpos($article['link'], 'gunnerkrigg.com/?p') !== FALSE) { // only keep everything starting at the first if(preg_match("@.*(

New Pull Request