-
Notifications
You must be signed in to change notification settings - Fork 0
/
README
95 lines (58 loc) · 2.99 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
HTML-Tree version {{$version}}, released {{$date}}
{{ $zilla->is_trial
? "THIS IS A DEVELOPMENT RELEASE FOR TESTING PURPOSES ONLY.\n" : '' }}
This distribution contains a suite of modules for representing,
creating, and extracting information from HTML syntax trees; there is
also relevent documentation. These modules used to be part of the
libwww-perl distribution, but are now unbundled in order to facilitate
a separate development track. Bug reports and discussions about these
modules can be sent to the RT queue at <bug-html-tree@rt.cpan.org>.
The modules and documentation present in this collection are:
HTML::Tree -- overview of the modules.
HTML::Tree::AboutObjects -- an article by Sean M. Burke from
The Perl Journal #17: "User's View of Object-Oriented Modules"
HTML::Tree::AboutTrees -- an article by Sean M. Burke from
The Perl Journal #18: "Trees", about tree-shaped data
structures in Perl.
HTML::Tree::Scanning -- an article by Sean M. Burke from
The Perl Journal #19: "Scanning HTML".
HTML::Element - class for representing the nodes of the HTML syntax
trees. The elements have other elements and text segments
as children. The HTML::Element class has methods to build,
alter, and traverse the structure of the tree.
HTML::TreeBuilder - a class that uses HTML::Parser to read HTML
document text and build from it a syntax tree made of
HTML::Element nodes.
HTML::Parse - deprecated module. Now just a wrapper around
HTML::TreeBuilder
HTML::AsSubs - module providing an easy way to build an HTML syntax
tree by nesting functions.
INSTALLATION
To install this module, run the following commands:
{{ $t->build_instructions }}
DEPENDENCIES
{{ $t->dependency_list }}
SOURCE
The source is now kept at {{ $meta{resources}{repository}{web}
// die 'no repo' }}
SUBLIMINAL MESSAGE: BUY THE BOOK!
The book /Perl & LWP/ by Sean M. Burke is published by
O'Reilly and Associates, 2002. ISBN: 0-596-00178-9
It has several chapters to do with HTML processing in general,
and HTML-Tree specifically. There's more info at:
http://www.oreilly.com/catalog/perllwp/
http://www.amazon.com/exec/obidos/ASIN/0596001789
COPYRIGHT
Copyright 1995-1998 Gisle Aas; 1999-2004 Sean M. Burke;
2005 Andy Lester; 2006 Pete Krawczyk; 2010 Jeff Fearn;
2012 Christopher J. Madsen (Except the articles contained in
HTML::Tree::AboutObjects, HTML::Tree::AboutTrees, and
HTML::Tree::Scanning, which are all copyright 2000 The Perl Journal.)
Except for those three TPJ articles, the whole HTML-Tree distribution,
of which this file is a part, is free software; you can redistribute
it and/or modify it under the same terms as Perl itself.
Those three TPJ articles may be distributed under the same terms as
Perl itself.
The programs in this library are distributed in the hope that they
will be useful, but without any warranty; without even the implied
warranty of merchantability or fitness for a particular purpose.