I get an XML through a feed URL with .RSS extension. I'm trying to read the XML and I was not successful. I tried the following ways:
$url = 'http://www.feedaqui.com.br/recent.rss';
$xml = simplexml_load_file($url);
$url = 'http://www.feedaqui.com.br/recent.rss';
$xml = simplexml_load_string(file_get_contents($url));
Generating the error:
Warning: simplexml_load_file(): I/O warning : failed to load external entity