3
1
Back

Visible if (preg_match("@.*(get_img_tags($xpath, "//div[@id='content']/img", $article); } // Poorly Drawn Lines // Berkeley Mews // elseif (strpos($article["link"], "eatthattoast.com/comic/") !== FALSE && strpos($article["title"], "Comic:") !== FALSE) { $xpath = new DOMXpath($doc); $bread = $xpath->query("//a[contains(@href, 'bonus-panel')]")->item(0); $bread_page_url = $bread->getAttribute('href'); $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, "//img[starts-with(@src, 'sp') and contains(@src, 'png')]", $article); } // Poly In Pictures } // CTRL+ALT+DEL // CTRL+ALT+DEL Sillies elseif (strpos($article['link'], 'paintraincomic.com/comic/') !== 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 if (preg_match("@.*(get_img_tags($xpath, "//div[@id='cc-comicbody']/img", $article); $article['content'] = $img_tag . $article['content']; } // Scenes From A Multiverse (to get alt tags elseif (strpos($article['link'], 'leasticoulddo.com/comic') !== FALSE) { Clean up code formatting; added a few comics; standardized appending alt/title text under images (extra useful for non-browser users elseif (strpos($article["link"], "drugsandwires.fail/dnwcomic/") !== FALSE) { //also append the blarg post because that's small, interesting, //also append the blarg post because that's small, interesting, //also append the blarg.

New Pull Request