setting MIME types for downloaded files

D

David Nelson

I'm trying to create individual links in my website to various
datafiles used by google-earth such that when a user clicks on the
link, the datafile downloads, and google-earth loads & runs using the
downloaded datafile. Google-earth datafiles are text and appear to be
xml although they are referred to as .kml. When published (FP 2003),
my problem is Explorer downloads the datafile only to open and display
it and nothing else happens. On my computer, the .kml extension is
properly listed in the registry as associated with the google-earth
application and clicking on a local file properly loads & executes the
application.

How do I establish the MIME type only for the datafile and not the
rest of the page containing the links? It seems IE doesn't recognize
the .kml file extension and therefore just incorrectly opens the file.
KML is not one of the established MIME types. Google's definitions are
that:

content=application/vnd.google-earth.kml+xml kml
content=application/vnd.google-earth.kmz kmz

Thanks in advance for any help.
David
*** Free account sponsored by SecureIX.com ***
*** Encrypt your Internet usage with a free VPN account from http://www.SecureIX.com ***
 
D

David Nelson

Kathleen - Thanks, I was afraid of this. The site is hosted by Yahoo
and I don't think it's something simple like Apache where I can define
it in the configuration file. Oh well...

David

You need to ask your web host to do this for you - it's a server setting.
*** Free account sponsored by SecureIX.com ***
*** Encrypt your Internet usage with a free VPN account from http://www.SecureIX.com ***
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top