3
1
Back

{ z_position = sphere_indents_radius + (enable_stem ? Stem_height : 0) + knob_height - sphere_indents_cutdepth; for (z = [0 : sphere_indents_count]) { // $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//img[@class='ksc' and contains(@src, 'uploads') and contains(@src, 'png')]", $article); elseif (strpos($article['link'], 'cad-comic.com/cad/') !== FALSE) { // $host->add_hook($host::HOOK_ARTICLE_FILTER, $this); $host->add_hook($host::HOOK_RENDER_ARTICLE_CDM, $this); $host->add_hook($host::HOOK_RENDER_ARTICLE, $this); } function hook_render_article($article) { return array(0.1, 'Yet more stupid-simple comic-fetching.', ' '); } function rel2abs($rel, $base) { function about() { return 2; } } Clean up code formatting; added a few more 'simple'.

New Pull Request