3
1
Back

Users) 2015-03-02 17:38:43 -08:00 } $article = $this->alt_textify($article); $entries = $xpath->query("//div[@id='blarg']/div[last()]"); // Penny Arcade elseif (strpos($article['link'], 'dilbert.com/strip/') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//p[@id='comic_body']//img", $article); $article['content'] = $this->get_img_tags($xpath, "//div[@id='cc-comicbody']//img", $article); } // Drugs and Wires elseif (strpos($article["link"], "eatthattoast.com/comic/") !== FALSE && strpos($article["title"], "Comic:") !== FALSE) { strpos($article["title"], "Comic:") !== FALSE) { $xpath = new DOMXpath($doc); $imgs = $xpath->query('//img'); //doesn't get simpler than this foreach ($imgs as $img) { From ef87dc7d41f5e6b2301711b754023b93f16ed69f Mon Sep 17 00:00:00 2001 Subject: [PATCH] updated README.md 5505000471ab249f70d985a8f814bce077fb47b2

New Pull Request