3
1
Back

With code already written for about a dozen webcomics. Examples: * Least I Could Do (wtf image size? Elseif (strpos($article['link'], 'gunnerkrigg.com/?p') !== FALSE) { $xpath = new DOMDocument(); $doc->loadHTML($article['content']); $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, '(//div[@class="container"]//center//img)', $article); // Pain Train alt tag, Alice Grove bigger img elseif (strpos($article['link'], 'dilbert.com/strip/') !== FALSE) { // Camp Weedonwantcha elseif (strpos($article['link'], 'cad-comic.com/comic/') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//div[@id='content']/img", $article); elseif (strpos($article['link'], 'threepanelsoul.com/2') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//div[@id='content']/img", $article); elseif (strpos($article['link'], 'somethingpositive.net') !== FALSE) { // Poly In Pictures elseif (strpos($article['link'], 'alicegrove.com') !== FALSE) { $xpath = new DOMDocument(); $doc->loadHTML($article['content']); $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = preg_replace("@@", '', $article['content']); } // Least I Could Do (wtf image size? If (preg_match("@.*()@", $article['content'], $matches)) { } module make_surface(filename, h) { } module toggle_switch_6mm() { } function rel2abs($rel, $base) { Various updates, additions Updated LICD, alter alt-textify to handle both title and alt tags elseif (strpos($article['link'], 'dead-philosophers.com/?p') !== FALSE) { // Camp Weedonwantcha elseif (strpos($article['link'], 'leasticoulddo.com/comic') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, '(//div[@id="comicFrame"])', $article); } // Girls with Slingshots elseif (strpos($article['link.

New Pull Request