Slaven Rezić > WE_Framework-0.097_03 > WE_Frontend::MainCommon

Download:
WE_Framework-0.097_03.tar.gz

Dependencies

Annotate this POD

Module Version: 1.08   Source  

NAME ^

WE_Frontend::MainCommon - common methods for all WE_Frontend::Main* modules

SYNOPSIS ^

    Do not use this module at its own!!! Just consult the methods.

DESCRIPTION ^

Note that all methods are loaded into the WE_Frontend::Main namespace.

METHODS

publish

Use the appropriate publish method according to the WEsiteinfo::Staging config member livetransport. May return a hash reference with following members:

Directories

List reference of published directories.

Files

List reference of published files.

Options to publish:

-verbose

Be verbose if set to true.

-adddirectories

Reference to an array with additional directories to be published.

-addfiles

Reference to an array with additional files to be published.

livetransport may be any of the standard ones: rsync, ftp, ftp-md5sync, rdist, or rdist-ssh. For custom methods, use either of the following:

custom:method_name

Where method_name has to be a method in the WE_Frontend::Main namespace and already loaded in

A base class name basename

This will cause to load a module with the name WE_Frontend::Publish::basename (with uppercase basename) and call a method publish_basename (lowercase).

A fully qualified method

This will case to require the module (based on the package name of the method) and call this method.

searchindexer

XXX This method is not used XXX.

Use the appropriate search indexer method according to the WEsiteinfo::SearchEngine config member searchindexer.

searchindexer may take any of the following standard values: htdig or oosearch.

linkchecker

Checks recursively all links from -url (which may be a scalar or an array reference), or for all languages homepages. By default, the language homepages should be in

     $c->paths->rooturl . "/html/" . $lang . "/" . "home.html"

but the last part ("home.html") can be changed by the -indexhtml argument.

AUTHOR ^

Slaven Rezic - slaven@rezic.de

SEE ALSO ^

WE_Frontend::Main, WE_Frontend::Main2.

syntax highlighting: