loadHTML($page);
$divs = $doc->getElementsByTagName('div');
foreach($divs as $div) {
// Loop through the DIVs looking for one withan id of "content"
if ($div->getAttribute('id') === 'bodyContent' ) {
echo $div->nodeValue;
}
}
?>











