Jeremy Wadsack posted an untested regexp back in November
2001. It was a great starting point, thanks Jeremy.
I've updated it to catch two types of AOL browsers, but
I've never actually caught an IWENG browser to test.
# Mozilla/2.0 (Compatible; AOL-IWENG 3.1; Win16)
BROWALIAS "REGEXP:(Mozilla/\d+\.\d+) \([cC]ompatible; AOL-IWENG (\d+\.\d+); ([^)]+)\)"
"AOL/$2 ([$1; compatible; AOL-IWENG $2]; $3)"
# Mozilla/4.0 (compatible; MSIE 5.5; AOL 7.0; Windows 98; Win 9x 4.90)
BROWALIAS "REGEXP:(Mozilla/\d+\.\d+) \(compatible; MSIE (\d+\.\d+); AOL (\d+\.\d+);
([^)]+)\)" "AOL/$3 ([$1; compatible; m.s.i.e
$2]; $4)"
Which outputs lines in the browser report like this
***392: AOL/7.0 ([Mozilla/4.0; compatible; m.s.i.e 5.5]; Windows 98; Win 9x 4.90)
Or the summary report like this ...
pages: browser
-----: -------
***542: AOL
***806: AOL/7
***320: AOL/6
***083: AOL/5
***330: AOL/4
3: AOL/3
***384: MSIE
***678: MSIE/5
***938: MSIE/6
***645: MSIE/4
123: MSIE/3
Without the translation to m.s.i.e or something other than MSIE,
analog undoes my conversion and lumps it back in with the MSIE
browsers during the summary.
I also toyed with adding AOL as a prefix to the MSIE sub-browswer
type (i.e. MSIE/AOL-5), but it made the report tougher to read.
Scott
+------------------------------------------------------------------------
| This is the analog-help mailing list. To unsubscribe from this
| mailing list, go to
| http://lists.isite.net/listgate/analog-help/unsubscribe.html
|
| List archives are available at
| http://www.mail-archive.com/[email protected]/
| http://lists.isite.net/listgate/analog-help/archives/
| http://www.tallylist.com/archives/index.cfm/mlist.7
+------------------------------------------------------------------------