/*
- Copyright (C) 2000-2004 SKYRIX Software AG
+ Copyright (C) 2000-2005 SKYRIX Software AG
- This file is part of OpenGroupware.org.
+ This file is part of SOPE.
- OGo is free software; you can redistribute it and/or modify it under
+ SOPE is free software; you can redistribute it and/or modify it under
the terms of the GNU Lesser General Public License as published by the
Free Software Foundation; either version 2, or (at your option) any
later version.
- OGo is distributed in the hope that it will be useful, but WITHOUT ANY
+ SOPE is distributed in the hope that it will be useful, but WITHOUT ANY
WARRANTY; without even the implied warranty of MERCHANTABILITY or
FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
License for more details.
You should have received a copy of the GNU Lesser General Public
- License along with OGo; see the file COPYING. If not, write to the
+ License along with SOPE; see the file COPYING. If not, write to the
Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA
02111-1307, USA.
*/
-// $Id$
#include <NGObjWeb/WEClientCapabilities.h>
#include <NGObjWeb/WOAssociation.h>
#define WEUA_KungLog 36
#define WEUA_SOPE 37
#define WEUA_Ecto 38
+#define WEUA_NewsFire 39
+#define WEUA_Goliath 40
#define WEOS_UNKNOWN 0
#define WEOS_WINDOWS 1
else if (strstr(ua, "ecto")) {
self->browser = WEUA_Ecto;
}
+ else if (strstr(ua, "NewsFire")) {
+ self->browser = WEUA_NewsFire;
+ }
+ else if (strstr(ua, "Goliath")) {
+ self->browser = WEUA_Goliath;
+ }
else if (strstr(ua, "SOPE/")) {
self->browser = WEUA_SOPE;
}
case WEUA_Morgul: return @"Morgul";
case WEUA_KungLog: return @"KungLog";
case WEUA_Ecto: return @"Ecto";
+ case WEUA_NewsFire: return @"NewsFire";
+ case WEUA_Goliath: return @"Goliath";
default: return @"unknown";
}
}
if (self->browser == WEUA_ZideLook) return YES;
if (self->browser == WEUA_Entourage) return YES;
if (self->browser == WEUA_Morgul) return YES;
+ if (self->browser == WEUA_Goliath) return YES;
return NO;
}
if (self->browser == WEUA_Ecto) return YES;
return NO;
}
+- (BOOL)isRSSClient {
+ if (self->browser == WEUA_NetNewsWire) return YES;
+ if (self->browser == WEUA_NewsFire) return YES;
+ return NO;
+}
- (BOOL)doesSupportCSSOverflow {
if (![self isCSS1Browser])
- (void)appendToResponse:(WOResponse *)_response inContext:(WOContext *)_ctx {
if (![_ctx isInForm]) {
[[_ctx component]
- logWithFormat:@"WARNING: you must use %@ inside a form !",
+ warnWithFormat:@"you must use %@ inside a form !",
NSStringFromClass([self class])];
return;
}
Ecto (WebServicesCore)
'ecto (Macintosh; U; PPC Mac OS X) WebServicesCore'
+
+ NewsFire
+ 'NewsFire/0.23'
+
+ Goliath
+ 'Goliath/1.0.1 (Macintosh-Carbon; PPC)'
*/