You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Dean Gaudet <dg...@hotwired.com> on 1995/11/30 20:16:31 UTC

Re: enhancement (fwd)

In message <19...@taz.hyperreal.com>, Rob Hartill writes:
>Can whoever was working on conditional HTML talk to this person...

It was me working on it, but I wasn't sure that you folks liked the
way I did it.  I went with:

<if expr>
<elsif expr>
<else>
<endif>

example:

<if supports=tables>
    do something with a table
<else>
    do something with <pre> </pre>
<endif>

expr can have and, or, not, (, and ).

The properties for 'supports=' are defined in the configuration file
something like this:

UserAgent /^Lynx/ no_images
UserAgent #Mozilla/[1-9]# tables

I'll respond to him anyhow and Bcc here.

Dean