W3C home > Mailing lists > Public > www-validator@w3.org > February 2000

Validator patch (tiny)

From: Brian Gilkison <gilkison@one.net>
Date: Fri, 11 Feb 2000 00:32:03 -0500
To: <www-validator@w3.org>
Message-ID: <NABBLPCLGCEADCFDBEICEENNCFAA.gilkison@one.net>
Gerald, et al, I have just two small suggestions...

1)
When I validate a page using local Validator, the results page displays the
W3C logo at the top and a hard-coded link back to the root of whatever
system the Validator is installed on.  I would suggest that the link
actually go to whatever is defined in '$abs_svc_uri'; comparing to the
published v1.61 of the source, line 198 reads:

      <a href="/">HTML Validation Service</a> Results</h1>

Change this to:

      <a href="$abs_svc_uri">HTML Validation Service</a> Results</h1>

Not everyone runs the validator in its own domain, or at the root of the
domain (in my case, it's at http://localhost/validator/).

2)
Line 68 refers to the $faqloc:

my $faqloc	= 'http://www.cs.duke.edu/~dsb/kgv-faq/';

It appears that this file no longer exists at this location?  Perhaps
including an error file in the 'htdocs' directory would be more appropriate
at this point?  I can forward to Gerald a copy of errors.html I made from
the original $faqloc, if he likes.  (Or, since I just did a rescan of the
check script and saw that its use through $faqerrloc is commented out, you
could ignore me!)


FYI, I'm running the Validator on Win2000 Server, ActiveState Perl build
522, Apache 1.3.9, and I currently run the script with only 4 needed
changes -- the 'shebang' now reads "#!d:/perl/bin/perl.exe, and I've changed
$abs_svc_uri, $faqloc, and $element_ref (although only $abs_svc_uri is
absolutely necessary).  The caveat is that I had to use Björn Höhrmann's
trick of putting CMD.EXE in my Validator's cgi-bin directory (see
http://lists.w3.org/Archives/Public/www-validator/2000JanMar/0025.html; and
before someone screams about security issues, this validator is never
exposed outside my home, it's strictly for personal use).  So I also look
forward to seeing anybody's suggestions for a workaround or possible
solution...

Brian

>  Brian Gilkison           | http://w3.one.net/~gilkison/ <
>  gilkison@one.net         | finger for PGP Public key    <
>                                                          <
>              A good pun is it's own reword.              <
Received on Friday, 11 February 2000 00:32:22 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 25 April 2012 12:13:53 GMT