The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

HTML::SiteTear::PageFilter - change link pathes in HTML files.

SYMPOSIS

 use HTML::SiteTear::PageFilter;

 # $page must be an instance of L<HTML::SiteTear::Page>.
 $filter = HTML::SiteTear::PageFilter->new($page);
 $fileter->parse_file();

DESCRIPTION

This module is to change link pathes in HTML files. It's a sub class of HTML::Parser. Internal use only.

METHODS

new

    $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.

parse_file

    $filter->parse_file;

Parse the HTML file given by $page and change link pathes. The output data are retuned thru the method "write_data".

SEE ALOSO

HTML::SiteTear, HTML::SiteTear::Item, HTML::SiteTear::Root, HTML::SiteTear:Page

AUTHOR

Tetsuro KURITA <tkurita@mac.com>