Quoth Pierre-Henri Lavigne at 02/11/07 05:03...
<snip />
What do you think about ? I suppose if the trick works, everyone will use it. I never heard about it before. Any informations / suggestions about it ?

Setting MIME type by accept string for XHTML is certainly used - I use it myself.

The thing that is missing from your implementation is giving any regard to the weight, or the user agent's "this is what I prefer" number.

Let me know if you would like to see the code I use, which takes into account the weight factor.

Cheers

M

--
Matthew Smith
IT Consultancy & Web Application Development
Business: http://www.kbc.net.au/
Personal: http://www.smiffysplace.com/
LinkedIn: http://www.linkedin.com/in/smiffy


*******************************************************************
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
*******************************************************************

Reply via email to