1HTML::Tree(3)         User Contributed Perl Documentation        HTML::Tree(3)
2
3
4

NAME

6       HTML::Tree - overview of HTML::TreeBuilder et al
7

VERSION

9       3.23
10

SYNOPSIS

12           use HTML::TreeBuilder;
13           my $tree = HTML::TreeBuilder->new();
14           $tree->parse_file($filename);
15
16               # Then do something with the tree, using HTML::Element
17               # methods -- for example:
18
19           $tree->dump
20
21               # Finally:
22
23           $tree->delete;
24

DESCRIPTION

26       HTML-Tree is a suite of Perl modules for making parse trees out of HTML
27       source.  It consists of mainly two modules, whose documentation you
28       should refer to: HTML::TreeBuilder and HTML::Element.
29
30       HTML::TreeBuilder is the module that builds the parse trees.  (It uses
31       HTML::Parser to do the work of breaking the HTML up into tokens.)
32
33       The tree that TreeBuilder builds for you is made up of objects of the
34       class HTML::Element.
35
36       If you find that you do not properly understand the documentation for
37       HTML::TreeBuilder and HTML::Element, it may be because you are
38       unfamiliar with tree-shaped data structures, or with object-oriented
39       modules in general. Sean Burke has written some articles for The Perl
40       Journal ("www.tpj.com") that seek to provide that background.  The full
41       text of those articles is contained in this distribution, as:
42
43       HTML::Tree::AboutObjects
44           "User's View of Object-Oriented Modules" from TPJ17.
45
46       HTML::Tree::AboutTrees
47           "Trees" from TPJ18
48
49       HTML::Tree::Scanning
50           "Scanning HTML" from TPJ19
51
52       Readers already familiar with object-oriented modules and tree-shaped
53       data structures should read just the last article.  Readers without
54       that background should read the first, then the second, and then the
55       third.
56

SUPPORT

58       You can find documentation for this module with the perldoc command.
59
60           perldoc HTML::Tree
61
62           You can also look for information at:
63
64       ·   AnnoCPAN: Annotated CPAN documentation
65
66           <http://annocpan.org/dist/HTML-Tree>
67
68       ·   CPAN Ratings
69
70           <http://cpanratings.perl.org/d/HTML-Tree>
71
72       ·   RT: CPAN's request tracker
73
74           <http://rt.cpan.org/NoAuth/Bugs.html?Dist=HTML-Tree>
75
76       ·   Search CPAN
77
78           <http://search.cpan.org/dist/HTML-Tree>
79

SEE ALSO

81       HTML::TreeBuilder, HTML::Element, HTML::Tagset, HTML::Parser,
82       HTML::DOMbo
83
84       The book Perl & LWP by Sean M. Burke published by O'Reilly and
85       Associates, 2002.  ISBN: 0-596-00178-9
86
87       It has several chapters to do with HTML processing in general, and
88       HTML-Tree specifically.  There's more info at:
89
90           http://www.oreilly.com/catalog/perllwp/
91
92           http://www.amazon.com/exec/obidos/ASIN/0596001789
93

SOURCE REPOSITORY

95       HTML::Tree is maintained in Subversion hosted at perl.org.
96
97           http://svn.perl.org/modules/HTML-Tree
98
99       The latest development work is always at:
100
101           http://svn.perl.org/modules/HTML-Tree/trunk
102
103       Any patches sent should be diffed against this repository.
104

ACKNOWLEDGEMENTS

106       Thanks to Gisle Aas, Sean Burke and Andy Lester for their original
107       work.
108
109       Thanks to Chicago Perl Mongers (http://chicago.pm.org) for their
110       patches submitted to HTML::Tree as part of the Phalanx project
111       (http://qa.perl.org/phalanx).
112
113       Thanks to the following people for additional patches and
114       documentation: Terrence Brannon, Gordon Lack, Chris Madsen and Ricardo
115       Signes.
116

AUTHOR

118       Original HTML-Tree author Gisle Aas.  Handed off to Sean M. Burke.  and
119       Andy Lester.  Currently maintained by Pete Krawczyk "<petek@cpan.org>".
120
122       Copyright 1995-1998 Gisle Aas; 1999-2004 Sean M. Burke; 2005 Andy
123       Lester; 2006 Pete Krawczyk.  (Except the articles contained in
124       HTML::Tree::AboutObjects, HTML::Tree::AboutTrees, and
125       HTML::Tree::Scanning, which are all copyright 2000 The Perl Journal.)
126
127       Except for those three TPJ articles, the whole HTML-Tree distribution,
128       of which this file is a part, is free software; you can redistribute it
129       and/or modify it under the same terms as Perl itself.
130
131       Those three TPJ articles may be distributed under the same terms as
132       Perl itself.
133
134       The programs in this library are distributed in the hope that they will
135       be useful, but without any warranty; without even the implied warranty
136       of merchantability or fitness for a particular purpose.
137
138
139
140perl v5.10.1                      2006-11-12                     HTML::Tree(3)
Impressum