3
1
Back

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) { return array(0.1, 'Yet more stupid-simple comic-fetching.', } function rel2abs($rel, $base) { if (strpos($article["content"], "bonus panel!") !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); elseif (strpos($article['content'], 'www.asofterworld.com/index.php?id') !== 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); // Three Panel Soul elseif (strpos($article['link'], 'wondermark.com/c') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//div[@id='comic']/img", $article); $article['content'] .= "

" . $entry->textContent . "

"; } } } // Camp Weedonwantcha // Camp Weedonwantcha foreach ($entries as $entry){ foreach ($entries as $entry) { elseif (strpos($article['link'], 'cad-comic.com/comic/') !== FALSE) { //also get the source along with the SEQ listening for a full bridge rectifier; could use fewer caps that way 7022ad9ddb couple more minor clearance tweaks.

New Pull Request