Depuis jours, j'essaye d'analyser un flux YOUTUBE-XML en utilisant GDATA-API pour iOS.Parse youtube playlist sur iphone sdk/iOS
http://code.google.com/intl/de-DE/apis/youtube/2.0/developers_guide_protocol_channel_search.html
NSDictionary *namespaces = [NSDictionary dictionaryWithObjectsAndKeys:
@"http://www.w3.org/2005/Atom", @"",
@"http://schemas.google.com/g/2005", @"gd",
@"http://a9.com/-/spec/opensearch/1.1/",@"opensearch",
@"http://gdata.youtube.com/schemas/2007",@"yt",
@"W/"DkYGRH48fCp7ImA9Wx5WFEw."",@"gd:etag",
nil];
NSError *error = [[NSError alloc] init];
GDataXMLDocument *doc = [[GDataXMLDocument alloc] initWithData:receivedData options:0 error:nil];
NSArray *elements = [doc nodesForXPath:@"//entry" namespaces:namespaces error:&error];
Je ne reçois aucun résultat. Est-ce que quelqu'un a une solution à cela? Merci d'avance!