link-checker commit: warning note about delay in summary only mode

changeset:   109:b48d067a17de
user:        ot
date:        Thu Nov 11 06:44:57 2004 +0000
files:       bin/checklink docs/checklink.html
description:
warning note about delay in summary only mode


diff -r ff138592745a -r b48d067a17de bin/checklink
--- a/bin/checklink	Sun Nov 07 11:17:55 2004 +0000
+++ b/bin/checklink	Thu Nov 11 06:44:57 2004 +0000
@@ -5,7 +5,7 @@
 # (c) 1999-2004 World Wide Web Consortium
 # based on Renaud Bruyeron's checklink.pl
 #
-# $Id: checklink,v 4.12 2004-11-07 11:17:55 ville Exp $
+# $Id: checklink,v 4.13 2004-11-11 06:44:57 ot Exp $
 #
 # This program is licensed under the W3C(r) Software License:
 #       http://www.w3.org/Consortium/Legal/copyright-software
@@ -110,7 +110,7 @@
   $PROGRAM     = 'W3C-checklink';
   $VERSION     = '4.0';
   $REVISION    = sprintf('version %s (c) 1999-2004 W3C', $VERSION);
-  my ($cvsver) = q$Revision: 4.12 $ =~ /(\d+[\d\.]*\.\d+)/;
+  my ($cvsver) = q$Revision: 4.13 $ =~ /(\d+[\d\.]*\.\d+)/;
   $AGENT       = sprintf('%s/%s [%s] %s',
                          $PROGRAM, $VERSION, $cvsver, LWP::RobotUA->_agent());
 
@@ -693,6 +693,12 @@
 EOF
   }
 
+  if ($Opts{Summary_Only}) {
+    if ($Opts{HTML}) { print '<p>'}
+    print 'This may take some time';
+    if ($Opts{HTML}) { print '... (<a href="'.$Cfg{Doc_URI}.'#wait">why?</a>)</p>'}
+    else { print " if the document has many links to check.\n"}
+  }
   # Record that we have processed this resource
   $processed{$absolute_uri} = 1;
   # Parse the document
diff -r ff138592745a -r b48d067a17de docs/checklink.html
--- a/docs/checklink.html	Sun Nov 07 11:17:55 2004 +0000
+++ b/docs/checklink.html	Thu Nov 11 06:44:57 2004 +0000
@@ -6,7 +6,7 @@
     <title>W3C Link Checker Documentation</title>
     <link rev="made" href="mailto:www-validator@w3.org" />
     <style type="text/css" media="all">@import "linkchecker.css";</style>
-    <meta name="revision" content="$Id: checklink.html,v 1.25 2004-11-07 11:17:55 ville Exp $" />
+    <meta name="revision" content="$Id: checklink.html,v 1.26 2004-11-11 06:44:57 ot Exp $" />
   </head>
 
   <body>
@@ -103,6 +103,8 @@
     <p>
       In the online version (and in general, when run as a CGI script),
       the number of documents that can be checked recursively is limited.
+    </p>
+    <p id="wait">
       Both the command line version and the online one sleep at least one
       second between requests to each server to avoid abuses and target
       server congestion.
@@ -260,7 +262,7 @@
         alt="Valid XHTML 1.0!" /></a>
       <a title="Send Feedback for the W3C Link Checker"
         href="http://validator.w3.org/feedback.html">The W3C Validator Team</a><br />
-      $Date: 2004-11-07 11:17:55 $
+      $Date: 2004-11-11 06:44:57 $
     </address>
     <p class="copyright">
       <a rel="Copyright" href="http://www.w3.org/Consortium/Legal/ipr-notice#Copyright">Copyright</a> &copy; 1994-2004

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