
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.
Use the appropriate publish method according to the WEsiteinfo::Staging config member livetransport. May return a hash reference with following members:
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:
custom:method_nameWhere 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).
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 may take any of the following standard values: htdig or 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
$c->paths->rooturl . "/html/" . $lang . "/" . "home.html"
but the last part ("home.html") can be changed by the -indexhtml argument.

Slaven Rezic - slaven@rezic.de
