NAME
WE_Frontend::LinkChecker - check a site for broken links
SYNOPSIS
use WE_Frontend::LinkChecker;
my $lc = WE_Frontend::LinkChecker->new(-url => "http://www/",
-restrict => [...]);
my $errors = $lc->check_html;
print $errors;
DESCRIPTION
- new(-url => $url, -restrict => $restrict_array)
-
Construct a new
WE_Frontend::LinkCheckerobject. The default start URL is$url, the restrictions are specified by-restrict. - check_html
-
Start the linkcheck process and return the results as a HTML string.
- check_html_header
-
Return the HTML header. This method is used by
check_htmlby default. - check_tt($template_object, $template_file, $extra_args)
-
Start the linkcheck process and create the output string with the help of Template-Toolkit. The
Templateobject is set in$template_object.$template_fileholds theTemplatefile. Extra arguments for theprocessmethod ofTemplateas a hash reference may also be supplied. - check
-
Start the linkcheck process and return the list of failed_urls as a hash.
AUTHOR
Slaven Rezic - slaven@rezic.de