****
This may be off topic for this list - but I really need help and I'm having
a hard time solidifying this "problem" to a simple query/statement. Maybe
some of you have come across this issue...
Here's the question: I have an application that I want to put online for
download. Then, when you have the app downloaded, you click on a button on
a web site, which then launches the app - this application is for use
online, so it is always launched off a website. Now, this app has a new,
unknown file extension - no browsers or servers "know" about it (we haven't
registered the extension yet). And, we want to use only one button - you
click on the same singular button whether or not you have the program
already - if you have it already (you've downloaded & executed the .exe),
then a click on the button will launch the application, and if you don't
have it, a click on the button will send you to a download page. The
problem, is that the file that the click on the button initiates is a new
and unknown file extension - web browsers and servers don't know about it.
So, my question is this: Is there any way to associate a new file extension
that is unknown to a web server and a web browser, and have the server
redirect the browser to a download page IF the user doesn't have the app
already installed, OR if the user DOES have it installed, then launch the
application?
We can register our new file extension with IANA, but we're trying to avoid
that right now...
Also, any pointers to where it details how different browsers (IE, Netscape,
Apache, etc.) treat unknown file extensions?
Any ideas or suggestions? Please feel free to reply to me directly, if you
think it's inappropriate for the whole list (aba...@mail.open-softech.com).
Thank you so much!
===========================================================================
TECHWR-L has 4000+ readers--think before posting.
Send posts to tech...@listserv.okstate.edu
Send commands to list...@listserv.okstate.edu (e.g., SIGNOFF TECHWR-L)
Search archives at: http://www.raycomm.com/techwhirl/archives.htm
Take tangential discussion to http://www.raycomm.com/techwhirl/chat/
Send all list-related questions or problems to ej...@raycomm.com.
Basically, you can write a script and check if your plugin application
with your MIME type extension or defined name is available and if not
redirect your user to your download page (if it is, you redirect your user
to your file or offer a link). I think that should work in Internet Explorer
4 (instead of navigator.plugins you would use window object but I cannot
remember how, find more on
http://msdn.microsoft.com/workshop/author/dhtml/reference/objects/obj_window
.asp#obj_window). For JavaScript I suggest you download, print and staple
Danny Goodman's excellent reference:
ftp://ftp12.ba.best.com/pub/dgoodman/NS4_Obj.pdf
Hope that helps.
Sergej Rinc, Doc-To-Help Certified Trainer
Tehnical Director, Sinonim d.o.o.
Member, International Webmasters Association http://iwanet.org
Prekorje 49, 3211 Skofja vas, faks/BBS +386 63 411 448
mailto:in...@sinonim.si, http://www.sinonim.si/index.html
----- Original Message -----
From: Amanda Baird <aba...@MAIL.OPEN-SOFTECH.COM>
Sent: 3. avgust 1999 16:56
Subject: Repost - How do servers and browsers treat unknown extensions?
(long)
| click on the same singular button whether or not you have the program
| already - if you have it already (you've downloaded & executed the .exe),
| then a click on the button will launch the application, and if you don't
| have it, a click on the button will send you to a download page. The
===========================================================================
Please search the TECHWR-L archives before posting!
Send posts to tech...@listserv.okstate.edu
Send commands to list...@listserv.okstate.edu (e.g., SIGNOFF TECHWR-L)
Search archives at: http://www.raycomm.com/techwhirl/archives.htm
Find TECHWR-L-related books at http://www.raycomm.com/techwhirl/books.htm