| 1 |
Revision history for Perl extension HTML::TreeBuilder::LibXML |
| 2 |
|
| 3 |
0.28 2024-06-20T08:48:55Z |
| 4 |
|
| 5 |
0.28 2024-06-20T08:17:27Z |
| 6 |
|
| 7 |
- Same code as 0.27 - republishing to force CPAN reindexing |
| 8 |
|
| 9 |
0.27 2024-01-09T06:19:12Z |
| 10 |
|
| 11 |
- don't have the parser string blanks by default #15 |
| 12 |
https://github.com/tokuhirom/HTML-TreeBuilder-LibXML/pull/15 |
| 13 |
- fallback to toString() when toStringC14N(1) gives an empty string #17 |
| 14 |
https://github.com/tokuhirom/HTML-TreeBuilder-LibXML/pull/17 |
| 15 |
|
| 16 |
0.26 2016-10-19T15:03:00Z |
| 17 |
|
| 18 |
- Improve `HTML::TreeBuilder::LibXML::Node->new` compatibility |
| 19 |
with `HTML::Element->new` |
| 20 |
https://github.com/tokuhirom/HTML-TreeBuilder-LibXML/issues/12 |
| 21 |
(reported by nanto++) |
| 22 |
|
| 23 |
0.25 2015-04-21T23:39:33Z |
| 24 |
|
| 25 |
commit 5c46775d50678e611729135f3601b66e6a0d10cd |
| 26 |
Author: Yanick Champoux <[email protected]> |
| 27 |
Date: Thu Jan 15 14:15:04 2015 -0500 |
| 28 |
|
| 29 |
silence warnings |
| 30 |
|
| 31 |
... as the arguments can be undefined |
| 32 |
|
| 33 |
Fixes #10 |
| 34 |
|
| 35 |
0.24 2014-09-22T09:31:26Z |
| 36 |
|
| 37 |
- Removed Web::Scraper from runtime dependencies. |
| 38 |
https://github.com/tokuhirom/HTML-TreeBuilder-LibXML/issues/9 |
| 39 |
|
| 40 |
0.23 2013-05-17T00:16:48Z |
| 41 |
|
| 42 |
- fixed guts(), clone() and replace_with() to properly handle XML::LibXML::Dtd nodes |
| 43 |
- guts() now includes the Dtd node in the returned document (unless it were implicitly created) |
| 44 |
- clone() calls createInternalSubset() on the new document |
| 45 |
- replace_with() calls createInternalSubset() if the replacement is a XML::LibXML::Dtd (can't import Dtd node) |
| 46 |
(cafe01) |
| 47 |
|
| 48 |
0.22 2013-05-13T00:04:09Z |
| 49 |
|
| 50 |
- improved guts(), calling nonBlankChildNodes() instead of childNodes() |
| 51 |
- improved HTML::TreeBuilder::LibXML::Node documentation |
| 52 |
(cafe01) |
| 53 |
|
| 54 |
0.21 2013-05-12T19:12:53Z |
| 55 |
|
| 56 |
- fixed guts(), |
| 57 |
- now returning nodes from <head> and <body> instead of just <body> |
| 58 |
- now returning text and comment nodes instead of just element nodes |
| 59 |
- returned nodes now belong to the same document |
| 60 |
- fixed to_HTML to render valid html, not xml |
| 61 |
(cafe01) |
| 62 |
|
| 63 |
0.20 2013-05-10T20:44:16Z |
| 64 |
|
| 65 |
- improved replace_with() on document node. |
| 66 |
- fixed push_content() and unshift_content() to work with document mode. |
| 67 |
(cafe01) |
| 68 |
|
| 69 |
0.19 2013-05-10T01:03:58Z |
| 70 |
|
| 71 |
- fixed replace_with() and parent(), |
| 72 |
to avoid calling appendChild() on a Document node, which is not supported by XML::LibXML. |
| 73 |
(cafe01) |
| 74 |
|
| 75 |
0.18 2013-05-09T20:49:04Z |
| 76 |
|
| 77 |
- implemented all node methods needed for Web::Query::LibXML to work |
| 78 |
- clone_list |
| 79 |
- detach |
| 80 |
- delete_content |
| 81 |
- content_list |
| 82 |
- replace_with |
| 83 |
- push_content |
| 84 |
- unshift_content |
| 85 |
- postinsert |
| 86 |
- preinsert |
| 87 |
- disembowel (HTML::TreeBuilder::LibXML) |
| 88 |
(cafe01) |
| 89 |
|
| 90 |
- modified parse_file() to read file content, then call parse_content() |
| 91 |
- thats because parse_content() will detect (heuristically) when the parser will add implict <html><body> tags, so guts() can work properly. |
| 92 |
(cafe01) |
| 93 |
|
| 94 |
0.18 2013-05-09T01:27:46Z |
| 95 |
|
| 96 |
- implemented matches(), parent(), guts() node method |
| 97 |
(Carlos Fernando Avila Gratz) |
| 98 |
|
| 99 |
0.17 |
| 100 |
|
| 101 |
handle /(de)?objectify_text/ for <script> extraction |
| 102 |
(Stanislaw Pusep) |
| 103 |
|
| 104 |
0.16 |
| 105 |
|
| 106 |
|
| 107 |
commit 07b40205fd03564d476eff7675e9f19196939f2f |
| 108 |
Author: Oleg G <[email protected]> |
| 109 |
Date: Sat Mar 31 13:26:11 2012 +0700 |
| 110 |
|
| 111 |
added few methods to support Web::Query |
| 112 |
|
| 113 |
0.15 |
| 114 |
|
| 115 |
* Add additional methods to better match |
| 116 |
HTML::TreeBuilder::XPath::Node API: |
| 117 |
- exists($xpath) |
| 118 |
- find($elem_name) |
| 119 |
- findvalues($xpath) |
| 120 |
- findnodes_as_string($xpath) |
| 121 |
- findnodes_as_strings($xpath) |
| 122 |
(genehack) |
| 123 |
|
| 124 |
0.14 |
| 125 |
|
| 126 |
* added workaround for Web::Scraper 0.36 |
| 127 |
(tokuhirom) |
| 128 |
|
| 129 |
0.13 |
| 130 |
* Added 'getValue' node's method as in HTML::TreeBuilder::XPath for |
| 131 |
comment nodes in web-scraper module |
| 132 |
* Added dummy method 'store_comments' as in HTML::TreeBuilder |
| 133 |
for web-scraper module (for comment nodes) and for |
| 134 |
HTML::TreeBuilder::XPath working in tests with comment nodes |
| 135 |
* Now this module requires HTML::TreeBuilder::XPath v.0.14 (before 0.14 |
| 136 |
there getValue() didn't work for comment nodes) |
| 137 |
|
| 138 |
0.12 |
| 139 |
|
| 140 |
* no Test::Base(tokuhirom) |
| 141 |
* depend to latest libraries(tokuhirom) |
| 142 |
ref. http://d.hatena.ne.jp/mikeda/20100622/1277229060 |
| 143 |
* fixed typo in pod(tokuhirom) |
| 144 |
|
| 145 |
0.11 Tue Oct 6 10:47:16 PDT 2009 |
| 146 |
- Fix parse when a content is truly an empty string |
| 147 |
|
| 148 |
0.10 |
| 149 |
- added as_trimmed_text(chiba) |
| 150 |
|
| 151 |
0.09 Sun Aug 2 06:02:01 PDT 2009 |
| 152 |
- Fixed parse_html method when parsing whitespace strings so it won't break and consistent with HTML::TB |
| 153 |
(Reported by otsune) |
| 154 |
|
| 155 |
0.08 Mon Jul 20 10:00:19 PDT 2009 |
| 156 |
- Updated POD document |
| 157 |
|
| 158 |
0.07 |
| 159 |
- Implemented all_attr, all_attr_names, all_external_attr and all_external_attr_names (miyagawa) |
| 160 |
|
| 161 |
0.06 |
| 162 |
|
| 163 |
- Added new_from_content and new_from_file to for more compat. with HTML::TreeBuilder(miyagawa) |
| 164 |
|
| 165 |
0.05 |
| 166 |
|
| 167 |
- fixed deps |
| 168 |
|
| 169 |
0.04 |
| 170 |
|
| 171 |
- support more look_down() params(miyagawa) |
| 172 |
- added ->id support(tokuhirom) |
| 173 |
- call ->eof automatically for compatibility.(tokuhirom) |
| 174 |
- added ->findvalue support(tokuhirom) |
| 175 |
- added ->eof(tokuhirom) |
| 176 |
|
| 177 |
0.03 |
| 178 |
|
| 179 |
- [FEATURE] added to restore hacked constructor(suggested by miyagawa++). |
| 180 |
|
| 181 |
0.02 |
| 182 |
|
| 183 |
- [MISC] $parser->no_network(1) |
| 184 |
|
| 185 |
0.01_03 |
| 186 |
|
| 187 |
- [BUG] Node->delete is unbound() |
| 188 |
- [FEATURE] added getFirstChild() method |
| 189 |
- [FEATURE] added Node->as_HTML |
| 190 |
- [MISC] added THANKS secion in the pod(感謝の意) |
| 191 |
|
| 192 |
0.01_02 |
| 193 |
|
| 194 |
- more loose check(libxml is too strict) |
| 195 |
- added benchmark script |
| 196 |
- added benchmark result into pod |
| 197 |
|
| 198 |
0.01_01 |
| 199 |
|
| 200 |
- initial dev. release |
| 201 |
|
| 202 |
0.01 Tue Mar 24 21:26:10 2009 |
| 203 |
- original version |