[development] Administration Survey: Theme improvements, theme help system, theme mailing list

Tim Altman web at timaltman.com
Thu Dec 1 21:27:29 UTC 2005


On Thu, 01 Dec 2005 22:19:56 +0100, Gabor Hojtsy <gabor at hojtsy.hu> wrote:

>>> Except that sending XHTML 1.0 Strict as text/html is valid, but
>>> sending  XHTML
>>> 1.1 Strict as text/html is not right, according to the W3C.  Since we
>>> can't
>>> send things as text/xml+html because IE is a broken ancient piece of
>>> popular
>>> crap, that means XHTML 1.0 is as up to date as we can support and
>>> still  be
>>> "right".
>>
>> Using XHTML without application/xhtml+xml is pretty pointless.  I'd
>> prefer  a theme based on HTML 4.01.
>
> Actually doing all the Drupal core theme functions with XHTML in mind is
> quite a good idea IMHO. Any theme can do the fancy magic of detecting
> capable user agents, and send proper Content-type to them.

Certainly.  I've been thinking about making a theme that used XHTML 1.0  
for UAs supporting application/xhtml+xml and HTML 4.01 for other UAs, but  
never got around to looking into the implementation details.  That would  
be the best of both worlds, IMHO.

-- 
Tim Altman


More information about the development mailing list