Labels Milestones
Back$matches[1]; // Least I Could Do (wtf image size? Elseif (strpos($article['link'], 'polyinpictures.com/comic/') !== FALSE) { // Three Panel Soul // Two Lumps $orig_content = strip_tags($article['content']); $article['content'] = $this->get_img_tags($xpath, '(//div[@id="aftercomic"]//img)', $article); $article['content'] = $matches[1]; $img = preg_replace("@height=\"\d+\"@", "", $img); $article['content'] = preg_replace('#(/[0-9-]+)-150x150\.gif#', '$1.gif', $article['content']); $article['content'] = $matches[1]; $img = preg_replace("@width=\"\d+\"@", "", $img); $article['content'] = $this->get_img_tags($xpath, '(//div[@class="container"]//center//img)', $article); } // Two Lumps // Breaking Cat News // Something Positive elseif (strpos($article['link'], 'questionablecontent') !== FALSE) { $doc = new DOMDocument(); // replace the