3
1
Back

$xpath->query("//img[@class='extrapanelimage']")->item(0); //also get the blog $entries = $xpath->query("//div[@id='blarg']/div[last()]"); // Penny Arcade if(preg_match("@.*()@", $article['content'], $matches)){ if (preg_match("@.*()@", $article['content'], $matches)) { $img = $matches[1]; } } if(ADD_IDS){ $article['content'] .= "

" . $entry->textContent . "

"; } } if(ADD_IDS){ $article['content'] .= "Alt: " . $article['id']; } return $article.

New Pull Request