Labels Milestones
BackSee my solution to getting the image. Elseif (strpos($article['link'], 'gunnerkrigg.com/?p') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//div[@id='imgdiv']//img", $article); //also get the blog $entries = $xpath->query("//div[@id='blarg']/div[last()]"); foreach ($entries as $entry) { $article['content'] = preg_replace('#(width|height)="150"#', '', $article['content']); } // Poly In Pictures elseif (strpos($article['link'], 'breakingcatnews.com/comic/') !== FALSE) { // Questionable Content (cleanup elseif (strpos($article['link'], 'amultiverse.com/comic/') !== FALSE) { // replace the