3
1
Back

// $article['content'] = $this->get_img_tags($xpath, "//div[@id='comic']/img", $article); $article['content'] = $img_tag . $article['content']; // $article['content'] = $this->get_img_tags($xpath, "//img[@class='comic']", $article); //also get blog entry $entries = $xpath->query("//span[@class='rss-content']"); foreach ($entries as $entry){ foreach ($entries as $entry) { $article['content'] .= "
Alt: " . $img->getAttribute('title') . ""; } } return $result_html; } function hook_render_article($article) { return $base.$rel; } extract(parse_url($base)); $path = preg_replace('#/[^/]*$#', '', $path); if ($rel[0] == '/') { $path = ''; function rel2abs($rel, $base $path = ''; function rel2abs($rel, $base if (parse_url($rel, PHP_URL_SCHEME) != '' || substr($rel, 0, 2) == '//') { return array(0.1, 'Yet more stupid-simple comic-fetching.', } function rel2abs($rel, $base) { if ($img->getAttribute('title')) { // only keep.

New Pull Request