3
1
Back

(strpos($article['link'], 'paintraincomic.com/comic/') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//img[@class='comic']", $article); //also get the blog $entries = $xpath->query("//div[@class='entry']"); foreach ($entries as $entry){ $article['content'] .= "" . $msg . ""; } } // Manic Pixie Nightmare Girls elseif (strpos($article["link"], "www.pilotside.us/comic/") !== FALSE) { // Robot Hugs elseif (strpos($article['link'], 'www.geekculture.com/joyoftech/') !== FALSE) { // CTRL+ALT+DEL Sillies // Two Lumps elseif (strpos($article['link'], 'somethingpositive.net') !== FALSE) { elseif (strpos($article['link'], 'www.geekculture.com/joyoftech/') !== FALSE) { elseif (strpos($article['link'], 'polyinpictures.com/comic/') !== FALSE) { // Wondermark (alt tag already present) elseif (strpos($article['content'], 'invisiblebread.com/2') !== FALSE) { $xpath = new DOMXpath($doc); $imgs = $xpath->query('//img'); //doesn't get simpler than this .

New Pull Request