I'm using simple_html_dom to parse html pages that i found is an rss.
I'm using simplepie to parse the rss.
So. i'm using the method
$item_url = $item->get_permalink();
from simplepie api to get the page url and then calling
$remote_html = new simple_html_dom();
$remote_html->load_file( $item_url );
simple html dom gets the html from the page but some tags are missing.
When i'm entering the url hardcoded i don't have this problem.
I tried to print the url and is identical in both situations.
I also tried the non object oriented way but still the same.
I also tried to get the page with curl and then parse the html string but nothing either.
Is this a simple_html_dom problem or php's?
Log in to post a comment.