Forum

The RSS reader cannot read this feed

2009-05-20

MatthiasĀ 

Dearest, I use your rss reader script, But it seens to have a problem: Warning: DOMDocument::load() [domdocument.load]: php_network_getaddresses: getaddrinfo failed: Temporary failure in name resolution in /home/example.info/public_html/include/rsslib.php on line 82 Warning: DOMDocument::load(http://www.example.be/Rss.aspx?section=postCode&postCode=2830) [domdocument.load]: failed to open stream: php_network_getaddresses: getaddrinfo failed: Temporary failure in name resolution in /home/example.info/public_html/include/rsslib.php on line 82 Warning: DOMDocument::load() [domdocument.load]: I/O warning : failed to load external entity "http://www.example.be/Rss.aspx?section=postCode&postCode=2830" in /home/example.info/public_html/include/rsslib.php on line 82 Is it possible to read .rss files? Because i think it is only able to read .XML? Mvg Matthias
2009-05-20

scriptol

Hello I have tested the feed with this online demo: http://www.scriptol.fr/rss/rss-simple.php The feed has been displayed correctly without error. The problem must be in the configuration of your server or the version of PHP (must be 4.3 or further).
2009-05-20

Matthias

Hello, I think i know what the error is, Not all Rss feeds have a <item></item> ellement, and for the script you made, it is nesecearly. Do you know how to fix this? Mvg Matthias
2009-05-20

Scriptol

Unfortunally, the script relies on PHP functions and they require a valid XML document to parse. I can not change PHP... The feed you want to display is not well formed, in other words it has not the standard format. Maybe you should inform the webmaster of the issue.