DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH
 

Apache::AxKit::StyleChooser::UserAgent



NAME

Apache::AxKit::StyleChooser::UserAgent - Choose stylesheets based on the user agent.


SYNOPSIS

    In your .conf or .htaccess file(s):
    
    AxAddPlugin Apache::AxKit::StyleChooser::UserAgent
    PerlSetVar AxUAStyleMap "lynx     => Lynx,\
                             explorer => MSIE,\
                             opera    => Opera,\
                             netscape => Mozilla"


DESCRIPTION

This module sets the internal preferred style based on the user agent string presented by the connecting client. To use it, simply add this module as an AxKit plugin that will be run before main AxKit processing is done.

  AxAddPlugin Apache::AxKit::StyleChooser::UserAgent

See the AxStyleName AxKit configuration directive for more information on how to setup named styles.


AUTHOR

Kip Hampton, khampton@totalcinema.com


SEE ALSO

AxKit.