Labels Milestones
Back// The Oatmeal $entries = $xpath->query("//div[@id='blarg']/div[last()]"); foreach ($entries as $entry){ foreach ($entries as $entry){ foreach ($entries as $entry){ $article['content'] .= "
" . $entry->textContent . "
"; } } return $article; } function mangle_article($article) { if ($img->getAttribute('title')) { $article['content'] .= "ID: " . $img->getAttribute('title') . ""; // only keep everything starting at the first