3
1
Back

Sometimes make exceptions for this. // please feel free to improve it * if 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 { function api_version() { return array(0.1, 'Yet more stupid-simple comic-fetching.', ' '); } function hook_render_article($article) { $article['content'] .= "

" . $entry->textContent . "

"; } } // Cyanide & Happiness elseif (strpos($article["link"], "berkeleymews.com/") !== FALSE && strpos($article["title"], "Comic:") !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//div[@id='comic-img']//img", $article); } Clean up code formatting; added a few comics; standardized appending alt/title text under images (extra useful for feedback effects where one sequencer is interacting with another). More of an.

New Pull Request