W3C home > Mailing lists > Public > www-validator@w3.org > December 2008

Re: HTML Validator HTTP Accept

From: David Dorward <david@dorward.me.uk>
Date: Fri, 12 Dec 2008 19:40:38 +0000
Message-ID: <4942BE36.8010603@dorward.me.uk>
To: "www-validator@w3.org" <www-validator@w3.org>

Aristotelis Mikropoulos wrote:
> So, how would you recommend me to manually implement content
> negotiation, with a server-side scripting language
> (how to use those q values within PHP, for example)

http://www.dev-archive.net/articles/xhtml.html#content-negotiation has
an algorithm expressed in Perl that you could probably port.

I'd still suggest sticking to HTML unless you are writing compound
documents though.

David Dorward                               <http://dorward.me.uk/>
Received on Friday, 12 December 2008 19:41:57 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 25 April 2012 12:14:33 GMT