Matt Sergeant > AxKit-1.6.2 > Apache::AxKit::MediaChooser::WAPCheck

Download:
AxKit-1.6.2.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  15
Open  4
View/Report Bugs
Source  

NAME ^

Apache::AxKit::MediaChooser::WAPCheck - WAP device media chooser

SYNOPSIS ^

  AxAddPlugin Apache::AxKit::MediaChooser::WAPCheck

DESCRIPTION ^

This module sets the preferred media type in AxKit to handheld if it detects that a WAP device made the request. This way you can specify different stylesheets for WAP devices automatically.

The selection is performed either based on the Accept header being sent, or based on the User-Agent header (see the source code for a list of the supported user agent strings).

syntax highlighting: