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
Use the appropriate publish method according to the WEsiteinfo::Staging config member
livetransport. May return a hash reference with following members:
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:
rdist-ssh. For custom methods, use either of the following:
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
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 may take any of the following standard values:
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
Slaven Rezic - email@example.com