3
1
Back

V1.1 define("GDORN_DEBUG", False); class _comics extends Plugin { function about() { return $this->mangle_article($article); } function hook_render_article_cdm($article) { return $article; } function hook_render_article($article) { try { return $this->mangle_article($article); } function mangle_article($article) { Added BCN, Something Positive elseif (strpos($article['link'], 'somethingpositive.net') !== FALSE) { elseif (strpos($article['link'], 'breakingcatnews.com/comic/') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $doc->saveXML(); } // Invisible Bread (make the bread visible) // Invisible Bread (make the bread visible) elseif (strpos($article['content'], 'invisiblebread.com/2') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//div[@id='comic-1']//img", $article); } // Invisible Bread (make the bread visible elseif (strpos($article['content'], 'www.asofterworld.com/index.php?id') !== FALSE || strpos($article['content'], 'thedoghousediaries.com/dhdcomics/') !== FALSE) { $xpath.

New Pull Request