I've been parsing tons of RSS feeds using PHP's simplexml_load_file and it works like a charm. Now I'm trying to do the same for the RSS feed of the Financial Times. When I do...
$rss = simplexml_load_file("http://www.ft.com/rss/world");
... I get:
Warning: simplexml_load_file(): http://www.ft.com/rss/world:11: parser error : Opening and ending tag mismatch: link line 8 and head in rss.php on line 6
Warning: simplexml_load_file(): oat:left;margin-right:20px;margin-top:3px;width:35px;height:31px;}</style></head in rss.php on line 6
Warning: simplexml_load_file(): ^ in rss.php on line 6
Warning: simplexml_load_file(): http://www.ft.com/rss/world:37: parser error : Opening and ending tag mismatch: input line 37 and li in rss.php on line 6
Warning: simplexml_load_file(): ^ in rss.php on line 6
and many, many more warnings (around 100).
I've searched Stackoverflow for answers, but I can't find anything that seems to apply to this case. What am I missing here?