Server issue with the {B}LFS books look

Nico R. n-roeser at gmx.net
Tue Sep 14 12:41:51 PDT 2004


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

M.Canales.es wrote:

> El Mar 14 Sep 2004 21:02 Matthew Burgess escrbió:
> 
>> [1] http://www.w3.org/TR/xhtml-media-types/#media-types
> 
> Well, we have now that in the generated pages:
> 
> <meta http-equiv="Content-Type" content=
>     "text/html; charset=iso-8859-1" />

Uh, that's not good. This should be changed, IMHO, as it's our aim to do
The Right Thing(tm), and to do it well. ;-)


> There is no XML declaration, due an old issue with some mirrors that
> try to parse the files with PHP when that declaration is added.

Those mirrors should be fixed, too. Have their admins been notified
about this problem?


> And we are no using the XML stylesheet PI.
> 
> Them, our books pages aren't proper application/xhtml+xml.

Yes, they are. :-) But they might be HTML-compatible as well at the
moment.


Quote from <URL:http://www.w3.org/TR/xhtml-media-types/>:
> Abstract
> 
> 
> This document summarizes the best current practice for using various
> Internet media types for serving various XHTML Family documents. In
> summary, 'application/xhtml+xml' SHOULD be used for XHTML Family
> documents, and the use of 'text/html' SHOULD be limited to
> HTML-compatible XHTML 1.0 documents.

So we SHOULD really use 'application/xhtml+xml'.
- -- 
Nico
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (GNU/Linux)

iD8DBQFBR0l/xI5uhYOGv4URAjdEAKCM1QyN50DcYuWVOjhGYuWCeaHRtACg0xJc
ezJu2EX7W6dEmZc7fGkg+Io=
=u8jn
-----END PGP SIGNATURE-----



More information about the website mailing list