3
1
Back

Users $host->add_hook($host::HOOK_RENDER_ARTICLE_CDM, $this); $host->add_hook($host::HOOK_RENDER_ARTICLE, $this); } function hook_render_article($article) { $article['content'] = $this->get_img_tags($xpath, "//div[@id='comic']/img", $article); elseif (strpos($article["link"], "trenchescomic.com/comic/post/") !== FALSE && Various updates, additions 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 $entries = $xpath->query("//span[@class='rss-content']"); foreach ($entries as $entry){ $article['content'] .= "

" . $entry->textContent . "

"; } } } // Poly In Pictures elseif (strpos($article['link'], 'campcomic.com/comic/') !== FALSE) { function about() { return $base.$rel; } extract(parse_url($base)); $path = ''; } /* dirty absolute URL is ready! */ return $scheme.'://'.$abs; } /* absolute URL is ready! */ elseif (strpos(strtolower($article['link']), 'giantitp.com/comics/') !== FALSE) { // And get blog $entries = $xpath->query($query); $result_html = ''; function rel2abs($rel, $base) { if (strpos($article["content"], "bonus panel!") !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content.

New Pull Request