[wp-hackers] WordPress, web standards, and (X)HTML

Ian Barber ian.barber at gmail.com
Mon Dec 4 09:52:03 GMT 2006


On 12/2/06, Benjamin Hawkes-Lewis <bhawkeslewis at googlemail.com> wrote:
>
> On Sat, 2006-12-02 at 00:17 -0500, Joey B wrote:
> On the contrary, I'm suggesting one of three alternatives:
>
> 1) If WordPress is going to use XHTML at all, it should serve
> application/xhtml+xml to supporting engines like Gecko and recent WebKit
> builds. For browsers that do not support application/xhtml+xml, serving
> XHTML 1.0 as text/html is a poor solution IMHO. It's "acceptable",
> however, so long as it's valid and conformant. That's a minimal
> solution. To expect anything less is to undercut WordPress's claim to be
> a standards-based system



Perhaps the best solution would be to implement this suggestion as a plugin
using a filter on option_html_type, that would give people the option, and
an idea of how many plugins aren't using compliant markup etc.

--
Ian Barber
http://www.gunfist.com


More information about the wp-hackers mailing list