wok-6.x diff thunderbird/stuff/mimeTypes.rdf @ rev 8423
Add flex to autofs build depends.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Sat Feb 05 18:06:36 2011 +0000 (2011-02-05) |
parents | |
children |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/thunderbird/stuff/mimeTypes.rdf Sat Feb 05 18:06:36 2011 +0000 1.3 @@ -0,0 +1,110 @@ 1.4 +<?xml version="1.0"?> 1.5 + 1.6 +<!-- 1.7 + This file is used as a persistent data store for helper application 1.8 + information about both MIME type and protocol scheme helpers. 1.9 + 1.10 + The root of the data are the two containers 1.11 + <RDF:Seq about="urn:mimetypes:root"/> and <RDF:Seq about="urn:schemes:root"/>. 1.12 + 1.13 + These contain one <RDF:li/> entry per MIME type/protocol. Each <RDF:li/> entry 1.14 + corresponds to a "urn:<class>:<type>" resource, where <class> is either 1.15 + "mimetype" or "scheme" and <type> is either a MIME type in "major/minor" format 1.16 + or a scheme. For example, for HTML we would have "urn:mimetype:text/html", 1.17 + while for mailto: we would have "urn:scheme:mailto". 1.18 + 1.19 + Typically, this resource will be in the <RDF:Description/> node which has the 1.20 + corresponding "about" attribute. 1.21 + 1.22 + Each "urn:<class>:<type>" resource can have the following properties: 1.23 + 1.24 + NC:Value - the MIME type or scheme string 1.25 + NC:editable - a "true" or "false" depending on whether this entry is 1.26 + editable 1.27 + NC:description - a description of the type ("HTML Document" for text/html) 1.28 + NC:fileExtensions - for MIME types, there will be one of these properties 1.29 + per extension that corresponds to this MIME type, 1.30 + each one having a single extension as its value. 1.31 + NC:handlerProp - the way the type should be handled. This corresponds to a 1.32 + "urn:<class>:handler:<type>" resource. Eg, the way HTML is 1.33 + handled would be stored in the 1.34 + "urn:mimetype:handler:text/html" resource. 1.35 + 1.36 + Each "urn:<class>:handler:<type>" resource can have the following properties: 1.37 + 1.38 + NC:useSystemDefault - "true" if we should handle per default OS setting, 1.39 + "false" or not set otherwise 1.40 + NC:saveToDisk - "true" if the data should be saved to disk, "false" or not 1.41 + set otherwise. 1.42 + (Note - if both of these are false, that means "open in helper app") 1.43 + NC:alwaysAsk - "true" if the user should always be prompted before handling 1.44 + data of this type, false otherwise. 1.45 + NC:externalApplication - the preferred helper application to use for this 1.46 + type. This corresponds to a 1.47 + "urn:<class>:externalApplication:<type>" resource. 1.48 + NC:possibleApplication - a helper application that can be used for this type. 1.49 + Since there can be multiple possible applications, 1.50 + there can be multiple assertions in the graph with 1.51 + this property for a given handler resource. 1.52 + 1.53 + Each "urn:<class>:externalApplication:<type>" resource, and each resource 1.54 + that represents a possible application, can have the following property: 1.55 + 1.56 + NC:prettyName - the "pretty name" of the application ("Acrobat Reader" for 1.57 + /usr/bin/acroread, eg). 1.58 + 1.59 + If the resource represents a local application, then it can have the following 1.60 + property: 1.61 + 1.62 + NC:path - the path to the application on the local filesystem, for example 1.63 + /usr/bin/test or C:\windows\system32\cmd.exe. 1.64 + 1.65 + If the resource represents a web application, then it can have the following 1.66 + property: 1.67 + 1.68 + NC:uriTemplate - a URI pointing to the web application to which the type 1.69 + should be handed off, with %s in the template representing 1.70 + the place where the content should be inserted. For example, 1.71 + here is a URI template for a service that lets you email 1.72 + an address in a mailto: link: 1.73 + http://www.example.com/sendmail?link=%s 1.74 +--> 1.75 + 1.76 +<RDF:RDF xmlns:RDF="http://www.w3.org/1999/02/22-rdf-syntax-ns#" 1.77 + xmlns:NC="http://home.netscape.com/NC-rdf#"> 1.78 + 1.79 + <RDF:Seq RDF:about="urn:schemes:root"> 1.80 + <RDF:li RDF:resource="urn:scheme:http"/> 1.81 + </RDF:Seq> 1.82 + 1.83 + <RDF:Description RDF:about="urn:scheme:externalApplication:http" 1.84 + NC:prettyName="midori" 1.85 + NC:path="/usr/bin/midori" /> 1.86 + <RDF:Description RDF:about="urn:scheme:handler:http" 1.87 + NC:alwaysAsk="false"> 1.88 + <NC:externalApplication RDF:resource="urn:scheme:externalApplication:http"/> 1.89 + <NC:possibleApplication RDF:resource="urn:handler:local:/usr/bin/midori"/> 1.90 + </RDF:Description> 1.91 + 1.92 + <RDF:Description RDF:about="urn:schemes"> 1.93 + <NC:Protocol-Schemes RDF:resource="urn:schemes:root"/> 1.94 + </RDF:Description> 1.95 + 1.96 + <RDF:Description RDF:about="urn:scheme:http" 1.97 + NC:value="http"> 1.98 + <NC:handlerProp RDF:resource="urn:scheme:handler:http"/> 1.99 + </RDF:Description> 1.100 + 1.101 + <RDF:Description RDF:about="urn:mimetypes"> 1.102 + <NC:MIME-types RDF:resource="urn:mimetypes:root"/> 1.103 + </RDF:Description> 1.104 + 1.105 + <RDF:Seq RDF:about="urn:mimetypes:root"> 1.106 + </RDF:Seq> 1.107 + <RDF:Description RDF:about="urn:root" 1.108 + NC:en-US_defaultHandlersVersion="-1" 1.109 + NC:fr_defaultHandlersVersion="-1" /> 1.110 + <RDF:Description RDF:about="urn:handler:local:/usr/bin/midori" 1.111 + NC:prettyName="midori" 1.112 + NC:path="/usr/bin/midori" /> 1.113 +</RDF:RDF>