batmanAgen Posted November 27, 2007 Share Posted November 27, 2007 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 Quote Link to comment Share on other sites More sharing options...
Azu Posted November 27, 2007 Share Posted November 27, 2007 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. Quote Link to comment 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.