Matt Sergeant > AxKit-1.6.2 > Apache::AxKit::StyleChooser::UserAgent

Download:
AxKit-1.6.2.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  15
Open  4
View/Report Bugs
Module Version: 0.01   Source  

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.

syntax highlighting: