NAME Locale::TextDomain::OO::Extract::HTML - Extracts internationalization data from HTML
$Id: HTML.pm 518 2014-10-09 14:56:14Z steffenw $
$HeadURL: svn+ssh://steffenw@svn.code.sf.net/p/perl-gettext-oo/code/extract/trunk/lib/Locale/TextDomain/OO/Extract/HTML.pm $
VERSION
2.000
DESCRIPTION
This module extracts internationalization data from HTML.
Implemented rules:
<any_tag ... class="... loc ..." ... > ... text to extract ... <
Whitespace is allowed everywhere.
SYNOPSIS
use Locale::TextDomain::OO::Extract::HTML;
SUBROUTINES/METHODS
method new
All parameters are optional. See Locale::TextDomain::OO::Extract to replace the defaults.
my $extractor = Locale::TextDomain::OO::Extract::HTML->new;
method extract
Call
$extractor->filename('dir/filename for reference');
$extractor->extract;
method stack_item_mapping
$self->stack_item_mapping($stack_item);
EXAMPLE
Inside of this distribution is a directory named example. Run this *.pl files.
DIAGNOSTICS
none
CONFIGURATION AND ENVIRONMENT
none
DEPENDENCIES
parent
Locale::TextDomain::OO::Extract
INCOMPATIBILITIES
not known
BUGS AND LIMITATIONS
none
SEE ALSO
AUTHOR
Steffen Winkler
LICENSE AND COPYRIGHT
Copyright (c) 2014, Steffen Winkler <steffenw at cpan.org>
. All rights reserved.
This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself.