views:

15

answers:

1

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

A: 

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]]; }

Tom Printy