[PC-BSD Commits] r3696 - pbibuild/modules/firefox3/overlay-dir
svn at pcbsd.org
svn at pcbsd.org
Mon Mar 30 13:48:00 PST 2009
Author: jnixon
Date: 2009-03-30 14:47:59 -0700 (Mon, 30 Mar 2009)
New Revision: 3696
Modified:
pbibuild/modules/firefox3/overlay-dir/mimeTypes.rdf
Log:
Modified firefox3 mimetypes.rdf
Modified: pbibuild/modules/firefox3/overlay-dir/mimeTypes.rdf
===================================================================
--- pbibuild/modules/firefox3/overlay-dir/mimeTypes.rdf 2009-03-30 19:10:44 UTC (rev 3695)
+++ pbibuild/modules/firefox3/overlay-dir/mimeTypes.rdf 2009-03-30 21:47:59 UTC (rev 3696)
@@ -1,52 +1,137 @@
<?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 RDF:about="urn:schemes">
- <NC:Protocol-Schemes RDF:resource="urn:schemes:root"/>
+
+# add the MIME type to the list of helpers Firefox should handle.
+ <RDF:Seq RDF:about="urn:schemes:root">
+ <RDF:li RDF:resource="urn:scheme:mailto"/>
+ <RDF:li RDF:resource="urn:scheme:webcal"/>
+ <RDF:li RDF:resource="urn:scheme:irc"/>
+ <RDF:li RDF:resource="urn:scheme:ircs"/>
+ <RDF:li RDF:resource="urn:scheme:file"/>
+ <RDF:li RDF:resource="urn:mimetype:application/pdf"/>
+ <RDF:li RDF:resource="urn:mimetype:application/x-bittorrent"/>
+ </RDF:Seq>
+
+
+###### PDF
+# associate file extensions with this MIME type:
+ <RDF:Description RDF:about="urn:mimetype:application/pdf"
+ NC:editable="true"
+ NC:value="application/pdf"
+ NC:description="PDF">
+ <NC:fileExtensions>pdf</NC:fileExtensions>
+ <NC:handlerProp RDF:resource="urn:mimetype:handler:application/pdf"/>
+ </RDF:Description>
+
+# inform Firefox this MIME type is automatically handled by an external application.
+ <RDF:Description RDF:about="urn:mimetype:handler:application/pdf"
+ NC:alwaysAsk="false"
+ NC:useSystemDefault="false"
+ NC:handleInternal="false"
+ NC:saveToDisk="false">
+ <NC:externalApplication RDF:resource="urn:mimetype:externalApplication:application/pdf"/>
+ </RDF:Description>
+# inform Firefox which external application to use
+<RDF:Description
+ RDF:about="urn:mimetype:externalApplication:application/pdf"
+ NC:path="/PCBSD/local/kde4/bin/okular"
+ NC:prettyName="okular" />
+
+###### TORRENT
+# associate file extensions with this MIME type:
+ <RDF:Description RDF:about="urn:mimetype:application/x-bittorrent"
+ NC:editable="true"
+ NC:fileExtensions="torrent"
+ NC:value="application/x-bittorrent"
+ NC:description="Torrent file">
+ <NC:fileExtensions>torrent</NC:fileExtensions>
+ <NC:handlerProp RDF:resource="urn:mimetype:handler:application/x-bittorrent"/>
+ </RDF:Description>
+
+# inform Firefox this MIME type is automatically handled by an external application.
+ <RDF:Description RDF:about="urn:mimetype:handler:application/x-bittorrent"
+ NC:alwaysAsk="false"
+ NC:useSystemDefault="false"
+ NC:handleInternal="false"
+ NC:saveToDisk="false">
+ <NC:externalApplication RDF:resource="urn:mimetype:externalApplication:application/x-bittorrent"/>
+ </RDF:Description>
+# inform Firefox which external application to use
+<RDF:Description
+ RDF:about="urn:mimetype:externalApplication:application/x-bittorrent"
+ NC:path="/PCBSD/local/kde4/bin/ktorrent"
+ NC:prettyName="ktorrent" />
+
+
+
+###### WEBCAL
+# associate file extensions with this MIME type:
+ <RDF:Description RDF:about="urn:scheme:webcal"
+ NC:value="webcal">
+ <NC:handlerProp RDF:resource="urn:scheme:handler:webcal"/>
</RDF:Description>
+
+# inform Firefox this MIME type is automatically handled by an external application.
<RDF:Description RDF:about="urn:scheme:handler:webcal"
NC:alwaysAsk="true">
<NC:possibleApplication RDF:resource="urn:handler:web:http://30boxes.com/external/widget?refer=ff&url=%s"/>
- </RDF:Description>
- <RDF:Description RDF:about="urn:handler:web:http://30boxes.com/external/widget?refer=ff&url=%s"
+# inform Firefox which external application to use
+<RDF:Description RDF:about="urn:handler:web:http://30boxes.com/external/widget?refer=ff&url=%s"
NC:prettyName="30 Boxes"
NC:uriTemplate="http://30boxes.com/external/widget?refer=ff&url=%s" />
- <RDF:Description RDF:about="urn:scheme:externalApplication:mailto"
- NC:prettyName="defaultemail"
- NC:path="/usr/Programs/CHANGEME/bin/defaultemail" />
+
+###### MAILTO
+# associate file extensions with this MIME type:
<RDF:Description RDF:about="urn:scheme:mailto"
NC:value="mailto">
<NC:handlerProp RDF:resource="urn:scheme:handler:mailto"/>
</RDF:Description>
- <RDF:Description RDF:about="urn:handler:web:https://mail.google.com/mail/?extsrc=mailto&url=%s"
+
+# inform Firefox this MIME type is automatically handled by an external application.
+ <RDF:Description RDF:about="urn:scheme:handler:mailto"
+ NC:alwaysAsk="true">
+
+ <NC:possibleApplication RDF:resource="urn:handler:web:https://mail.google.com/mail/?extsrc=mailto&url=%s"/>
+ <NC:possibleApplication RDF:resource="urn:handler:web:http://compose.mail.yahoo.com/?To=%s"/>
+ </RDF:Description>
+
+# inform Firefox which external application to use
+ <RDF:Description RDF:about="urn:handler:web:http://compose.mail.yahoo.com/?To=%s"
+ NC:prettyName="Yahoo! Mail"
+ NC:uriTemplate="http://compose.mail.yahoo.com/?To=%s" />
+<RDF:Description RDF:about="urn:handler:web:https://mail.google.com/mail/?extsrc=mailto&url=%s"
NC:prettyName="Gmail"
NC:uriTemplate="https://mail.google.com/mail/?extsrc=mailto&url=%s" />
+<RDF:Description RDF:about="urn:handler:local:/PCBSD/local/kde4/bin/kmail"
+ NC:prettyName="KMail"
+ NC:path="/PCBSD/local/kde4/bin/kmail" />
+
+
+
+###### Untouched
<RDF:Description RDF:about="urn:root"
NC:en-US_defaultHandlersVersion="2" />
- <RDF:Description RDF:about="urn:handler:web:http://compose.mail.yahoo.com/?To=%s"
- NC:prettyName="Yahoo! Mail"
- NC:uriTemplate="http://compose.mail.yahoo.com/?To=%s" />
<RDF:Description RDF:about="urn:mimetypes">
<NC:MIME-types RDF:resource="urn:mimetypes:root"/>
</RDF:Description>
- <RDF:Description RDF:about="urn:scheme:webcal"
- NC:value="webcal">
- <NC:handlerProp RDF:resource="urn:scheme:handler:webcal"/>
+
+ <RDF:Description RDF:about="urn:schemes">
+ <NC:Protocol-Schemes RDF:resource="urn:schemes:root"/>
</RDF:Description>
- <RDF:Seq RDF:about="urn:schemes:root">
- <RDF:li RDF:resource="urn:scheme:webcal"/>
- <RDF:li RDF:resource="urn:scheme:mailto"/>
- </RDF:Seq>
- <RDF:Seq RDF:about="urn:mimetypes:root">
- </RDF:Seq>
- <RDF:Description RDF:about="urn:handler:local:/usr/Programs/CHANGEME/bin/defaultemail"
- NC:prettyName="defaultemail"
- NC:path="/usr/Programs/CHANGEME/bin/defaultemail" />
- <RDF:Description RDF:about="urn:scheme:handler:mailto"
+ <RDF:Description RDF:about="urn:scheme:file"
+ NC:value="file">
+ <NC:handlerProp RDF:resource="urn:scheme:handler:file"/>
+ </RDF:Description>
+
+<RDF:Description RDF:about="urn:scheme:handler:file"
NC:alwaysAsk="false">
- <NC:possibleApplication RDF:resource="urn:handler:web:https://mail.google.com/mail/?extsrc=mailto&url=%s"/>
- <NC:possibleApplication RDF:resource="urn:handler:web:http://compose.mail.yahoo.com/?To=%s"/>
- <NC:possibleApplication RDF:resource="urn:handler:local:/usr/Programs/CHANGEME/bin/defaultemail"/>
- <NC:externalApplication RDF:resource="urn:scheme:externalApplication:mailto"/>
+<NC:externalApplication RDF:resource="urn:scheme:externalApplication:file"/>
</RDF:Description>
+
+ </RDF:Description>
+ <RDF:Description RDF:about="urn:scheme:externalApplication:file"
+ NC:prettyName="gwenview"
+ NC:path="/PCBSD/local/kde4/bin/gwenview" />
+
</RDF:RDF>
More information about the Commits
mailing list