iphone Programming Glossary: pubdate
Using NSXMLParser with CDATA http://stackoverflow.com/questions/1095782/using-nsxmlparser-with-cdata isEqualToString @ description currentSummary appendString string else if currentElement isEqualToString @ pubDate currentDate appendString string iphone objective c nsxmlparser cdata share improve this question The point of CDATA..
Parsing XML code on iphone SDK http://stackoverflow.com/questions/3616447/parsing-xml-code-on-iphone-sdk isEqualToString @ description currentSummary appendString string else if currentElement isEqualToString @ pubDate currentDate appendString string void parserDidEndDocument NSXMLParser parser activityIndicator stopAnimating activityIndicator.. for sections and items xml version 1.0 encoding ISO 8859 1 data section name Section 1 name item title Title 1 title pubDate 1 Sept 2010 pubDate detail CDATA Detail text detail item item title Title 2 title pubDate 1 Sept 2010 pubDate detail CDATA.. xml version 1.0 encoding ISO 8859 1 data section name Section 1 name item title Title 1 title pubDate 1 Sept 2010 pubDate detail CDATA Detail text detail item item title Title 2 title pubDate 1 Sept 2010 pubDate detail CDATA Detail text detail..
Index '5' beyond bounds of empty array crash http://stackoverflow.com/questions/8962280/index-5-beyond-bounds-of-empty-array-crash @ description elementName isEqualToString @ link elementName isEqualToString @ guid elementName isEqualToString @ pubDate self.currentItemValue NSMutableString string else self.currentItemValue nil void parser NSXMLParser parser didEndElement.. isEqualToString @ guid self.currentItem.guidUrl self.currentItemValue else if elementName isEqualToString @ pubDate NSDateFormatter formatter NSDateFormatter alloc init formatter setDateFormat @ yyyy MM dd'T'HH mm ss'Z' self.currentItem.pubDate.. formatter NSDateFormatter alloc init formatter setDateFormat @ yyyy MM dd'T'HH mm ss'Z' self.currentItem.pubDate formatter dateFromString self.currentItemValue formatter release else if elementName isEqualToString @ item self rssItems..
|