Apache::AxKit::StyleChooser::UserAgent(3pm)

Apache::AxKit::StyleChooser::UserAgent3pm

Choose stylesheets based on the user agent.

Usage

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

Overview

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.

Releases

2 releases since Debian 3.0 (Woody); the text changed 1 time.

  1. 3.0
  2. 3.1

Author

Kip Hampton, [email protected]

From axkit 1.6.2-3 in Debian 3.1 (Sarge). Parsed by carta from the page's man source.