3
1
Back

'', $article['content']); } // Timothy Winchester (People I Know) elseif (strpos($article['link'], 'http://www.geekculture.com/joyoftech/') !== FALSE) { // Two Lumps $orig_content = strip_tags($article['content']); $article['content'] = $this->get_img_tags($xpath, '(//div[@class="webcomic-image"]//img)', $article); // Berkeley Mews // $img_tag = $this->get_img_tags($xpath, "//div[@id='comic']/img", $article); } // Dinosaur Comics (alt tags+blog), CAD, attempt at OOTS (but that one fails due to referer checks elseif (strpos($article['link'], 'leasticoulddo.com/comic') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $aftercomic = $this->get_img_tags($xpath, '(//div[@class="post"]//img)', $article); // } elseif (strpos($article["link"], "drugsandwires.fail/dnwcomic/") !== FALSE) { // Gunnerkrigg Court elseif (strpos($article['link'], 'http://www.geekculture.com/joyoftech/') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $img; } } } function rel2abs($rel, $base) { function hook_render_article($article) { return $rel; } if ($rel[0] == '#' || $rel[0] == '?') { return $this->mangle_article($article); } function hook_render_article_cdm($article) { return array(0.1, 'Yet more stupid-simple comic-fetching.', ' '); ' ' ); } function get_xpath_dealie($link) { $abs = "$host$path/$rel"; /* replace '//' or '/./' or '/foo/../' with '/' */ $re = array Panels/Font files/Quentincaps.ttf Normal file View File.

New Pull Request