I'm trying to parse a YouTube feed provided by the YouTube data API. This feed lists all videos uploaded by a specific user, like this one: https://gdata.youtube.com/feeds/api/users/google/uploads?v=2
I'm using touchXML in my iOS app. I've tried to collect all <entry>
nodes using nodesForXPath function in CXMLDocument.
NSURL *url = [NSURL URLWithString: newsFeedUrl];
CXMLDocument *feedParser = [[CXMLDocument alloc] initWithContentsOfURL:url options:0 error:nil];
NSArray *resultNodes = [feedParser nodesForXPath:@"//entry" error:nil];
NSLog(@"%@",resultNodes.count); // >>> return (null)
But this query doesn't return anything. I have checked the xpath syntax; I don't think it's wrong.