YouTube 데이터 API에서 제공하는 YouTube 피드를 구문 분석하려고합니다. 이 피드는 모든 동영상 uploaded by a specific user을 다음과 같이 나열합니다. https://gdata.youtube.com/feeds/api/users/google/uploads?v=2Parse youtube api feed v2
iOS 앱에서 touchXML을 사용하고 있습니다. 모든 <entry>
노드를 CXMLDocument의 nodesForXPath 함수를 사용하여 수집하려고했습니다.
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)
하지만이 쿼리는 아무 것도 반환하지 않습니다. xpath 구문을 확인했습니다. 나는 그것이 틀렸다고 생각하지 않는다.