Welcome to WebHeadStart.org

Web Technologies

Sponsored By

WebHeadStart.org is currently in beta.
Please pardon our appearance as we work to provide you with the most comprehensive reference on today's web technologies.

Interested in advertising on WebHeadStart? Become an advertising partner today!

[WWW-HTML Mailing List Archive Home] [Messages By Thread] [Messages By Date]

RE: Language negotiation.

From: Rowland Shaw <Rowland.Shaw@crystaldecisions.com>
Date: Fri, 11 Jul 2003 01:49:15 -0700
Message-ID: <963A03BCAFF059488BAFF33AE5C8709701517A2A@ipsent04.crystald.net>
To: David Woolley <david@djwhome.demon.co.uk>
Cc: www-html@w3.org

> David Woolley wrote:
> The only sites I know of that do do server side negotiation of anything
> but User Agent (using procedural, rather than declarative code, in that
> case) are Google, some versions of Microsoft's Windows Update page and
> some images on the W3C site.  None of these can effectively use 
> q factors as the common browsers do not allow the users to configure
> them, relying on positional fallback instead.


I've noticed that the browsers do specify q factors, although not the
magnitude, to pick three browsers at random:
IE/6: en-gb,xx;q=0.9,fr-ca;q=0.7,en;q=0.6,de-at;q=0.4,ja;q=0.3,zh;q=0.1
NS/7.1: en-gb,xx;q=0.8,fr-ca;q=0.6,de;q=0.4,ja;q=0.2
Opera/7.11: en-gb;q=1.0,en;q=0.9,fr;q=0.8

I have noticed that the algorithm in Apache's mod_negotiation is different
to what I'd expect though (I.e. if you ask for "en-gb" then "fr"; it will
give you "fr" as typically only "en" is set up - it doesn't implicitly
prefer "en" over "fr". Regardless, this is a little off topic for this list
;)
Received on Friday, 11 July 2003 04:49:19 GMT
Valid XHTML 1.0! Valid CSS! Site Map | Privacy Policy | Terms of Use | WebHeadStart.org © 2005 All Rights Reserved.