$ cd /usr/local/scripts
$ diff checkbot checkbot.orig
936,937c936
< #print OUT "<?xml version=\"1.0\" encoding=\"ISO-8859-1\"?>\n";
< print OUT "<?xml version=\"1.0\"?>\n";
---
> print OUT "<?xml version=\"1.0\" encoding=\"ISO-8859-1\"?>\n";
1279,1280c1278
< #print SERVER "<?xml version=\"1.0\" encoding=\"ISO-8859-1\"?>\n";
< print SERVER "<?xml version=\"1.0\"?>\n";
---
> print SERVER "<?xml version=\"1.0\" encoding=\"ISO-8859-1\"?>\n";
以上で Checkbot の環境構築完了。
以下は Checkbot の使用方法の説明。
Checkbot のヘルプ
$ /usr/local/scripts/checkbot -h
Checkbot 1.77 command line options:
--cookies Accept cookies from the server
--debug Debugging mode: No pauses, stop after 25 links.
--file file Use file as basis for output file names.
--help Provide this message.
--mailto address Mail brief synopsis to address when done.
--noproxy domains Do not proxy requests to given domains.
--verbose Verbose mode: display many messages about progress.
--url url Start URL
--match match Check pages only if URL matches `match'
If no match is given, the start URL is used as a match
--exclude exclude Exclude pages if the URL matches 'exclude'
--filter regexp Run regexp on each URL found
--ignore ignore Ignore URLs matching 'ignore'
--suppress file Use contents of 'file' to suppress errors in output
--note note Include Note (e.g. URL to report) along with Mail message.
--proxy URL URL of proxy server for HTTP and FTP requests.
--internal-only Only check internal links, skip checking external links.
--sleep seconds Sleep this many seconds between requests (default 0)
--style url Reference the style sheet at this URL.
--timeout seconds Timeout for http requests in seconds (default 120)
--interval seconds Maximum time interval between updates (default 10800)
--dontwarn codes Do not write warnings for these HTTP response codes
--enable-virtual Use only virtual names, not IP numbers for servers
--language Specify 2-letter language code for language negotiation
Options --match, --exclude, and --ignore can take a perl regular expression
as their argument
Use 'perldoc checkbot' for more verbose documentation.
Checkbot WWW page : http://degraaff.org/checkbot/
Mail bugs and problems: checkbot@degraaff.org