3
1
Back

With (http://sorcery101.net/) elseif (strpos($article["link"], "www.pilotside.us/comic/") !== FALSE) { // Eat That Toast elseif (strpos($article["link"], "poorlydrawnlines.com/comic/") !== FALSE && strpos($article["title"], "Comic:") !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, '(//div[@class="container"]//center//img)', $article); } // SatW elseif (strpos($article["link"], "trenchescomic.com/comic/post/") !== FALSE && // Cyanide & Happiness elseif (strpos($article["link"], "drugsandwires.fail/dnwcomic/") !== FALSE) { // Awkward Zombie elseif (strpos($article['link'], 'alicegrove.com') !== FALSE) { $article['content'] = $this->get_img_tags($xpath, '//p[@class="Maintext"]//img[contains(@src, "joyimages")]', $article); } Clean up code formatting; added a few comics; standardized appending alt/title text under images (extra useful for non-browser users function get_content($link) { $html = $fetch_last_error_code; From 6298fd8aa365e8141485a8d6ad3ff5ab00de1b64 Mon Sep 17 00:00:00.

New Pull Request