Jump to content

I get constant error messages when parsing xml from an rss feed


batmanAgen

Recommended Posts

Hi guys,

 

I need help with parsing rss feed from this http://fbtest1.com/cb/rss_test/bug.xml

 

I have coded my own parser and it works in most rss feed sites. but when I try to parse this I get this error:

Warning: SimpleXMLElement::__construct() [function.SimpleXMLElement---construct]: Entity: line 56: parser error : Input is not proper UTF-8, indicate encoding ! Bytes: 0xE2 0x80 0x3F 0x3C in /homepages/14/d186083260/htdocs/patricktest/cb/rss_test/xmlparse_class.php on line 39

Warning: SimpleXMLElement::__construct() [function.SimpleXMLElement---construct]: <p>Nick�</p></blockquote> in /homepages/14/d186083260/htdocs/patricktest/cb/rss_test/xmlparse_class.php on line 39

Warning: SimpleXMLElement::__construct() [function.SimpleXMLElement---construct]: ^ in /homepages/14/d186083260/htdocs/patricktest/cb/rss_test/xmlparse_class.php on line 39

 

I also tried to validate the feed: http://feedvalidator.org/check.cgi?url=http%3A%2F%2Ffbtest1.com%2Fcb%2Frss_test%2Fbug.xml

 

Need your thoughts,

 

Thanks in advance

 

 

In your link to the feed validator, it clearly shows the errors in it.

 

W3C has also detected a problem in it http://validator.w3.org/check?uri=http%3A%2F%2Ffbtest1.com%2Fcb%2Frss_test%2Fbug.xml&charset=%28detect+automatically%29&doctype=Inline&group=0

 

Try fixing all of the problems that these validators have detected. It should work then.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.