Re: Alternate style sheets in CSS3.

Ian Hickson writes:
> 
> On Sun, 22 Feb 2004, Bert Bos wrote:
> >
> > In fact, it would be even better if the documents contained no link at
> > all, but the link was added as an HTTP header by the server.  [...]
> > Unfortunately, no browser supports it :-(
> 
> Mozilla does, and has, since about 1999. Can you give us a URI to see why
> it isn't working for you?

Here is an example:

http://www.phonk.net/Images/Aigues-Mortes/991028-Aigues-Mortes.jpg;application%2Frdf%2Bxml

You can also get it when you request
http://www.phonk.net/Images/Aigues-Mortes/991028-Aigues-Mortes.jpg
with an Accept header of application/* or application/rdf+xml.

(Most of the photos on that site have such RDF metadata.) This returns:

HTTP/1.1 200 OK
Connection: keep-alive,close
Date: Sun, 22 Feb 2004 22:53:26 GMT
Content-Length: 1180
Content-Location:
http://www.phonk.net/Images/Aigues-Mortes/991028-Aigues-Mortes.jpg;application%2Frdf%2Bxml
Content-Type: application/rdf+xml
Etag: "1tbaig5:uc324l1h"
Expires: Tue, 01 Jun 2004 22:53:26 GMT
Last-Modified: Sun, 22 Feb 2004 22:49:11 GMT
Server: Jigsaw/2.2.2
Vary: Accept
Link: <http://www.phonk.net/style/photo-rdf.css>; rel=stylesheet

But Mozilla shows the source. Maybe because it doesn't know that
application/rdf+xml is a form of XML...



Bert
-- 
  Bert Bos                                ( W 3 C ) http://www.w3.org/
  http://www.w3.org/people/bos/                              W3C/ERCIM
  bert@w3.org                             2004 Rt des Lucioles / BP 93
  +33 (0)4 92 38 76 92            06902 Sophia Antipolis Cedex, France

Received on Sunday, 22 February 2004 18:11:40 UTC