vishank Posted June 2, 2008 Share Posted June 2, 2008 Hi there, I am trying to make a rss reader using php + ajax but with no success. Finally i downloaded the example given on w3 schools (w3schools.com/php/php_ajax_rss_reader.asp). This example works perfectly online but when i try it on my pc it throws an error something like this: Warning: DOMDocument::load(http://news.google.com/news?ned=us&topic=h&output=rss) [function.DOMDocument-load]: failed to open stream: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond. in D:\wamp\www\Flash-AMF\RSS-Reader\Parsers\AjaxPhp\getrss.php on line 15 Warning: DOMDocument::load() [function.DOMDocument-load]: I/O warning : failed to load external entity "http://news.google.com/news?ned=us&topic=h&output=rss" in D:\wamp\www\Flash-AMF\RSS-Reader\Parsers\AjaxPhp\getrss.php on line 15 Fatal error: Call to a member function getElementsByTagName() on a non-object in D:\wamp\www\Flash-AMF\RSS-Reader\Parsers\AjaxPhp\getrss.php on line 18 It would be a great favor if you spend a couple of minutes and help me to do it. Its pretty urgent. I am using AMFPHP V. 1.6. PHP V. 5. I have enabled XMLRPC too but still the story is same... Thnx in advance... (sample files are attached herewith...) [attachment deleted by admin] Quote Link to comment https://forums.phpfreaks.com/topic/108367-need-help-in-rss-reader/ Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.