The Mail::LMLM module allows users to easily manage HTML directories of mailing lists of various mailing list managers and hosts.

To use it create a new module of type Mail::LMLM with a new method, while initializing it with the list of mailing lists (in order of listing), and other parameters. Then, invoke the render() function to create the HTML files within the current directory.

prolog is a callback for a function that will be called with the Mail::LMLM handle and its appropriate rendering back-end when the main's page prologue (that comes before the listing itself) is to be displayed. epilog is the same for the text after the listing itself. Here is an example for it:

sub prolog
{
my $self = shift;
my $main_r = shift;
$main_r->para( "This is a list of the mailing-lists which are affiliated " .
"with the Israeli Group of Linux Users (IGLU). It includes such " .
"information as how to subscribe/unsubscribe, posting address, " .
"posting guidelines, the address of the mailing-list owner, the " .
"mailing-list's homepage and the online messages archive."
);
$main_r->start_para();
$main_r->text("If you have any comments, suggestions or additions " .
"regarding the information contained here, don't hesitate to " .
"contact the maintainer of these pages at the following e-mail: ");
$main_r->email_address("shlomif", "vipe.technion.ac.il");
$main_r->end_para();
}

For more information on how to interface with the renderer consult the HTML::LMLM::Render reference page.

This is a reference to a hash whose keys are extra IDs for mailing lists classes, and its values are either the namespace of the Perl module that implements this class, or a subroutine that creates a new class like that.

This class would be better be sub-classed from one of the classes that ship with Mail::LMLM. To see examples of how to sub-class, consult the examples section of the Mail::LMLM distribution.

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.