Browsing index pages (3 articles)
↧
Parsing RSS feed - retrieve images, urls?
Hello I am parsing a RSS And Atom feeds, and my question is how can I check for < img > and < url > tags in < description >?There must be some sort of check. Thanks.Here is how I...
View ArticleAnswer by shraddha hattimare for Parsing RSS feed - retrieve images, urls?
I thought thatitemF.description = [item valueForChild:@"description"];is NSString. So you can use componentsSeparatedByString with "your tag". It will return array. In array at postion 1 you will get...
View ArticleAnswer by shraddha hattimare for Parsing RSS feed - retrieve images, urls?
Do it like this:NSString *Str=[item valueForChild:@"description"];NSArray *tmp=[Str componentsSeparatedByString:@"<Img>"];if([tmp count]>1){ NSString *urlstr=[[tmp objectatindex:1]...
View Article
Browsing index pages (3 articles)