Re: HTML variants and content negotiation

[Some time ago, Brian Behlendorf wrote:]

> II.  Introduce conditional constructs to HTML.  Basically create a new 
> content-type, text/cond-html, say, and have it use either marked sections 
> or PI's to implement a IF(feature|NOT feature), THEN (block) ELSE 
> (block).  The "feature" would again be a registered keyword, which 
> browsers would be responsible for setting appropriately.  Browsers which 
> supported cond-html would indicate so in their accept headers of course, 
> so there's still a big role for content negotiation.

Although this sounds like a smaller-granularity situation than MIME
typically handles, would not the multipart/mixed and multipart/alternative 
facilities of MIME be a useful way of handling this?  

Obvious advantages include the degree of standardization MIME has
already gone through, and the fact that HTML is already using MIME
constructs like Content-Type.

Cheers!
Leslie.

-- 

------------------------------------------------------------------------------

"The difference between Believing and Understanding     Leslie Daigle
   is a Rational Explanation..."                        leslie@bunyip.com
                                                        Montreal, Canada
                          -- ThinkingCat
 
------------------------------------------------------------------------------

Received on Tuesday, 16 January 1996 18:18:50 UTC