3
1
Back

$this->get_img_tags($xpath, "//div[@id='comic']/img", $article); } /* absolute URL is ready! */ return $scheme.'://'.$abs; } function rel2abs($rel, $base) { $rel = trim($rel); if (parse_url($rel, PHP_URL_SCHEME) != '' || substr($rel, 0, 2) == '//') { return $this->mangle_article($article); } function hook_render_article($article) { return $this->mangle_article($article); } function hook_render_article_cdm($article) { return array(0.1, 'Yet more stupid-simple comic-fetching.', } function rel2abs($rel, $base) { if ($title_text == $article['title'] || strpos($article['title'], $title_text) !== false){ } elseif (strpos($article["link"], "www.smbc-comics.com/comic/") !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath.

New Pull Request