LSGetToDoTasksAsRSSCommand.m (opengroupware-5.5rc2) | : | LSGetToDoTasksAsRSSCommand.m (opengroupware-5.5rc3) | ||
---|---|---|---|---|
skipping to change at line 105 | skipping to change at line 105 | |||
/* TODO: needs to generate a meaningful link attribute */ | /* TODO: needs to generate a meaningful link attribute */ | |||
- (void)appendRSSItem:(NSDictionary *)_record { | - (void)appendRSSItem:(NSDictionary *)_record { | |||
NSMutableString *title, *description, *author; | NSMutableString *title, *description, *author; | |||
NSString *tmp, *guid; | NSString *tmp, *guid; | |||
/* Create a title */ | /* Create a title */ | |||
title = [NSMutableString stringWithCapacity:128]; | title = [NSMutableString stringWithCapacity:128]; | |||
tmp = [_record valueForKey:@"jobname"]; | tmp = [_record valueForKey:@"jobname"]; | |||
[title appendString:[tmp stringByEscapingHTMLString]]; | [title appendString:[tmp stringByEscapingHTMLString]]; | |||
[title appendFormat:@" (%@)", tmp, [_record valueForKey:@"actor"]]; | [title appendFormat:@" (%@)", [_record valueForKey:@"actor"]]; | |||
/* Create a description */ | /* Create a description */ | |||
description = [NSMutableString stringWithCapacity:512]; | description = [NSMutableString stringWithCapacity:512]; | |||
tmp = [_record valueForKey:@"comment"]; | tmp = [_record valueForKey:@"comment"]; | |||
[description appendString:[tmp stringByEscapingHTMLString]]; | [description appendString:[tmp stringByEscapingHTMLString]]; | |||
[description appendString:@"\n-----\n"]; | [description appendString:@"\n-----\n"]; | |||
[description appendFormat:@"Due: %@", [_record valueForKey:@"endDate"]]; | [description appendFormat:@"Due: %@", [_record valueForKey:@"endDate"]]; | |||
tmp = [_record valueForKey:@"projectname"]; | tmp = [_record valueForKey:@"projectname"]; | |||
if ([tmp isNotNull]) { | if ([tmp isNotNull]) { | |||
[description appendFormat:@"<STRONG>Project:</STRONG> %@\n", tmp]; | [description appendFormat:@"<STRONG>Project:</STRONG> %@\n", tmp]; | |||
End of changes. 1 change blocks. | ||||
1 lines changed or deleted | 1 lines changed or added |