diff options
author | matt handler <matt.handler@gmail.com> | 2011-04-24 21:00:46 -0400 |
---|---|---|
committer | matt handler <matt.handler@gmail.com> | 2011-04-24 21:00:46 -0400 |
commit | 663d25e5160e97eefed1444bac0b4ac964f3368e (patch) | |
tree | 530aa0ecb4c34704de7c5f51873056b4e0748d35 /Classes/AcidCowFeedburnerParser.m | |
parent | a14cc19fb021a74be4c2d756eab040c95b3a487e (diff) | |
download | piccast-app-663d25e5160e97eefed1444bac0b4ac964f3368e.tar.gz piccast-app-663d25e5160e97eefed1444bac0b4ac964f3368e.zip |
still a bit off from a solid state... added fmdatabase, updated acidcow parser with a formate, added some standard stuff to piccast app delegate, created a section dictionary, did some serializing to/from db for topics, added a bunch of logic to topic view controller, added db table
Diffstat (limited to 'Classes/AcidCowFeedburnerParser.m')
-rw-r--r-- | Classes/AcidCowFeedburnerParser.m | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Classes/AcidCowFeedburnerParser.m b/Classes/AcidCowFeedburnerParser.m index 46d7ec5..118aa43 100644 --- a/Classes/AcidCowFeedburnerParser.m +++ b/Classes/AcidCowFeedburnerParser.m @@ -15,12 +15,12 @@ - (void)downloadAndParse:(NSURL *)url { - NSLog(@"downloadAndParse"); self.downloadAndParsePool = [[NSAutoreleasePool alloc] init]; done = NO; self.parseFormatter = [[[NSDateFormatter alloc] init] autorelease]; [parseFormatter setDateStyle:NSDateFormatterLongStyle]; [parseFormatter setTimeStyle:NSDateFormatterNoStyle]; + [parseFormatter setDateFormat:@"EEE, d MMM yyyy HH:mm:ss Z"]; // necessary because iTunes RSS feed is not localized, so if the device region has been set to other than US // the date formatter must be set to US locale in order to parse the dates [parseFormatter setLocale:[[[NSLocale alloc] initWithLocaleIdentifier:@"US"] autorelease]]; @@ -169,7 +169,7 @@ static NSString *kName_Guid = @"guid"; } else if ([elementName isEqualToString:kName_Guid]) { currentTopic.guid = currentString; } else if ([elementName isEqualToString:kName_Creator]) { - currentTopic.creator = currentString; + //currentTopic.creator = currentString; } else if ([elementName isEqualToString:kName_Description]) { NSRegularExpression* regex = [NSRegularExpression regularExpressionWithPattern:@"http\\S+(jpg|png|gif|jpeg)" options:NSRegularExpressionCaseInsensitive |