How to parse URL from RSS feed with NSXMLParser
When you parse URL from RSS feeds there are, most of the time, unwanted characters (not directly visible) that prevent you from opening a page from within your iPhone app. The solution below is not perfect but does the job.
// Get the actual string
NSString *storyURL = [NSString stringWithFormat:@"%@", self.selectedURL];
// Break it at control characters. This will give an array with multiple objects
NSArray *brokenString = [storyURL componentsSeparatedByCharactersInSet:[NSCharacterSet controlCharacterSet]];
// Get the clean URL
NSString *webURL = [NSString stringWithFormat:@"%@", [brokenString objectAtIndex:0]];