J'utilise la fonction domxml_open_file pour recuperer des flux RSS.
hardware.fr est le seul site parmis la dizaine que j'ai testé que je ne peux ouvrir avec domxml_open_file
test.php
Code :
- <?
- domxml_open_file('http://www.hardware.fr/backend/news.xml');
- ?>
|
L'erreur retournée ->
Citation :
Warning: domxml_open_file(): AttValue: " or ' expected in test.php on line 2
Warning: domxml_open_file(): attributes construct error in test.php on line 2
Warning: domxml_open_file(): Specification mandate value for attribute arial in test.php on line 2
Warning: domxml_open_file(): attributes construct error in test.php on line 2
Warning: domxml_open_file(): AttValue: " or ' expected in test.php on line 2
Warning: domxml_open_file(): attributes construct error in test.php on line 2
Warning: domxml_open_file(): error parsing attribute name in test.php on line 2
Warning: domxml_open_file(): attributes construct error in test.php on line 2
Warning: domxml_open_file(): internal error in test.php on line 2
Warning: domxml_open_file(): Couldn't find end of Start Tag FONT line 3 in test.php on line 2
Warning: domxml_open_file(): Opening and ending tag mismatch: BODY line 2 and FONT in test.php on line 2
Warning: domxml_open_file(): Opening and ending tag mismatch: HTML line 1 and BODY in test.php on line 2
Warning: domxml_open_file(): Extra content at the end of the document in test.php on line 2
|
Je comprends pas ... j'oublis quelque chose ?