- From: <hal5@hiwaay.net>
- Date: Tue, 01 Mar 2005 19:29:47 -0600 (CST)
- To: www-validator@w3.org
Thank you for your Validator page. It allowed me to very quickly convert my HTML code over to XHTML Transitional. Like some others on the World Wide Web, I have had problems with the "http://validator.w3.org/check?uri=referer" link producing "No Referer header found!" error messages. This seems to be associated with firewalls and perhaps HTTPS too. I have a SHORT solution involving simple inline JavaScript code that effectively replaces "referer" with the full URL. If JavaScript is disabled, it just uses default "referer". All of the not-so-effective other solutions I came across on the Web were much more complicated, some needing PHP. If you concur with this solution, I recommend that you update your sample HTML code associated with the "Here is the HTML you should use to add this icon to your Web page:" statement. ================ CURRENT HTML CODE SAMPLE ======================== <p> <a href="http://validator.w3.org/check?uri=referer"><img src="http://www.w3.org/Icons/valid-xhtml10" alt="Valid XHTML 1.0!" height="31" width="88" /></a> </p> =============== SUGGESTED HTML CODE SAMPLE ======================= <p> <a href="http://validator.w3.org/check?uri=referer" onclick="this.href='http://validator.w3.org/check?uri=' + document.URL"><img src="http://www.w3.org/Icons/valid-xhtml10" alt="Valid XHTML 1.0!" height="31" width="88" /></a> </p> -- Ronnie Lajoie
Received on Wednesday, 2 March 2005 07:23:43 UTC