Labels Milestones
BackContinue? Define('ADD_IDS', True); class _comics extends Plugin { function about() { return array(0.1, 'Yet more stupid-simple comic-fetching.', ' '); } function get_xpath_dealie($link){ list($html, $content_type) = $this->get_content($link); //Sites that provide images and just need alt tags elseif (strpos($article['link'], 'campcomic.com/comic/') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); elseif (strpos($article['link'], 'cad-comic.com/cad/') !== FALSE) { // Two Lumps // Breaking Cat News // Breaking Cat News elseif (strpos($article['link'], 'www.robot-hugs.com/') !== FALSE) { $article['content'] = $this->get_img_tags($xpath, '(//div[@class="post"]//img)', $article); $article['content'] = $this->get_img_tags($xpath, "//div[@class='timeline-description']", $article); } // Drugs and Wires elseif (strpos($article["link"], "www.phdunknown.com/index.php?id=") !== FALSE) { Gunnerkrigg and cleanup of alt-tag-only sites Gunnerkrigg and cleanup of alt-tag-only sites elseif (strpos($article['content'], 'wondermark.com/c') !== FALSE) { // replace the