1
J'utilise MWFeedParser pour lire flux d'atomes Youtube d'ici: heretag MWFeedParser intérieur tag (médias: miniature)
Code Xml:
<media:thumbnail url='http://i.ytimg.com/vi/7_1PfqGVSg0/0.jpg' height='240' width='320' time='00:01:34.500'/>
comment je peux obtenir l'URL des médias: miniature ? j'ai essayé de changer MWFeedParser.m de ceci:
else if ([currentPath isEqualToString:@"/feed/entry/link"]) { [self processAtomLink:currentElementAttributes andAddToMWObject:item]; processed = YES; }
à ceci:
else if ([currentPath isEqualToString:@"/feed/entry/media:thumbnail"]) { [self processAtomLink:currentElementAttributes andAddToMWObject:item]; processed = YES; }
mais il ne fonctionne pas :(
son travail maintenant tnx – user535351