Labels Milestones
Back// Wondermark (alt tag already present elseif (strpos($article['link'], 'cad-comic.com/comic/') !== FALSE) { $article['content'] = $this->get_img_tags($xpath, '(//div[@id="aftercomic"]//img)', $article); $article['content'] .= "$orig_content"; // Awkward Zombie elseif (strpos($article['link'], 'https://web3isgoinggreat.com/single/') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, '(//div[@id="main"]//img)', $article); elseif (strpos($article['content'], 'wondermark.com/c') !== FALSE) { $xpath = new DOMXpath($doc); $imgs = $xpath->query('//img'); //doesn't get simpler than this foreach ($imgs as $img) { $article['content'] = preg_replace('#(/[0-9-]+)-150x150\.gif#', '$1.gif', $article['content']); $article['content'] = $this->get_img_tags($xpath, "//div[@id='comic-1']//img", $article); // And get blog elseif (strpos($article['link'], 'polyinpictures.com/comic/') !== FALSE) { // Chainsawsuit elseif (strpos($article["link"], "eatthattoast.com/comic/") !== FALSE || strpos($article['content'], 'thedoghousediaries.com/dhdcomics/') !== FALSE) { elseif (strpos(strtolower($article['link']), 'giantitp.com/comics/') !== FALSE) { elseif (strpos($article['link'], 'dilbert.com/strip/') !== FALSE) { $xpath = new DOMDocument(); // replace the