 |
|
 |
|
Next: Uninstalling/Removing Applications
|
| Author |
Message |
External

Since: Feb 04, 2008 Posts: 43
|
(Msg. 1) Posted: Fri Feb 15, 2008 5:07 pm
Post subject: How to add mime type? Archived from groups: comp>sys>mac>apps (more info?)
|
|
|
Greetings,
I download some "wbp" files from internet and I have an application
which can handle them (once downloaded).
The problem is that Safari does not handle them properly (they are shown
as binary data in the browser rather than starting a new download).
I suppose I should add a mime type (this was so under mac os 9, IIRC),
but I don't know how to do it on Mac OS X. I know I have to tell Lauch
Services for that (it handles files associations) but it seems like a
non-modifiable-by-users (or programmers) process.
Any idea welcome. >> Stay informed about: How to add mime type? |
|
| Back to top |
|
 |  |
External

Since: Jun 29, 2003 Posts: 1263
|
(Msg. 2) Posted: Fri Feb 15, 2008 5:07 pm
Post subject: Re: How to add mime type? [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
In article <47b5b8c1$0$14217$5402220f@news.sunrise.ch>, Anic297
<here.DeleteThis@nowhere.mk> wrote:
> Greetings,
>
> I download some "wbp" files from internet and I have an application
> which can handle them (once downloaded).
> The problem is that Safari does not handle them properly (they are shown
> as binary data in the browser rather than starting a new download).
> I suppose I should add a mime type (this was so under mac os 9, IIRC),
> but I don't know how to do it on Mac OS X. I know I have to tell Lauch
> Services for that (it handles files associations) but it seems like a
> non-modifiable-by-users (or programmers) process.
> Any idea welcome.
Safari probably is handling them "properly" -- it is more likely that
the Web site has the link improperly formed to effect the download
rather than a display. Every time I've encountered this situation with
Safari or Firefox, it was the Web site that was at fault.
You can work around this by Ctrl-clicking (or right-clicking if you
have a pointing device that supports it) and choosing "Download Linked
File" to force the issue.
--
Spenser >> Stay informed about: How to add mime type? |
|
| Back to top |
|
 |  |
External

Since: Feb 04, 2008 Posts: 43
|
(Msg. 3) Posted: Fri Feb 15, 2008 6:18 pm
Post subject: Re: How to add mime type? [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
sbt a écrit:
> Safari probably is handling them "properly" -- it is more likely that
> the Web site has the link improperly formed to effect the download
> rather than a display. Every time I've encountered this situation with
> Safari or Firefox, it was the Web site that was at fault.
Thanks. I think I remember early versions of Safari handled them
correctly (I mean, by downloading them).
> You can work around this by Ctrl-clicking (or right-clicking if you
> have a pointing device that supports it) and choosing "Download Linked
> File" to force the issue.
I can't believe I had forgotten this! Thank you! >> Stay informed about: How to add mime type? |
|
| Back to top |
|
 |  |
External

Since: Feb 04, 2008 Posts: 43
|
(Msg. 4) Posted: Fri Feb 15, 2008 6:24 pm
Post subject: Re: How to add mime type? [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
sbt a écrit:
> Safari probably is handling them "properly" -- it is more likely that
> the Web site has the link improperly formed to effect the download
> rather than a display. Every time I've encountered this situation with
> Safari or Firefox, it was the Web site that was at fault.
Thanks. I think I remember early versions of Safari handled them
correctly (I mean, by downloading them).
> You can work around this by Ctrl-clicking (or right-clicking if you
> have a pointing device that supports it) and choosing "Download Linked
> File" to force the issue.
Hmm... the problem is that I don't have direct links; they are calling a
script which redirects the current page.
So far, I have made an application which handles that (I enter the URL
in a field and it downloads the data to a file). This is not convenient
either because I have to get the URL (therefore, I must click the
download link, cancel the loading and copy/paste the new URL). This is
better than nothing, however.
So it's not possible to add a mime type for safari?!
Thank you, sbt. >> Stay informed about: How to add mime type? |
|
| Back to top |
|
 |  |
External

Since: Jun 29, 2003 Posts: 1263
|
(Msg. 5) Posted: Fri Feb 15, 2008 6:24 pm
Post subject: Re: How to add mime type? [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
In article <47b5cadf$0$14212$5402220f@news.sunrise.ch>, Anic297
<here.TakeThisOut@nowhere.mk> wrote:
>
> So it's not possible to add a mime type for safari?!
>
Probably a terminology issue, but you don't add a mime type for Safari
or any other browser. "mime" is surrounding text for mail attachments
that tells a mail client how to deal with that bytestream (e.g. treat
it as jpeg, or doc, or ...). A browser might react to mime encodings as
a mail client does, but nothing in the web standards says it must.
At any rate, other than using a tool like the PList Editor that is part
of an Xcode install to add an entry to the LSClaimedTypes file in your
Preferences folder, I'm not sure what you can do to achieve your goal,
other than what you're already doing. I don't recommend modifying your
LSClaimedTypes file or any of the other Launch Services files unless
you're comfortable that you know what you're doing -- it's really easy
to break something there.
> Thank you, sbt.
You're welcome. I hope the above gives you a place to start in solving
your problem.
--
Spenser >> Stay informed about: How to add mime type? |
|
| Back to top |
|
 |  |
External

Since: Feb 18, 2004 Posts: 1406
|
(Msg. 6) Posted: Fri Feb 15, 2008 9:12 pm
Post subject: Re: How to add mime type? [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
In article <150220080948556210%dogbreath@chaseabone.com.invalid>,
sbt <dogbreath.TakeThisOut@chaseabone.com.invalid> wrote:
> In article <47b5cadf$0$14212$5402220f@news.sunrise.ch>, Anic297
> <here.TakeThisOut@nowhere.mk> wrote:
>
> >
> > So it's not possible to add a mime type for safari?!
> >
> Probably a terminology issue, but you don't add a mime type for Safari
> or any other browser. "mime" is surrounding text for mail attachments
> that tells a mail client how to deal with that bytestream (e.g. treat
> it as jpeg, or doc, or ...). A browser might react to mime encodings as
> a mail client does, but nothing in the web standards says it must.
While MIME was originally created for mail, it's not confined to mail.
HTTP uses MIME encodings just as well, see RFC 2616. Note that neither
M in MIME stands for Mail (although it might have originally), it
currently means Multimedia Internet Message Extensions. HTTP documents
are messages, too.
--
Barry Margolin, barmar.TakeThisOut@alum.mit.edu
Arlington, MA
*** PLEASE post questions in newsgroups, not directly to me ***
*** PLEASE don't copy me on replies, I'll read them in the group *** >> Stay informed about: How to add mime type? |
|
| Back to top |
|
 |  |
External

Since: Jul 22, 2006 Posts: 235
|
(Msg. 7) Posted: Sat Feb 16, 2008 12:12 am
Post subject: Re: How to add mime type? [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
Anic297 wrote:
> Greetings,
>
> I download some "wbp" files from internet and I have an application
> which can handle them (once downloaded).
> The problem is that Safari does not handle them properly (they are shown
> as binary data in the browser rather than starting a new download).
> I suppose I should add a mime type (this was so under mac os 9, IIRC),
> but I don't know how to do it on Mac OS X. I know I have to tell Lauch
> Services for that (it handles files associations) but it seems like a
> non-modifiable-by-users (or programmers) process.
> Any idea welcome.
You could try http://www.rubicode.com/Software/RCDefaultApp. >> Stay informed about: How to add mime type? |
|
| Back to top |
|
 |  |
External

Since: Jun 29, 2003 Posts: 1263
|
(Msg. 8) Posted: Sat Feb 16, 2008 12:12 am
Post subject: Re: How to add mime type? [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
In article <fp59pm$rl1$2@reader01.news.esat.net>, Calum
<com.gmail.DeleteThis@scottishwildcat.nospam> wrote:
> Anic297 wrote:
> > Greetings,
> >
> > I download some "wbp" files from internet and I have an application
> > which can handle them (once downloaded).
> > The problem is that Safari does not handle them properly (they are shown
> > as binary data in the browser rather than starting a new download).
> > I suppose I should add a mime type (this was so under mac os 9, IIRC),
> > but I don't know how to do it on Mac OS X. I know I have to tell Lauch
> > Services for that (it handles files associations) but it seems like a
> > non-modifiable-by-users (or programmers) process.
> > Any idea welcome.
>
> You could try http://www.rubicode.com/Software/RCDefaultApp.
That will help the OP assign the file to the app of his choice once he
has the file on his disk. However, his difficulty is in convincing the
Web browser to download it rather than display the file in a browser
window.
--
Spenser >> Stay informed about: How to add mime type? |
|
| Back to top |
|
 |  |
External

Since: Nov 07, 2003 Posts: 742
|
(Msg. 9) Posted: Sat Feb 16, 2008 2:23 pm
Post subject: Re: How to add mime type? [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
In article <150220081654450953%dogbreath@chaseabone.com.invalid>,
sbt <dogbreath RemoveThis @chaseabone.com.invalid> wrote:
> In article <fp59pm$rl1$2@reader01.news.esat.net>, Calum
> <com.gmail RemoveThis @scottishwildcat.nospam> wrote:
>
> > Anic297 wrote:
> > > [...] I know I have to tell Lauch
> > > Services for that (it handles files associations) but it seems like a
> > > non-modifiable-by-users (or programmers) process.
> >
> > You could try http://www.rubicode.com/Software/RCDefaultApp.
>
> That will help the OP assign the file to the app of his choice once he
> has the file on his disk.
Indeed. For still to be downloaded files, MisFox provides a UI to
LaunchServices: <http://mac.clauss-net.de/misfox/>. (The jury is still
out on which browsers actually respect those settings though. People are
reporting different results.)
--
Sander Tekelenburg, <http://www.euronet.nl/~tekelenb/>
Mac user: "Macs only have 40 viruses, tops!"
PC user: "SEE! Not even the virus writers support Macs!" >> Stay informed about: How to add mime type? |
|
| Back to top |
|
 |  |
External

Since: Feb 04, 2008 Posts: 43
|
(Msg. 10) Posted: Sun Feb 17, 2008 11:30 am
Post subject: Re: How to add mime type? [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
sbt a écrit :
> In article <47b5cadf$0$14212$5402220f@news.sunrise.ch>, Anic297
> <here.RemoveThis@nowhere.mk> wrote:
>
>> So it's not possible to add a mime type for safari?!
>>
> Probably a terminology issue, but you don't add a mime type for Safari
> or any other browser. "mime" is surrounding text for mail attachments
> that tells a mail client how to deal with that bytestream (e.g. treat
> it as jpeg, or doc, or ...). A browser might react to mime encodings as
> a mail client does, but nothing in the web standards says it must.
>
> At any rate, other than using a tool like the PList Editor that is part
> of an Xcode install to add an entry to the LSClaimedTypes file in your
> Preferences folder, I'm not sure what you can do to achieve your goal,
> other than what you're already doing. I don't recommend modifying your
> LSClaimedTypes file or any of the other Launch Services files unless
> you're comfortable that you know what you're doing -- it's really easy
> to break something there.
>
>> Thank you, sbt.
>
> You're welcome. I hope the above gives you a place to start in solving
> your problem.
I think so, thanks.
I have XCode installed, I'll make a backup of the file and look on this. >> Stay informed about: How to add mime type? |
|
| Back to top |
|
 |  |
External

Since: Feb 04, 2008 Posts: 43
|
(Msg. 11) Posted: Sun Feb 17, 2008 11:30 am
Post subject: Re: How to add mime type? [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
Sander Tekelenburg a écrit :
> In article <150220081654450953%dogbreath@chaseabone.com.invalid>,
> sbt <dogbreath DeleteThis @chaseabone.com.invalid> wrote:
>
>> In article <fp59pm$rl1$2@reader01.news.esat.net>, Calum
>> <com.gmail DeleteThis @scottishwildcat.nospam> wrote:
>>
>>> Anic297 wrote:
>>>> [...] I know I have to tell Lauch
>>>> Services for that (it handles files associations) but it seems like a
>>>> non-modifiable-by-users (or programmers) process.
>>> You could try http://www.rubicode.com/Software/RCDefaultApp.
>> That will help the OP assign the file to the app of his choice once he
>> has the file on his disk.
>
> Indeed. For still to be downloaded files, MisFox provides a UI to
> LaunchServices: <http://mac.clauss-net.de/misfox/>. (The jury is still
> out on which browsers actually respect those settings though. People are
> reporting different results.)
Thank you. I may not have to try with PList editor :-) >> Stay informed about: How to add mime type? |
|
| Back to top |
|
 |  |
External

Since: Feb 04, 2008 Posts: 43
|
(Msg. 12) Posted: Sun Feb 17, 2008 11:30 am
Post subject: Re: How to add mime type? [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
sbt a écrit :
> In article <fp59pm$rl1$2@reader01.news.esat.net>, Calum
> <com.gmail DeleteThis @scottishwildcat.nospam> wrote:
>
>> Anic297 wrote:
>>> Greetings,
>>>
>>> I download some "wbp" files from internet and I have an application
>>> which can handle them (once downloaded).
>>> The problem is that Safari does not handle them properly (they are shown
>>> as binary data in the browser rather than starting a new download).
>>> I suppose I should add a mime type (this was so under mac os 9, IIRC),
>>> but I don't know how to do it on Mac OS X. I know I have to tell Lauch
>>> Services for that (it handles files associations) but it seems like a
>>> non-modifiable-by-users (or programmers) process.
>>> Any idea welcome.
>> You could try http://www.rubicode.com/Software/RCDefaultApp.
>
> That will help the OP assign the file to the app of his choice once he
> has the file on his disk. However, his difficulty is in convincing the
> Web browser to download it rather than display the file in a browser
> window.
That's right. When files are completely downloaded, they open in the
right application. >> Stay informed about: How to add mime type? |
|
| Back to top |
|
 |  |
|
You can post new topics in this forum You can reply to topics in this forum You can edit your posts in this forum You can delete your posts in this forum You can vote in polls in this forum
|
|
|
|
 |
|
|