Index index by Group index by Distribution index by Vendor index by creation date index by Name Mirrors Help Search

perl-HTML-TableExtract-2.15-bp154.1.14 RPM for noarch

From OpenSuSE Leap 15.4 for noarch

Name: perl-HTML-TableExtract Distribution: SUSE Linux Enterprise 15 SP4
Version: 2.15 Vendor: openSUSE
Release: bp154.1.14 Build date: Mon May 9 11:24:50 2022
Group: Development/Libraries/Perl Build host: sheep86
Size: 106380 Source RPM: perl-HTML-TableExtract-2.15-bp154.1.14.src.rpm
Packager: https://bugs.opensuse.org
Url: https://metacpan.org/release/HTML-TableExtract
Summary: Perl module for extracting the content contained in tables within an HTM[cut]
HTML::TableExtract is a subclass of HTML::Parser that serves to extract the
information from tables of interest contained within an HTML document. The
information from each extracted table is stored in table objects. Tables
can be extracted as text, HTML, or HTML::ElementTable structures (for
in-place editing or manipulation).

There are currently four constraints available to specify which tables you
would like to extract from a document: _Headers_, _Depth_, _Count_, and
_Attributes_.

_Headers_, the most flexible and adaptive of the techniques, involves
specifying text in an array that you expect to appear above the data in the
tables of interest. Once all headers have been located in a row of that
table, all further cells beneath the columns that matched your headers are
extracted. All other columns are ignored: think of it as vertical slices
through a table. In addition, TableExtract automatically rearranges each
row in the same order as the headers you provided. If you would like to
disable this, set _automap_ to 0 during object creation, and instead rely
on the column_map() method to find out the order in which the headers were
found. Furthermore, TableExtract will automatically compensate for cell
span issues so that columns are really the same columns as you would
visually see in a browser. This behavior can be disabled by setting the
_gridmap_ parameter to 0. HTML is stripped from the entire textual content
of a cell before header matches are attempted -- unless the _keep_html_
parameter was enabled.

_Depth_ and _Count_ are more specific ways to specify tables in relation to
one another. _Depth_ represents how deeply a table resides in other tables.
The depth of a top-level table in the document is 0. A table within a
top-level table has a depth of 1, and so on. Each depth can be thought of
as a layer; tables sharing the same depth are on the same layer. Within
each of these layers, _Count_ represents the order in which a table was
seen at that depth, starting with 0. Providing both a _depth_ and a _count_
will uniquely specify a table within a document.

_Attributes_ match based on the attributes of the html <table> tag, for
example, border widths or background color.

Each of the _Headers_, _Depth_, _Count_, and _Attributes_ specifications
are cumulative in their effect on the overall extraction. For instance, if
you specify only a _Depth_, then you get all tables at that depth (note
that these could very well reside in separate higher- level tables
throughout the document since depth extends across tables). If you specify
only a _Count_, then the tables at that _Count_ from all depths are
returned (i.e., the _n_th occurrence of a table at each depth). If you only
specify _Headers_, then you get all tables in the document containing those
column headers. If you have specified multiple constraints of _Headers_,
_Depth_, _Count_, and _Attributes_, then each constraint has veto power
over whether a particular table is extracted.

If no _Headers_, _Depth_, _Count_, or _Attributes_ are specified, then all
tables match.

When extracting only text from tables, the text is decoded with
HTML::Entities by default; this can be disabled by setting the _decode_
parameter to 0.

Provides

Requires

License

Artistic-1.0 OR GPL-1.0-or-later

Changelog

* Mon May 04 2020 Pedro Monreal Gonzalez <pmonrealgonzalez@suse.com>
  - Fix build: Test 30_tree.t fails
  - Add patch perl-HTML-TableExtract-test-30_tree.patch
* Wed Apr 03 2019 Stephan Kulow <coolo@suse.com>
  - updated to 2.15
    see /usr/share/doc/packages/perl-HTML-TableExtract/Changes
* Sun Jun 07 2015 coolo@suse.com
  - updated to 2.13
    see /usr/share/doc/packages/perl-HTML-TableExtract/Changes
    2.14  Thu May 21 12:20:46 EDT 2015
    - bundled examples html page
* Tue Apr 14 2015 coolo@suse.com
  - updated to 2.12
    see /usr/share/doc/packages/perl-HTML-TableExtract/Changes
    2.12  Fri Jan  9 11:29:08 EST 2015
    - tightened up logic pertaining to tree mode and keep_html
    - documentation fixes
* Tue Dec 20 2011 coolo@suse.com
  - update to 2.11
    - added parsing context, override for eof() and parse() for
      memory clear on new docs or post-eof()
    - fixed some long standing test warnings
* Fri Feb 25 2011 chris@computersalat.de
  - recreated by cpanspec 1.78.03
    o fix deps
  - add HTML patch
  - noarch pkg
* Wed Dec 01 2010 coolo@novell.com
  - switch to perl_requires macro
* Mon Nov 29 2010 coolo@novell.com
  - remove /var/adm/perl-modules
* Sun Jan 10 2010 jengelh@medozas.de
  - enable parallel build
* Thu Aug 23 2007 sbrabec@suse.cz
  - New SuSE package, version 1.13 (#242504).

Files

/usr/lib/perl5/vendor_perl/5.26.1/HTML
/usr/lib/perl5/vendor_perl/5.26.1/HTML/TableExtract.pm
/usr/lib/perl5/vendor_perl/5.26.1/x86_64-linux-thread-multi
/usr/share/doc/packages/perl-HTML-TableExtract
/usr/share/doc/packages/perl-HTML-TableExtract/Changes
/usr/share/doc/packages/perl-HTML-TableExtract/README
/usr/share/doc/packages/perl-HTML-TableExtract/examples.html
/usr/share/licenses/perl-HTML-TableExtract
/usr/share/licenses/perl-HTML-TableExtract/LICENSE
/usr/share/man/man3/HTML::TableExtract.3pm.gz


Generated by rpm2html 1.8.1

Fabrice Bellet, Sat Mar 9 16:55:39 2024