perl/modules/W3C/LinkChecker/bin checklink,3.25,3.26

Update of /sources/public/perl/modules/W3C/LinkChecker/bin
In directory hutz:/tmp/cvs-serv9042/bin

Modified Files:
	checklink 
Log Message:
New configuration parameter (Doc_URI) to aid local doc installations.

Index: checklink
===================================================================
RCS file: /sources/public/perl/modules/W3C/LinkChecker/bin/checklink,v
retrieving revision 3.25
retrieving revision 3.26
diff -u -d -r3.25 -r3.26
--- checklink	8 Apr 2004 17:14:39 -0000	3.25
+++ checklink	9 Apr 2004 16:26:51 -0000	3.26
@@ -162,6 +162,8 @@
     'http://validator.w3.org/check?uri=%s';
   $Cfg{CSS_Validator_URI} ||=
     'http://jigsaw.w3.org/css-validator/validator?uri=%s';
+  $Cfg{Doc_URI} ||=
+    'http://www.w3.org/2000/07/checklink';
 
   # Trusted environment variables that need laundering in taint mode.
   foreach (qw(NNTPSERVER NEWSHOST)) {
@@ -496,7 +498,7 @@
 configuration file to use.  See details in the full manual page, it can
 be displayed with: perldoc checklink
 
-More documentation at: http://www.w3.org/2000/07/checklink
+More documentation at: $Cfg{Doc_URI}
 Please send bug reports and comments to the www-validator mailing list:
   www-validator\@w3.org (with 'checklink' in the subject)
   Archives are at: http://lists.w3.org/Archives/Public/www-validator/
@@ -2072,17 +2074,17 @@
 sub html_footer ()
 {
   printf("<p>%s</p>\n", &global_stats()) if ($doc_count > 0 && !$Opts{Quiet});
-  print <<EOF;
+  printf(<<'EOF', $PACKAGE, $REVISION, &encode($Cfg{Doc_URI}));
 <div>
 <address>
-$PACKAGE $REVISION,
+%s %s,
 by <a href="http://www.w3.org/People/Hugo/">Hugo Haas</a> and others.<br>
 Please send bug reports, suggestions and comments to the
-<a href="mailto:www-validator\@w3.org?subject=checklink%3A%20">www-validator
+<a href="mailto:www-validator@w3.org?subject=checklink%3A%20">www-validator
 mailing list</a>
 (<a href="http://lists.w3.org/Archives/Public/www-validator/">archives</a>).
 <br>
-Check out the <a href="http://www.w3.org/2000/07/checklink">documentation</a>.
+Check out the <a href="%s">documentation</a>.
 Download the
 <a href="http://search.cpan.org/dist/W3C-LinkChecker/">source code</a>.
 </address>

Received on Friday, 9 April 2004 12:27:05 UTC