Slaven Rezić > WE_Framework-0.097_03 > WE_Frontend::LinkChecker

Download:
WE_Framework-0.097_03.tar.gz

Dependencies

Annotate this POD

Module Version: 1.08   Source  

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::LinkChecker object. 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_html by 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 Template object is set in $template_object. $template_file holds the Template file. Extra arguments for the process method of Template as 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

SEE ALSO ^

LWP::UserAgent.

syntax highlighting: