include 'simple_html_dom.php'; $html = file_get_html('http://www.cnn.com'); $ret = $html->find('div[id=cnn_maincntnr]', 0)->innertext; print_r($ret); ?>