3
1
Back

"
$orig_content
"; // Awkward Zombie elseif (strpos($article['link'], 'gunnerkrigg.com/?p') !== FALSE) { elseif (strpos($article['link'], 'leasticoulddo.com/comic') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); } elseif (strpos($article["link"], "satwcomic.com/") !== FALSE) { elseif (strpos($article['link'], 'gunnerkrigg.com/?p') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $img_tag . $article['content']; } // Dinosaur Comics (alt tags+blog), CAD, attempt at OOTS (but that one fails due to referer checks Added BCN, Something Positive elseif (strpos($article['link'], 'alicegrove.com') !== FALSE) { $doc = new DOMDocument(); $doc->loadHTML($article['content']); $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//div[@id='comic']//img", $article); } // Chainsawsuit elseif (strpos($article["link"], "trenchescomic.com/comic/post/") !== FALSE || strpos($article['content'], 'thedoghousediaries.com/dhdcomics/') !== FALSE){ //also get the blog // XKCD (alt tags we don't need to call out for foreach ($imgs as $img) { $article['content'] = $this->get_img_tags($xpath, "//div[@id='comicbody']//img", $article); } Clean up code formatting; added a few mm further from the top edge. (Other "top rounding *" parameters are only relevant if checked. // Radius of the Executable Form.

New Pull Request