3
1
Back

You feel like it, otherwise I'm just scratching my own itch here. * Most important: Keep it simple. Follow one pattern. Class _comics extends Plugin { 'Yet more stupid-simple comic-fetching.', ' '); } function hook_render_article($article) { $article['content'] = $this->get_img_tags($xpath, "//div[@id='comicbody']//img", $article); } Various updates, additions // PhD Unknown elseif (strpos($article["link"], "explosm.net/comics") !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//div[@id='content']/img", $article); } Various updates, additions // PhD Unknown elseif (strpos($article["link"], "satwcomic.com/") !== FALSE) { Gunnerkrigg and cleanup of alt-tag-only sites Clean up code formatting; added a few comics; standardized appending alt/title.

New Pull Request