W3C home > Mailing lists > Public > www-validator@w3.org > October 1999

Referer validator script

From: Dwayne C . Litzenberger <dlitz@cheerful.com>
Date: Sun, 31 Oct 1999 01:17:54 -0400 (EDT)
To: www-validator@w3.org
Message-ID: <19991030180400.A3746@dlitz>
Here's a script that would be nifty to have on the validation page, so
people can easily add validation to their pages without having to supply
an URL.

Maybe this script could end up in the validator's cgi-bin?

--- begin validate-referer --
  #!/bin/sh
  echo -e -n "Status: 302 Moved Permanently\n";
  echo -e -n "Content-Type: text/html\n";
  echo -e -n "Location:
  http://validator.w3.org/check?uri=${HTTP_REFERER}\n\n";
  echo -e -n "\n<A HREF=\"http://validator.w3.org/check?uri=${HTTP_REFERER}\">http://validator.w3.org/check?uri=${HTTP_REFERER}</A>\n\n";
--- end validate-referer --


Please respond also to my e-mail address, as I am not subscribed to this
list.

-- 
"I already have all the latest software."
     -- Laura Winslow, "Family Matters"

Dwayne C. Litzenberger - dlitz@cheerful.com

Advertising Policy: http://DLitzPower.tripod.com/spamoff.htm
GnuPG Public Key:   http://DLitzPower.tripod.com/gpgkey.asc
     Fingerprint:   0535 F7CF FF5F 8547 E5A5  695E 4456 FB6C BC39 A4B0


Received on Sunday, 31 October 1999 11:51:14 GMT

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