At 13:12 30.04.2002, Joel Palmius wrote:
>Is there a mod_perl API (or some other standard way) to determine what a
>client web browser is capable of displaying? (images, tables, plugins...)
>
>I am developing a web questionnaire system in mod_perl (1.26) and I'm
>thinking about maybe dividing the display code into different levels
>depending on what the client can handle (no graphics no css for lynx-like
>browsers, stylesheets and images for most browsers, and plugin extensions
>for more advanced browsers).

The easiest is probably to ask the user. Tackling this in programming code 
will probably fail as you have a too wide array of different user agents, 
which each have their own options enabled/disabled. If the user won't 
understand those questions (that might be normal), well, try to make 
something that works for everyone. For example, you talk about CSS, but if 
used correctly, text-based users will be able to use a page that has CSS 
even if they don't have support for it. In the end, nobody really cares 
about all the extra "stuff", and the way that works for everyone will 
probably be the best (of course, don't be too conservative either; anyone 
using lynx for example will know its limitations).


-- 
Per Einar Ellefsen
[EMAIL PROTECTED]


Reply via email to