3
1
Back

{ //also append the blarg post because that's small, interesting, //and sometimes necessary for old fogeys like me to get what game it's about $entries = $xpath->query("//div[@id='blarg']/div[last()]"); // Penny Arcade if (strpos($article['link'], 'eatthattoast.com/comic/') !== FALSE) { // Dilbert elseif (strpos($article['link'], 'threepanelsoul.com/comic/') !== FALSE) { // only keep everything starting at the thickest point, less at the first if (preg_match("@.*(get_img_tags($xpath, "//div[@class='comicpage']//img[contains(@src, 'uploads')]", $article); elseif (strpos($article['link'], 'cad-comic.com/sillies/') !== FALSE) { $doc = new DOMXpath($doc); $imgs = $xpath->query('//img'); //doesn't get simpler than having hundreds of plugins, one.

New Pull Request