link-checker commit: Set "self URI" to http://validator.w3.org/checklink in command line HTML mode.

changeset:   64:1125c41d06f0
user:        ville
date:        Wed Apr 28 22:12:41 2004 +0000
files:       bin/checklink
description:
Set "self URI" to http://validator.w3.org/checklink in command line HTML mode.
Thanks to James Gallagher for the report.


diff -r 72e90e45ea38 -r 1125c41d06f0 bin/checklink
--- a/bin/checklink	Tue Apr 20 17:13:28 2004 +0000
+++ b/bin/checklink	Wed Apr 28 22:12:41 2004 +0000
@@ -5,7 +5,7 @@
 # (c) 1999-2004 World Wide Web Consortium
 # based on Renaud Bruyeron's checklink.pl
 #
-# $Id: checklink,v 3.37 2004-04-20 17:13:26 ville Exp $
+# $Id: checklink,v 3.38 2004-04-28 22:12:41 ville Exp $
 #
 # This program is licensed under the W3C(r) Software License:
 #       http://www.w3.org/Consortium/Legal/copyright-software
@@ -112,7 +112,7 @@
   $PACKAGE       = 'W3C Link Checker';
   $PROGRAM       = 'W3C-checklink';
   $VERSION       = '3.9.3-dev';
-  my ($cvsver)   = q$Revision: 3.37 $ =~ /(\d+[\d\.]*\.\d+)/;
+  my ($cvsver)   = q$Revision: 3.38 $ =~ /(\d+[\d\.]*\.\d+)/;
   $REVISION      = sprintf('version %s [%s] (c) 1999-2004 W3C',
                            $VERSION, $cvsver);
   $AGENT         = sprintf('%s/%s [%s] %s',
@@ -240,6 +240,8 @@
   Text::Wrap->import('wrap');
 
   &usage(1) unless @ARGV;
+
+  $Opts{_Self_URI} = 'http://validator.w3.org/checklink'; # For HTML output
 
   &ask_password() if ($Opts{User} && !$Opts{Password});
 

Received on Thursday, 5 August 2010 14:47:08 UTC