I try to read out the url's of youtubevideos from this link: http://gdata.youtube.com/feeds/api/videos?author=channelname
I tried it like this:
NSRange startRange = [ret rangeOfString:@"<media:content url='http"];
NSRange endRange = [ret rangeOfString:@"'"];
NSRange searchRange = NSMakeRange(startRange.location , endRange.location);
NSLog(@"Link: %@",[ret substringWithRange:searchRange]);
The output is just: <media:content
Where is my mistake?