XAO::DO::Web::Header - Simple HTML header
Currently is only useful in XAO::Web site context.
Simple HTML header object. Accepts the following arguments, modifies them as appropriate and displays "/bits/page-header" template.
Passed as is.
This is converted to <META NAME="Description" CONTENT="Page..">.
This is converted to <META NAME="Keywords" CONTENT="Page keywords..">.
Header template path, default is "/bits/page-header".
Allows you to set page type to something different then default "text/html". If you set type the template would not be displayed! If you still need it - call Header again without "type" argument.
Would pass the folowing arguments to the template:
Keywords and description combined.
The value of 'title' argument above.
Example:
<%Header title="Site Search" keywords="super, duper, hyper, commerce"%>
No publicly available methods except overriden display().
Nothing.
Copyright (c) 2000-2001 XAO, Inc.
Andrew Maltsev <am@xao.com>.
Recommended reading: XAO::Web, XAO::DO::Web::Page.
To install XAO::Web, copy and paste the appropriate command in to your terminal.
cpanm
cpanm XAO::Web
CPAN shell
perl -MCPAN -e shell install XAO::Web
For more information on module installation, please visit the detailed CPAN module installation guide.