[KimDaBa] Re: Next release one week, then what?!
Robert L Krawitz
rlk at alum.mit.edu
Mon May 2 07:44:21 CEST 2005
From: Eivind <ekj at zet.no>
Date: Mon, 2 May 2005 07:13:38 +0200
On Monday 02 May 2005 00:20, Robert L Krawitz wrote:
> 6) When exporting to HTML or otherwise, use a filename suffix that
> matches what's actually being exported. For example, exporting a
> file named foo.png generates a file named foo.png, even though the
> exported file is actually a JPEG.
If you do this then watching the generated html won't work for 99% of all
people. If you read the html locally (with a file:// url) the browser uses
the suffix to determine mime-type.
That's my point -- that's what happens right now. What *should*
happen is that the JPEG file that's generated should be named foo.jpg,
If served over the web, most web-servers do the same. (a very few migth use
mod_magic which determines the mime-type by file-content rather than name,
for those very few it'd work.)
More information about the KimDaBa