How to do it
1. Start the xcode application, select the new project for which you want the RSS reader to be coded , now double click on the source file that you want: to load it in your editor.
2. Second you have to change your RSS feed URL value. Like for example your RSS URL is ‘mysitename.com/feed.xml’ but you need to change this extension value..
if ((self = [super init])) {
_articleTitle = [articleTitle copy];
_articleUrl = [articleUrl copy];
_articleDate = [articleDate copy];
}
return self;
_articleTitle = [articleTitle copy];
_articleUrl = [articleUrl copy];
_articleDate = [articleDate copy];
}
return self;
So here we can see the whole information getting stored like the article date ,time and title besides this the blog from where it is coming.
3. Display of the RSS entries in control of table.
- (void)viewDidLoad {[super viewDidLoad];
self.title = @"My Feed";
self.allEntries = [NSMutableArray RSSitems];
[self addRows];
}
self.title = @"My Feed";
self.allEntries = [NSMutableArray RSSitems];
[self addRows];
}
No comments:
Post a Comment