On Sun, 2006-03-05 at 23:27 +0100, Lourens Veen wrote:
> On Sunday 05 March 2006 19:51, dolphinling wrote:
> > First off, ditch the XHTML, and go with HTML 4.01 strict. You're
> > sending it as text/html, so the XHTML doctype has no advantages.
> 
> No disadvantages either. And sending it as XHTML (xml+html) breaks IE.

I get around this by using typemaps and symlinks.  MultiViews might
work, but I am not sure.  Typemaps perform better and are nicely
explicit, but are a pain to create by hand if there are many files.
Perl works well for that, though.

To work with IE, it matters what order the available variants are listed
in the typemap, because IE asks for no particular document type, while
Firefox gives priority to XHTML.  For IE, list HTML first and it will be
served first.

This is an example of mine:
$ cat index.var
URI: index

URI: index.en.html
Content-Type: text/html
Content-Language: en

URI: index.en.xhtml
Content-Type: application/xhtml+xml
Content-Language: en
$ 

index.en.html is linked to index.en.xhtml.

Why do I do this?  Because I can.
-- 
Zan Lynx <[EMAIL PROTECTED]>

Attachment: signature.asc
Description: This is a digitally signed message part

_______________________________________________
Open-graphics mailing list
[email protected]
http://lists.duskglow.com/mailman/listinfo/open-graphics
List service provided by Duskglow Consulting, LLC (www.duskglow.com)

Reply via email to