W3C home > Mailing lists > Public > www-validator-cvs@w3.org > March 2005

[Bug 1182] New: add an exclude-links option analog to exclude-docs

From: <bugzilla@wiggum.w3.org>
Date: Mon, 28 Mar 2005 10:00:23 +0000
To: www-validator-cvs@w3.org
Cc:
Message-Id: <E1DFr2l-0001lw-Nc@wiggum.w3.org>

http://www.w3.org/Bugs/Public/show_bug.cgi?id=1182

           Summary: add an exclude-links option analog to exclude-docs
           Product: LinkChecker
           Version: 4.0
          Platform: Other
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: checklink
        AssignedTo: ville.skytta@iki.fi
        ReportedBy: stefan@ruppert-it.de
         QAContact: www-validator-cvs@w3.org


add an option --exclude-links analog to --exclude-docs but instead of excluding
parsing a document exclude a link for checking. For example running checklink
locally a regexp of "^http:" would exclude all remote link checking.

Add the following line after:

next if ($u =~ m/^mailto:/);

next if ($u =~ $Opts{Exclude_Links});
Received on Monday, 28 March 2005 10:00:24 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 26 April 2012 12:54:48 GMT