3
1
Back

Return $this->mangle_article($article); } function api_version() { return $this->mangle_article($article); } function hook_render_article_cdm($article) { return $this->mangle_article($article); } function rel2abs($rel, $base) { function about() { return array( 0.1, 'Yet more stupid-simple comic-fetching.', ' '); } function about() { return $this->mangle_article($article); } function mangle_article($article) { Added BCN, Something Positive elseif (strpos($article['link'], 'twolumps.net/d/') !== FALSE) { $doc = new DOMDocument(); $doc->loadHTML($article['content']); $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, '(//div[@id="comic"]//img)', $article); $article['content'] = $this->get_img_tags($xpath, "//div[@id='comic']//img", $article); } // Three Panel Soul // Three Panel Soul elseif (strpos($article['link'], 'polyinpictures.com/comic/') !== FALSE) { $aftercomic = $this->get_img_tags($xpath, "//div[@id='comic-1']//img", $article); } Some comics supported elseif (strpos($article['link'], 'www.robot-hugs.com/') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); // Girls with Slingshots $entries = $xpath->query("//span[@class='rss-content']"); foreach ($entries as $entry) { $article['content'] = $this->get_img_tags($xpath, "//div[@id='imgdiv']//img", $article); //also get the blog $entries = $xpath->query("//div[@class='entry']"); foreach.

New Pull Request