3
1
Back

Index" cannot be undone. Continue? Define('ADD_IDS', True); define('ADD_IDS', False); define("GDORN_DEBUG", False); class _comics extends Plugin { function about() { return $this->mangle_article($article); } function hook_render_article_cdm($article) { function get_img_tags($xpath, $query, $article) { function rel2abs($rel, $base) { if (preg_match("@.*?(.*)@", $article['content'], $matches)) { } //Sites that provide images and just need alt tags elseif (strpos($article['link'], 'www.robot-hugs.com/') !== FALSE) { strpos($article["title"], "Comic:") !== FALSE) { $article['content'] = $this->get_img_tags($xpath, "//div[@id='cc-comicbody']//img", $article); } // Breaking Cat News // Breaking Cat News elseif (strpos($article['link'], 'cad-comic.com/sillies/') !== FALSE) { // Two Lumps elseif (strpos($article['link'], 'dead-philosophers.com/?p') !== FALSE) { $article['content'] .= $aftercomic; } } if (strpos($article['link'], 'eatthattoast.com/comic/') !== FALSE) { // Achewood (alt tag already present foreach ($imgs as $img) { $article['content'] = $this->get_img_tags($xpath, "//div[@id='comic-1']//img.

New Pull Request