$extractor = HTML::ExtractContent->new;
Creates a new HTML::ExtractContent instance.
Extracts content from $html. $html must have its UTF-8 flag on.
Returns extracted content as a plain text. All tags are eliminated.
Returns extracted content as an HTML text. Note that the returned text is neither fully tagged nor valid HTML. It doesnt contain tags such as <html> and it may have block tags that are not closed, or closed but not opened. This method is intended for the case that you need to analyse link tags in the text for example.
Hiromichi Kishi contributed towards development of this module as a partner of pair programming.
Implementation of this module is based on the Ruby module ExtractContent by Nakatani Shuyo.
INA Lintaro <tarao at cpan.org>
Copyright (C) 2008 INA Lintaro / Hatena. All rights reserved.
Copyright (c) 2007/2008 Nakatani Shuyo / Cybozu Labs Inc. All rights reserved.
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
|perl v5.20.3||HTML::EXTRACTCONTENT (3)||2015-03-10|