Re: How to let Amaya recognise new mime.types

> Hi,
> 
> I configure an Apache server to send a special mime.types when serving
> files with a special extension :
> 	myfile.dchtml is served with "application/amaya" mime.type
> 
> myfile.dchtml are in fact generated html files.
> 
> The goal is to tell every client to launch Amaya when this type of document
> is requested. It works. Because Amaya does not know this special mime.type,
> the document is opened in text mode. Is there a way to let Amaya know that
> these document are in fact HTML documents ? 

Amaya detects that the document is written in html:
1) when the mime-type is text/html
2) when the suffix is (case insensitive) .html, .html.xx, .htm, .htm.xx, 
shtml, jsp, xht, xhtml
3) when the mime-type is text/xml and the document includes the tag <html>
4) when the suffix is xml and the document includes the tag <html>

You can play either on the mime-type or on the suffix.


> Thanks.
> 
> Best regards,
> Catherine.
> --
> Catherine CHAT  - Responsable Technique
> Catherine.Chat@via-business.fr - Tel 01 3963 5737 - Fax 01 3963 5114
> 
> VIA BUSINESS S.A.
> Domaine de Voluceau  - BP 105 - 78153 Le Chesnay cedex - FRANCE
> http://www.via-business.fr
> ---------------------------------------------------------------------
> 

-- 
     Irene.

Received on Friday, 18 August 2000 03:37:15 UTC