Mailinglist Archive: opensuse (4288 mails)
| < Previous | Next > |
Re: [SLE] Newbie like question: Mime type
- From: Kevin L Hochhalter <kevin@xxxxxxxxxxxxxxxxxxxxxxx>
- Date: Tue, 21 May 2002 17:05:38 -0700
- Message-id: <200205211705.38196.kevin@xxxxxxxxxxxxxxxxxxxxxxx>
On Tuesday 21 May 2002 06:26, Harry G wrote:
> When trying to set the way Mozilla handles certain files, i.e. .pdf
> files for acrobat reader, it asks for a mimie type.
>
> What the heck is that?
>
>
> TIA
>
> Harry G
MIME stand for Multipurpose Internet Mail Extension. The short and sweet of
it is that every file has a MIME type. For example, an mp3 (Mpeg layer 3)
would have a type of audio/mpeg3, audio/x-mpeg3, while a Quicktime file would
be MIME type video/quicktime, and a Portable Document Format (pdf) has the
MIME type of application/pdf, etc. All of these different MIME types will
have a different (usually) file suffix associated with them.
Try opening the KDE Control Center (if you use KDE), and click on Web
Browsing, and then choose Netscape Plugins, and have a look at which MIME
types are associated with which plugins. This ought to help you out quite a
bit.
Then in Mozilla if you want to, for example, add the MIME type audio/wav for
playing wav sounds that are embedded in web pages, you would add the type
audio/wav and audio/x-wav, with the file suffix of wav, and specify that it
be handled by /opt/netscape/plugins/plugger.so. You might want instead to
just copy plugger.so from /opt/netscape/plugins/plugger.so to
/opt/mozilla/plugins/plugger.so, or create a link, and tell mozilla to use
that one instead. For some silly reason I have never been able to get
Mozilla to use the plugins in /opt/netscape/plugins, and alway end up just
copying them to /opt/mozilla/plugins. Perhaps I had the file permissions set
wrong, but I'm lazy, so I just copied them ;-)
HTH,
Kevin
> When trying to set the way Mozilla handles certain files, i.e. .pdf
> files for acrobat reader, it asks for a mimie type.
>
> What the heck is that?
>
>
> TIA
>
> Harry G
MIME stand for Multipurpose Internet Mail Extension. The short and sweet of
it is that every file has a MIME type. For example, an mp3 (Mpeg layer 3)
would have a type of audio/mpeg3, audio/x-mpeg3, while a Quicktime file would
be MIME type video/quicktime, and a Portable Document Format (pdf) has the
MIME type of application/pdf, etc. All of these different MIME types will
have a different (usually) file suffix associated with them.
Try opening the KDE Control Center (if you use KDE), and click on Web
Browsing, and then choose Netscape Plugins, and have a look at which MIME
types are associated with which plugins. This ought to help you out quite a
bit.
Then in Mozilla if you want to, for example, add the MIME type audio/wav for
playing wav sounds that are embedded in web pages, you would add the type
audio/wav and audio/x-wav, with the file suffix of wav, and specify that it
be handled by /opt/netscape/plugins/plugger.so. You might want instead to
just copy plugger.so from /opt/netscape/plugins/plugger.so to
/opt/mozilla/plugins/plugger.so, or create a link, and tell mozilla to use
that one instead. For some silly reason I have never been able to get
Mozilla to use the plugins in /opt/netscape/plugins, and alway end up just
copying them to /opt/mozilla/plugins. Perhaps I had the file permissions set
wrong, but I'm lazy, so I just copied them ;-)
HTH,
Kevin
| < Previous | Next > |