3
1
Back

Tech elseif (strpos($article['link'], 'dilbert.com/strip/') !== FALSE) { $doc = new DOMDocument(); // replace the (containing project wonderful) with nothing $article['content'] = preg_replace('#(/[0-9-]+)-150x150\.gif#', '$1.gif', $article['content']); $article['content'] = $this->get_img_tags($xpath, "//div[@id='imgdiv']//img", $article); //also get blog $entries = $xpath->query("//div[@id='blarg']/div[last()]"); foreach ($entries as $entry) { $article['content'] .= "
Alt: " . $article['id']; } return $article; } Some.

New Pull Request