WE_Frontend::MainCommon - common methods for all WE_Frontend::Main* modules
Do not use this module at its own!!! Just consult the methods.
Note that all methods are loaded into the WE_Frontend::Main namespace.
WE_Frontend::Main
Use the appropriate publish method according to the WEsiteinfo::Staging config member livetransport. May return a hash reference with following members:
livetransport
List reference of published directories.
List reference of published files.
Options to publish:
Be verbose if set to true.
Reference to an array with additional directories to be published.
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:
rsync
ftp
ftp-md5sync
rdist
rdist-ssh
custom:method_name
Where method_name has to be a method in the WE_Frontend::Main namespace and already loaded in
This will cause to load a module with the name WE_Frontend::Publish::basename (with uppercase basename) and call a method publish_basename (lowercase).
WE_Frontend::Publish::basename
publish_basename
This will case to require the module (based on the package name of the method) and call this method.
XXX This method is not used XXX.
Use the appropriate search indexer method according to the WEsiteinfo::SearchEngine config member searchindexer.
searchindexer
searchindexer may take any of the following standard values: htdig or oosearch.
htdig
oosearch
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
-url
$c->paths->rooturl . "/html/" . $lang . "/" . "home.html"
but the last part ("home.html") can be changed by the -indexhtml argument.
-indexhtml
Slaven Rezic - slaven@rezic.de
WE_Frontend::Main, WE_Frontend::Main2.
To install WE::DB, copy and paste the appropriate command in to your terminal.
cpanm
cpanm WE::DB
CPAN shell
perl -MCPAN -e shell install WE::DB
For more information on module installation, please visit the detailed CPAN module installation guide.