HTML::SiteTear::PageFilter - change link pathes in HTML files.
use HTML::SiteTear::PageFilter; # $page must be an instance of L<HTML::SiteTear::Page>. $filter = HTML::SiteTear::PageFilter->new($page); $fileter->parse_file();
This module is to change link pathes in HTML files. It's a sub class of HTML::Parser. Internal use only.
$filter = HTML::SiteTear::PageFilter->new($page);
Make an instance of this moduel. $parent must be an instance of HTML::SiteTear::Root or HTML::SiteTear::Page. This method is called from $parent.
$filter->parse_file;
Parse the HTML file given by $page and change link pathes. The output data are retuned thru the method "write_data".
HTML::SiteTear, HTML::SiteTear::Item, HTML::SiteTear::Root, HTML::SiteTear:Page
Tetsuro KURITA <tkurita@mac.com>
To install HTML::SiteTear, copy and paste the appropriate command in to your terminal.
cpanm
cpanm HTML::SiteTear
CPAN shell
perl -MCPAN -e shell install HTML::SiteTear
For more information on module installation, please visit the detailed CPAN module installation guide.