W3C home > Mailing lists > Public > www-amaya@w3.org > July to September 1999

RE: help pages

From: Dave J Woolley <DJW@bts.co.uk>
Date: Mon, 9 Aug 1999 19:14:54 +0100
Message-ID: <81E4A2BC03CED111845100104B62AFB5284430@stagecoach.bts.co.uk>
To: "'www-amaya@w3.org'" <www-amaya@w3.org>
> From:	John Russell [SMTP:VE3LL@RAC.CA]
> 
> Each help page has a set of navigation icons in upper right
> and company / project logos in left --- this is great for getting
> all pages to look similar.  However the w3 logo is in a format
> other than gif/jpg.   I suspect it is a .png file which renders 
> ok on Amaya but is only slowly coming onstream.  It is
> 
	It is supported by both of the big 2.  The problem
	you may have is that IE, in particular, is too
	dependent on filenames and won't recognize a local
	.png, if it doesn't end in .png.

> browsers --- aren't html files suppose to be universal
> (the tables look bad on some browsers).  But couldn't
> the logo be in .gif  
> 
	I don't think the offline version is intended to be 
	viewed with anything other than Amaya, and the online
	version is subject to HTTP content negotiation, so the
	only time you will get a .png is if the browser claims
	to be able to support .png.  (In fact, it looks like the
	online version has been rigged to prefer GIF to PNG files.)

	This demonstrates that the default format for the online
	version is image/gif and that it was subject to content
	negotiation on the Accept: header (using Lynx).

	HTTP/1.0 200 OK
	Server: Apache/1.3.6 (Unix) PHP/3.0.11
	Content-Location: w3c_home.gif
	Vary: negotiate, accept
	TCN: choice
	Accept-Ranges: bytes
	Content-Type: image/gif;qs=0.7
	Date: Mon, 09 Aug 1999 17:48:03 GMT
	Last-Modified: Mon, 09 Dec 1996 14:38:26 GMT
	Content-Length: 901
	ETag: "2cd524-385-32ac2462;36016bd4"
	Age: 0
	X-Cache: MISS from saracen.bts.co.uk
	Proxy-Connection: close


	(NS 4.6 copes properly, at least when renamed to .png; IE4.01
	recognizes it as a supported format, but appears not to
	display anything - possibly why the online version doesn't
	successfully negotiate PNG with IE or NS.)

	Actually one has to try quite hard to get back the PNG version,
	presumably because of the problems with IE.  If you say that
	GIF is absolutely taboo, you can get PNG:

	HEAD http://www.w3.org/Icons/WWW/w3c_home HTTP/1.1
	Host: www.w3.org
	Accept: image/png, image/gif; q=0.0

	HTTP/1.0 200 OK
	Server: Apache/1.3.6 (Unix) PHP/3.0.11
	Content-Location: w3c_home.png
	Vary: negotiate, accept
	TCN: choice
	Accept-Ranges: bytes
	Content-Type: image/png;qs=0.5
	Date: Mon, 09 Aug 1999 18:12:43 GMT
	Last-Modified: Mon, 09 Dec 1996 14:38:42 GMT
	Content-Length: 834
	ETag: "2c3a64-342-32ac2472;36016bd4"
	Age: 0
	X-Cache: MISS from saracen.bts.co.uk
	Proxy-Connection: keep-alive
Received on Monday, 9 August 1999 14:16:55 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 1 April 2014 11:01:33 UTC