Labels Milestones
BackOut Change C13 to 10 nF v1.1 define("GDORN_DEBUG", False); class _comics extends Plugin { function hook_render_article($article) { return 2; } } Dead Philosophers 2015-02-25 15:05:54 -08:00 // Eat That Toast bog-standard example elseif (strpos($article['link'], 'awkwardzombie.com/index.php?comic') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $img; } } // Jesus & Mo elseif (strpos($article['link'], 'campcomic.com/comic/') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, '(//div[@id="comic"]//img)', $article); $article['content'] = $this->get_img_tags($xpath, "//div[@id='content']/img", $article); } // Three Panel Soul elseif (strpos($article['link'], 'leasticoulddo.com/comic') !== FALSE) { $article['content'] = $this->get_img_tags($xpath, '(//div[@class="webcomic-image"]//img)', $article); } // Invisible Bread (make the bread visible) elseif (strpos($article['content'], 'invisiblebread.com/2') !== FALSE) { Fix for two bugs in Doghouse Diaries rss: spaces in img src and quotes in alt/title text under images (extra useful for non-browser users if (preg_match("@.*(
New Pull Request