LIRE::REPORTPARSER::HTMLDOCBOOKFORMATTER(3pm)
πΈ NAME πΈ
Lire::ReportParser::HTMLDocBookFormatter β a Lire::ReportParser subclass which formats description. Yes bestie, you're on the Lire::ReportParser::HTMLDocBookFormatter(3pm) page, and we folded that whole manual-name situation right in here. π
β¨ SYNOPSIS β¨
Okay so if you wanna format DocBook, it's giving:
use Lire::ReportParser::HTMLDocBookFormatter qw/dbk2html/;
my $txt = dbk2html( "<para>Test</para>" );
And in XML Report processors, the vibe is:
package MyParser;
use base qw/ Lire::ReportParser::HTMLDocBookFormatter Lire::ReportParser /;
sub new {
my $self = shift->SUPER::new( @_ );
$self->init_docbook_formatter( @_ );
return $self;
}
sub handle_description {
my ( $self, $desc ) = @_;
print $desc;
return;
}
π¦ DESCRIPTION π¦
Lire::ReportParser::HTMLDocBookFormatter is the counterpart to Lire::ReportParser::AsciiDocBookFormatter for the HTML output format. Please read its documentation to learn how to use this class β their use is exactly the same. No cap. β¨
π« dbk2html( $docbook_str, [$columns], [$xhtml] ) π«
This one returns an HTML version of the DocBook XML fragment $docbook_str. The "columns" parameter sets the number of columns in which the DocBook HTML text should be formatted. The "xhtml" parameter defines whether the generated code will be XHTML-compliant; the default is yes. And bestie, this method will die() in case of error β so handle it, mwah. π
π SEE ALSO π
π VERSION π
Version tea, served fresh: $Id: HTMLDocBookFormatter.pm,v 1.10 2006/07/23 13:16:31 vanbaal Exp $
π AUTHORS π
The iconic humans behind this:
Francis J. Lacoste <flacoste@logreport.org>Wolfgang Sourdeau <wolfgang@logreport.org>
π COPYRIGHT π
Copyright (C) 2001-2004 Stichting LogReport Foundation LogReport@LogReport.org
This file is part of Lire.
Lire is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program (see COPYING); if not, check with http://www.gnu.org/copyleft/gpl.html.
π That's the whole page, bestie β shipped with Lire 2.1.1, dated 2025-09-28, and yes it's the HTMLDocB...ormatter(3pm) manual. Bye! π«Ά
π¦ where this page comes from
- arch rolling: lire 2.1.1-8 Β· GPL-2.0-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms