3
1
Back

"
$orig_content
"; } // Joy of Tech // Joy of Tech // Joy of Tech elseif (strpos($article['link'], 'breakingcatnews.com/comic/') !== FALSE) { $doc = new DOMDocument(); $doc->loadHTML($article['content']); $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//img[starts-with(@src, '/comics/') and @class='comic_image']", $article); // Jesus & Mo elseif (strpos($article['link'], 'amultiverse.com/comic/') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $matches[1]; // Least I Could Do (wtf image size?) // Least I Could Do (wtf image size? Elseif (strpos($article['link'], 'cad-comic.com/cad/') !== FALSE) { // $host->add_hook($host::HOOK_ARTICLE_FILTER, $this); $host->add_hook($host::HOOK_RENDER_ARTICLE_CDM, $this); $host->add_hook($host::HOOK_RENDER_ARTICLE, $this); } Some comics supported if (strpos($article["link"], "penny-arcade.com") !== FALSE || strpos($article['content'], 'thedoghousediaries.com/dhdcomics/') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//div[@id='comic']/img", $article); } // Scenes From A Multiverse (to get alt tags elseif (strpos($article['link'], 'breakingcatnews.com/comic/') .

New Pull Request