RSS / XML Noob Problem
Hello everyone. I have a problem with an RSS feed that is giving me an output of:
"[ERROR] Error Domain=com.google.GDataXML Code=-1 "The operation couldn’t be completed. (com.google.GDataXML error -1.)". in -[TiDOMDocumentProxy parseString:] (TiDOMDocumentProxy.m:48)"
I have tried using both the rss.js and xml_rss.js and have the same problem. From what I understand is the RSS feed doesn't have a valid XML and I need to parse the HTML instead.
I have looked at other examples in help but I just don't understand it or what files I need. Thanks in advance for your help, I'm rather new at JS so I'm learning as I go.
1 Answer
-
Check you're not trying to parse something the parser doesn't like - an ampersand for example.
Ti.XML.parseString chokes on those.