I found a page that does not load properly into the dom object but I have no clue as to why this could be. The example code can look like this:
include('../simple_html_dom.php');
// get DOM from URL or file
$html = file_get_html('http://kitsune.rydia.net/comics/feywinds/fw0000.html');
// find all link
foreach($html->find('a') as $e)
echo $e->href . '
';
// find all image
foreach($html->find('img') as $e)
echo $e->src . '
';
Checking the source of specific page does not reveal any information as for why this does not work. He simply won't find any objects and just throws the whole source into plain text.
using WoS with apache2 & php5
it's the
Fixed!
download patched file:
http://simplehtmldom.svn.sourceforge.net/viewvc/simplehtmldom/trunk/simple_html_dom.php?revision=169&pathrev=169