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

Re: Updated output format

From: Bjoern Hoehrmann <derhoermi@gmx.net>
Date: Mon, 25 Oct 1999 17:02:41 +0200
Message-ID: <005501bf1efa$0d787a80$8487fcc3@de>
To: "Gerald Oskoboiny" <gerald@w3.org>
Cc: <www-validator@w3.org>
>[validators output has changed]
| Feedback is welcome...

You're using different font sizes for the zirkumflex ('^') character and and
HTML Code. So if i change the font size in my browser, the '^' will point to a
different character and is useless.

And 'font-size: smaller' PRE text is difficult to read, too.

Use the same font-size for the whole PRE and please don't use 'smaller'.

Btw: check 1.44:

|> sub redirect_to_home_page {
|>
|>     print "Status: 302 Moved Permanently\n";
|>     print "Content-Type: text/html\n";
|>     print "Location: http://validator.w3.org/\n\n";
|>     print "<title>Moved!</title>\n";
|>     print "<p>\n";
|>     print "  Please see <a href=\"http://validator.w3.org/\">the validation
|>              service's home page.</a>\n";
|>     print "</p>\n";
|>
|>     &clean_up_and_exit;
|>
|> }

The Status should be 301 not 302 for moved permanently, see RFC2616.
If you remove the "print Content-Type:[...]" and the HTML Code, Apache will
create a better HTML Output.

My suggestion would be:

sub redirect_to_home_page {
    print "Status: 301 Moved Permanently\n";
    print "Location: http://validator.w3.org/\n\n;

    &clean_up_and_exit;
}

regards,

 Björn Höhrmann
--
http://www.bjoernsworld.de
Received on Monday, 25 October 1999 11:04:05 GMT

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