I'm using this code
<?php
$feedUrl = 'http://www.infoextractor.org/upfiles/songlinks.txt.xml';
$rawFeed = file_get_contents($feedUrl);
$viewfile = new SimpleXmlElement($rawFeed);
foreach ($viewfile->channel->item as $viewfileinfo):
$title=$viewfileinfo->title;
echo " <span>",$title,"</span> ";
endforeach;
?>
to get me all the titles from the following link - http://www.infoextractor.org/upfiles/songlinks.txt.xml
It was working last week but now it is coming up with "Exception thrown String could not be parsed as XML".
Last week there were 8 less entries and it was working, I've deleted them to see if that was the issue but it is still throwing up the exception, maybe something in the xml file has generated differently?