[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: ANN: Ticker.app (RSS monitor, alpha release).
From: |
Marko Riedel |
Subject: |
RE: ANN: Ticker.app (RSS monitor, alpha release). |
Date: |
Tue, 7 Mar 2006 21:59:12 +0100 (CET) |
Hello there,
I fixed some bugs in Ticker.app and changed some of its behaviour.
It should now work with Google RSS feeds e.g.
http://news.google.de/?output=rss
Fixes:
* replaced NSUTF8StringEncoding by NSASCIIStringEncoding as this is what
lynx outputs
* headlines are now sorted by date if present in the RSS feed; the most
recent headline appears first
* the feeds panel is not displayed on startup if the user already has some
windows configured.
The homepage of Ticker.app is here:
http://www.gnustep.it/marko/Ticker/index.html
BTW you need a dictionary of the English locale settings in order to parse
dates with NSCalendarDate (method dateWithString:calendarFormat:). Is
there a better way than doing
static id _english = nil;
+ (NSDictionary *)englishLocale
{
if(_english == nil){
NSBundle *gbundle = [NSBundle bundleForLibrary:@"gnustep-base"];
NSString *path =
[gbundle pathForResource:@"English"
ofType:nil
inDirectory:@"Languages"];
if(path!=nil){
_english = [[NSDictionary alloc] initWithContentsOfFile:path];
}
}
return _english;
}
Best regards,
Marko
+-------------------------------------------------------------+
| Marko Riedel, EDV Neue Arbeit gGmbH, markoriedelde@yahoo.de |
| http://www.geocities.com/markoriedelde/index.html |
+-------------------------------------------------------------+
___________________________________________________________
Telefonate ohne weitere Kosten vom PC zum PC: http://messenger.yahoo.de