Here's what WORKSFORME and hope this is what you want.
I have application/pdf MIME type set so when I click on a .pdf file,
acrobat starts up and opens the file.
Realplayer doesn't seem to work though. (not thoroughly tested).
Attaching my mimetypes.rdf file.
Pratik.
Ian Smith wrote:
> Charlie Zender wrote:
>
>
>> Or is this a known bug that only whiners like me continue to complain
>> about?
>
>
> Well I thought it was just me. Mime has _never_ worked for me in
> Mozilla. Once I have "configured" something either I get a save to disk
> dialog (mentioning the mime type I have just set up) or a browser window
> full of rubbish. Some plugins do, but eg. Real Player insists on mime
> type entries so this does not work either.
>
> I have working java, plugger and flash BTW.
>
> I was going to post my mime types but there's nothing there worthy of
> interest. Perhaps a Linux user with working mime might want to post
> their file? Seriously.
>
> Regards,
<?xml version="1.0"?>
<RDF:RDF
xmlns:NC="http://home.netscape.com/NC-rdf#"
xmlns:RDF="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
<RDF:Description about="urn:mimetype:externalApplication:audio/vnd.rn-realaudio">
<NC:path>/home/psolanki/RealPlayer8/realplay</NC:path>
<NC:prettyName>realplay</NC:prettyName>
</RDF:Description>
<RDF:Description about="urn:mimetype:handler:application/vnd.rn-realmedia">
<NC:saveToDisk>false</NC:saveToDisk>
<NC:handleInternal>false</NC:handleInternal>
<NC:alwaysAsk>true</NC:alwaysAsk>
<NC:externalApplication resource="urn:mimetype:externalApplication:application/vnd.rn-realmedia"/>
</RDF:Description>
<RDF:Description about="urn:mimetype:externalApplication:audio/x-pn-realaudio-plugin">
<NC:path>/home/psolanki/RealPlayer8/realplay</NC:path>
<NC:prettyName>realplay</NC:prettyName>
</RDF:Description>
<RDF:Description about="urn:mimetype:handler:application/pdf">
<NC:saveToDisk>false</NC:saveToDisk>
<NC:handleInternal>false</NC:handleInternal>
<NC:alwaysAsk>true</NC:alwaysAsk>
<NC:externalApplication resource="urn:mimetype:externalApplication:application/pdf"/>
</RDF:Description>
<RDF:Description about="urn:mimetype:handler:video/vnd.rn-realvideo">
<NC:saveToDisk>false</NC:saveToDisk>
<NC:handleInternal>false</NC:handleInternal>
<NC:alwaysAsk>true</NC:alwaysAsk>
<NC:externalApplication resource="urn:mimetype:externalApplication:video/vnd.rn-realvideo"/>
</RDF:Description>
<RDF:Description about="urn:mimetype:audio/x-pn-realaudio">
<NC:value>audio/x-pn-realaudio</NC:value>
<NC:description>RealPlayer File</NC:description>
<NC:fileExtensions>ra,</NC:fileExtensions>
<NC:fileExtensions>ram,</NC:fileExtensions>
<NC:fileExtensions>rm</NC:fileExtensions>
<NC:editable>true</NC:editable>
<NC:handlerProp resource="urn:mimetype:handler:audio/x-pn-realaudio"/>
</RDF:Description>
<RDF:Description about="urn:mimetype:externalApplication:video/vnd.rn-realvideo">
<NC:path>/home/psolanki/RealPlayer8/realplay</NC:path>
<NC:prettyName>realplay</NC:prettyName>
</RDF:Description>
<RDF:Description about="urn:mimetype:text/html">
<NC:value>text/html</NC:value>
<NC:description>Hypertext Document</NC:description>
<NC:editable>false</NC:editable>
<NC:fileExtensions resource="urn:mimetype:extension:text/html:htm"/>
<NC:fileExtensions>htm</NC:fileExtensions>
<NC:fileExtensions resource="urn:mimetype:extension:text/html:html"/>
<NC:fileExtensions>html</NC:fileExtensions>
<NC:handlerProp resource="urn:mimetype:handler:text/html"/>
</RDF:Description>
<RDF:Description about="urn:mimetype:application/vnd.rn-realmedia">
<NC:value>application/vnd.rn-realmedia</NC:value>
<NC:description>RealMedia File</NC:description>
<NC:fileExtensions>rm</NC:fileExtensions>
<NC:editable>true</NC:editable>
<NC:handlerProp resource="urn:mimetype:handler:application/vnd.rn-realmedia"/>
</RDF:Description>
<RDF:Description about="urn:mimetype:video/vnd.rn-realvideo">
<NC:value>video/vnd.rn-realvideo</NC:value>
<NC:description>RealVideo File</NC:description>
<NC:fileExtensions>rv</NC:fileExtensions>
<NC:editable>true</NC:editable>
<NC:handlerProp resource="urn:mimetype:handler:video/vnd.rn-realvideo"/>
</RDF:Description>
<RDF:Description about="urn:mimetype:externalApplication:application/pdf">
<NC:path>/usr/local/Acrobat4/bin/acroread</NC:path>
<NC:prettyName>acroread</NC:prettyName>
</RDF:Description>
<RDF:Description about="urn:mimetype:audio/vnd.rn-realaudio">
<NC:value>audio/vnd.rn-realaudio</NC:value>
<NC:description>RealAudio</NC:description>
<NC:fileExtensions>ra,</NC:fileExtensions>
<NC:fileExtensions>ram</NC:fileExtensions>
<NC:editable>true</NC:editable>
<NC:handlerProp resource="urn:mimetype:handler:audio/vnd.rn-realaudio"/>
</RDF:Description>
<RDF:Description about="urn:mimetype:audio/x-pn-realaudio-plugin">
<NC:value>audio/x-pn-realaudio-plugin</NC:value>
<NC:description>RealAudio</NC:description>
<NC:fileExtensions>rpm</NC:fileExtensions>
<NC:editable>true</NC:editable>
<NC:handlerProp resource="urn:mimetype:handler:audio/x-pn-realaudio-plugin"/>
</RDF:Description>
<RDF:Description about="urn:mimetype:application/pdf">
<NC:value>application/pdf</NC:value>
<NC:description>pdf</NC:description>
<NC:fileExtensions>pdf</NC:fileExtensions>
<NC:editable>true</NC:editable>
<NC:handlerProp resource="urn:mimetype:handler:application/pdf"/>
</RDF:Description>
<RDF:Description about="urn:mimetype:handler:audio/vnd.rn-realaudio">
<NC:saveToDisk>false</NC:saveToDisk>
<NC:handleInternal>false</NC:handleInternal>
<NC:alwaysAsk>true</NC:alwaysAsk>
<NC:externalApplication resource="urn:mimetype:externalApplication:audio/vnd.rn-realaudio"/>
</RDF:Description>
<RDF:Description about="urn:mimetype:handler:audio/x-pn-realaudio-plugin">
<NC:saveToDisk>false</NC:saveToDisk>
<NC:handleInternal>false</NC:handleInternal>
<NC:alwaysAsk>true</NC:alwaysAsk>
<NC:externalApplication resource="urn:mimetype:externalApplication:audio/x-pn-realaudio-plugin"/>
</RDF:Description>
<RDF:Seq about="urn:mimetypes:root">
<RDF:li resource="urn:mimetype:text/html"/>
<RDF:li resource="urn:mimetype:application/pdf"/>
<RDF:li resource="urn:mimetype:audio/x-pn-realaudio-plugin"/>
<RDF:li resource="urn:mimetype:audio/vnd.rn-realaudio"/>
<RDF:li resource="urn:mimetype:audio/x-pn-realaudio"/>
<RDF:li resource="urn:mimetype:video/vnd.rn-realvideo"/>
<RDF:li resource="urn:mimetype:application/vnd.rn-realmedia"/>
</RDF:Seq>
<RDF:Description about="urn:mimetype:handler:text/html">
<RDF:type resource="http://home.netscape.com/NC-rdf#handler"/>
<NC:saveToDisk>false</NC:saveToDisk>
<NC:handleInternal>true</NC:handleInternal>
<NC:externalApplicationProp resource="rdf:#$nk3XQ1"/>
</RDF:Description>
<RDF:Description about="urn:mimetypes">
<NC:MIME-types resource="urn:mimetypes:root"/>
</RDF:Description>
<RDF:Description about="urn:mimetype:externalApplication:application/vnd.rn-realmedia">
<NC:path>/home/psolanki/RealPlayer8/realplay</NC:path>
<NC:prettyName>realplay</NC:prettyName>
</RDF:Description>
<RDF:Description about="rdf:#$nk3XQ1">
<RDF:type resource="http://home.netscape.com/NC-rdf#externalApplication"/>
</RDF:Description>
<RDF:Description about="urn:mimetype:handler:audio/x-pn-realaudio">
<NC:saveToDisk>false</NC:saveToDisk>
<NC:handleInternal>false</NC:handleInternal>
<NC:alwaysAsk>true</NC:alwaysAsk>
<NC:externalApplication resource="urn:mimetype:externalApplication:audio/x-pn-realaudio"/>
</RDF:Description>
<RDF:Description about="urn:mimetype:externalApplication:audio/x-pn-realaudio">
<NC:path>/home/psolanki/RealPlayer8/realplay</NC:path>
<NC:prettyName>realplay</NC:prettyName>
</RDF:Description>
</RDF:RDF>