Labels Milestones
BackModule Ideas" cannot be undone. Continue? Define('ADD_IDS', True); class _comics extends Plugin { 'Yet more stupid-simple comic-fetching.', ' '); } function rel2abs($rel, $base if (parse_url($rel, PHP_URL_SCHEME) != '' || substr($rel, 0, 2) == '//') { return array( $html, $content_type); } function get_xpath_dealie($link){ list($html, $content_type) = $this->get_content($link); //Sites that provide images and just need alt tags if both exist elseif (strpos($article['link'], 'polyinpictures.com/comic/') !== FALSE) { // Three Panel Soul elseif (strpos($article['link'], 'jesusandmo.net') !== FALSE) { // Softer World (alt tags), Dinosaur Comics Cleanup elseif (strpos($article['link'], 'questionablecontent') !== FALSE) { // CTRL+ALT+DEL elseif (strpos($article['link'], 'cad-comic.com/sillies/') !== FALSE) { $article['content'] = $this->get_img_tags($xpath, '(//div[@id="comicbody"]//img)', $article) . $article['content']; // Cyanide & Happiness elseif (strpos($article["link"], "satwcomic.com/") !== FALSE.
New Pull Request