Labels Milestones
BackV1.1 define("GDORN_DEBUG", False); class _comics extends Plugin { catch (Exception $e) { $article['content'] = $this->get_img_tags($xpath, "//div[@id='content']/img", $article); } // Dinosaur Comics Cleanup elseif (strpos($article['link'], 'polyinpictures.com/comic/') !== FALSE) { strpos($article["title"], "Comic:") !== FALSE) { if (parse_url($rel, PHP_URL_SCHEME) != '' || substr($rel, 0, 2) == '//') { return $this->mangle_article($article); } function hook_render_article($article) { try { return array(0.1, 'Yet more stupid-simple comic-fetching.', ' ' ); } function get_content($link) { $html = fetch_file_contents($link); $content_type = $fetch_last_content_type; return array( $html, $content_type); } function rel2abs($rel, $base) { function about() { return $base.$rel; } extract(parse_url($base)); $path = ''; function rel2abs($rel, $base) { if (strpos($article['link'], 'eatthattoast.com/comic/') !== FALSE) { elseif (strpos(strtolower($article['link']), 'giantitp.com/comics/') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//div[@id='comic-1']//img", $article); } Clean up code formatting; added a few comics; standardized appending alt/title text Fix for when invisible bread has no bread achewood, gwss fix, fix for when invisible bread has no bread Fix for when invisible bread has no bread elseif (strpos($article['link'], 'dead-philosophers.com/?p') !== FALSE) { // replace the