3
1
Back

{ $entries = $xpath->query("//span[@class='rss-content']"); foreach ($entries as $entry) { $article['content'] = $this->get_img_tags($xpath, "//div[@id='comic-img']//img", $article); } // XKCD (alt tags we don't need to call out for) elseif (strpos($article['content'], 'wondermark.com/c') !== FALSE) { // Two Lumps elseif (strpos($article['link'], 'leasticoulddo.com/comic') !== 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); } function get_content($link) { /** * When debugging or.

New Pull Request