3
1
Back

(strpos($article["link"], "manicpixienightmaregirls.com/") !== FALSE) { $doc = new DOMXpath($doc); $imgs = $xpath->query('//img'); //doesn't get simpler than this foreach ($imgs as $img) { if (strpos($article["content"], "bonus panel!") !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $aftercomic = $this->get_img_tags($xpath, '(//div[@id="comicbody"]//img)', $article) . $article['content']; // Cyanide & Happiness elseif (strpos($article['link'], 'leasticoulddo.com/comic') !== FALSE) { strpos($article["title"], "Comic:") !== FALSE) { // $img_tag = $this->get_img_tags($xpath, "//div[@id='content']/img", $article); } //Sites that provide images and just need alt tags textified. If(ADD_IDS.

New Pull Request