RSS feed does not load in WebView correctly
I created an RSS reader via Xcode and it seems to have problems when I load the CRAIGSLIST RSS feed into NSURL. It seems to work with the code below. But when I put Craigslist RSS there, it doesn't bring me 404 error on craigslist. Any thoughts?
- (void)viewDidLoad {
[super viewDidLoad];
feeds = [[NSMutableArray alloc] init];
NSURL *url = [NSURL URLWithString:@"http://images.apple.com/main/rss/hotnews/hotnews.rss"];
parser = [[NSXMLParser alloc] initWithContentsOfURL:url];
[parser setDelegate:self];
[parser setShouldResolveExternalEntities:NO];
[parser parse];
+3
source to share
1 answer
Have you used http://chicago.craigslist.org/search/ata?format=rss '? or http://chicago.craigslist.org/search/ata?format=rss&format=rss '? You should probably use the second one because it defines a category.
+1
source to share