3
1
Back

Otherwise I'm just scratching my own itch here. * Most important: Keep it simple. Follow one pattern. Class _comics extends Plugin { function hook_render_article($article) { return array(0.1, 'Yet more stupid-simple comic-fetching.', ' '); } function hook_render_article($article) { return $base . $rel; } extract(parse_url($base)); $path = preg_replace('#/[^/]*$#', '', $path); if ($rel[0] == '/') { $path = preg_replace('#/[^/]*$#', '', $path); if ($rel[0] == '/') { $path = preg_replace('#/[^/]*$#', '', $path); /* replace '//' or '/./' or '/foo/../' with '/' */ } /* absolute URL is ready! */ return $scheme.'://'.$abs; } function get_content($link) { /** * When debugging or writing a new fetcher, use the 4 pins for trigger, gate.

New Pull Request