cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GaŽl Laurans <>
Subject Re:Help with User-Agent for multiple versions of the same browser platform
Date Sat, 07 Apr 2001 00:09:51 GMT
On 05/04/2001 19:59:39, Rick Castello has wisely spoken thusly:
>I'm developing for multiple devices.
>The standard works great for
>HandHTTP, Netscape, MSIE, etc.
>I run into a problem with Pocket Internet Explorer.
>The default maps it like so:
>    pocketexplorer=MSPIE
>However, my server logs show all connections from 
>Pocket Internet Explorer as:
>    Mozilla/2.0 (compatible; MSIE3.02; Windows CE; 240x320)
>This certainly doesn't seem like it will match against 
>I tried:	      pocketexplorer=Windows CE 
>(which would have width problems for people on Handheld CE 
>instead of Pocket CE, but it would have been a start).  
>I also tried:     pocketexplorer=240x320
>which didn't work either.
>I tried again:    pocketexplorer='Windows CE'
>and:			pocketexplorer=Windows CE
>which also failed.
>Can anyone point me in the right direction, please?

As Robin Green pointed out the problem is very likely to be the order of the entries in the

>Even a bit of help on allowable syntax and exactly what
>fields or parts of fields this identifier attempts to 
>match against would be extremely helpful...

It's based on java.util.Properties, so I think that everything is allowed including the except
sequences t, \n, \r, 
\\, \", \', \ (a backslash and a space), and \\uxxxx but not \n, \r or \r\n which are the
delimiters. Anyway, I tested " " (a 
space), "(" and ";" so you can use them without problems (Cocoon 1.8.2) and I don't think
you'll need anything else.

Please check that your question has not already been answered in the
FAQ before posting. <>

To unsubscribe, e-mail: <>
For additional commands, e-mail: <>

View raw message