Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/lexborisov/perl-html-myhtml.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Changes4
-rwxr-xr-xMyHTML.pm2
-rw-r--r--README10
-rw-r--r--README.md2
-rw-r--r--examples/clear_text.pl6
-rw-r--r--examples/detect_encoding.pl2
6 files changed, 13 insertions, 13 deletions
diff --git a/Changes b/Changes
index 9020d30..ee46684 100644
--- a/Changes
+++ b/Changes
@@ -1,3 +1,7 @@
+2.00 Tue Mar 06 2018 23:58:20 GMT+0300
+ Update MyHTML source. up to 4.0.4
+ Added prescan_stream_to_determine_encoding_with_found function for detect charset encoding by <meta> tag
+
1.02 Wed Jul 20 2016 09:25:45 GMT+0300
Update MyHTML source. up to 1.0.2 - Release version
Added method for set tree parse flags myhtml_tree_parse_flags_set
diff --git a/MyHTML.pm b/MyHTML.pm
index 471555d..6f17ac7 100755
--- a/MyHTML.pm
+++ b/MyHTML.pm
@@ -110,7 +110,7 @@ HTML::MyHTML is a fast HTML Parser using Threads with no outside dependencies
=head1 DESCRIPTION
-This Parser based on L<MyHTML library|https://github.com/lexborisov/myhtml> (it includes version 1.0.2)
+This Parser based on L<MyHTML library|https://github.com/lexborisov/myhtml> (it includes version 4.0.4)
=over 4
diff --git a/README b/README
index 8dcf5c2..d2f1149 100644
--- a/README
+++ b/README
@@ -5,7 +5,7 @@ DESCRIPTION
Fast HTML Parser using Threads with no outside dependencies
-This Parser based on MyHTML library (it includes version 1.0.2)
+This Parser based on MyHTML library (it includes version 4.0.4)
See https://github.com/lexborisov/myhtml
@@ -39,10 +39,10 @@ Alexander Borisov <lex.borisov@gmail.com>
COPYRIGHT
-Copyright 2015-2016 Alexander Borisov
+Copyright (C) 2015-2018 Alexander Borisov
-Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
+This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version.
-http://www.apache.org/licenses/LICENSE-2.0
+This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
-Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
+You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
diff --git a/README.md b/README.md
index e2ac4f8..f284f69 100644
--- a/README.md
+++ b/README.md
@@ -6,7 +6,7 @@ HTML::MyHTML is a fast HTML Parser using Threads with no outside dependencies
# DESCRIPTION
-This Parser based on [MyHTML library] (it includes version 1.0.2)
+This Parser based on [MyHTML library] (it includes version 4.0.4)
- Asynchronous Parsing, Build Tree and Indexation
- Fully conformant with the [HTML5 specification]
diff --git a/examples/clear_text.pl b/examples/clear_text.pl
index 07e739f..3a52c7b 100644
--- a/examples/clear_text.pl
+++ b/examples/clear_text.pl
@@ -29,7 +29,7 @@ join_text($myhtml, $tree, $tree->document->child, $list) if $tree->document->chi
print join("\n", @$list);
$tree->destroy();
-
+$myhtml->destroy();
sub join_text {
my ($myhtml, $tree, $node, $res) = @_;
@@ -58,7 +58,3 @@ sub join_text {
$node = $node->next;
}
}
-
-
-
-
diff --git a/examples/detect_encoding.pl b/examples/detect_encoding.pl
index 4cfbf8e..00cac95 100644
--- a/examples/detect_encoding.pl
+++ b/examples/detect_encoding.pl
@@ -28,4 +28,4 @@ $tree->document->print_children(*STDOUT);
$tree->destroy();
-
+$myhtml->destroy();