I am using NSXMLParser to parse a Feedburner/atom feed. I can get most elements to work however I am not sure how to parse the following:
I would like to get at and store the href from this tag. How do I do this?
Thanks -Tom Printy
I am using NSXMLParser to parse a Feedburner/atom feed. I can get most elements to work however I am not sure how to parse the following:
I would like to get at and store the href from this tag. How do I do this?
Thanks -Tom Printy
OK I figure it out....
In the idStartElement callback I added the code:
if ( [elementName isEqualToString:@"link"]) {
NSString *string = [attributeDict objectForKey:@"href"];
NSLog(@"Link is %@ ", string);
[currentLink appendString:[self cleanURL:string]]; }