Quantcast
Channel: RSS feed does not load to the WebView correctly - Stack Overflow
Viewing all articles
Browse latest Browse all 2

RSS feed does not load to the WebView correctly

$
0
0

I created an RSS reader through Xcode and seem to have problems when I load a CRAIGSLIST RSS feed into the NSURL.. It seems to work with the below code.. But when I put a Craigslist RSS in there it does not brings me to a 404 error in 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];

Viewing all articles
Browse latest Browse all 2

Latest Images

Trending Articles





Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>
<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596344.js" async> </script>