mimeTypes.rdf I really want to understand, help, please
Loner <[email protected]>
| Newsgroups | gmane.comp.mozilla.devel.rdf |
|---|---|
| Organization | Another Netscape Collabra Server User |
| Message-ID | <[email protected]> |
First, thank you for the help you can give to me :) I really want, I really try but no way. I clear a little the code of the rdf files that I found on the net and i already be able to make order in the chaotic files following the instrucctions but still doesn't work. So, i know is hard, and no one is going to have a look to this code, but, can someone say me what is wrong?. The mayor error, because i wanted to do like that is that NC:Path is notepad.exe, but i wanted it (there are comments in spanish too): --------------HERE STARTS THE CODE---------------- <RDF:RDF xmlns:RDF="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:NC="http://home.netscape.com/NC-rdf#"> /* Aquí comienza el documento de mimes */ /* La primera parte especifica cuales mime van a usarse */ <RDF:Description about="urn:mimetypes"> <NC:MIME-types> <RDF:Seq about="urn:mimetypes:root"> <RDF:li="urn:mimetype:application/pdf" /> <RDF:li="urn:mimetype:application/zip" /> </RDF:Seq> </NC:MIME-types> </RDF:Description> /* Esta parte de especificación de mimes ya esta definida */ /* Ahora empiezas las propiedades para cada mime que son 3 para cada 1 */ /* PDF inicio */ <RDF:Description about="urn:mimetype:application/pdf" NC:value="application/pdf" NC:editable="true" NC:description="Archivo PDF" NC:fileExtensions="pdf"> <NC:handlerProp resource="urn:mimetype:handler:application/pdf" /> </RDF:Description> <RDF:Description about="urn:mimetype:handler:application/pdf" NC:useSystemDefault="false" NC:saveToDisk="false" NC:alwaysAsk="true"> <NC:externalApplication resource="urn:mimetype:externalApplication:application/pdf" /> </RDF:Description> <RDF:Description about="urn:mimetype:externalApplication:application/pdf" NC:path="e:\\win2k\\system32\\notepad.exe" NC:prettyName="Acrobat Reader"> </RDF:Description> /* PDF fin */ /* ZIP inicio */ <RDF:Description about="urn:mimetype:application/zip" NC:value="application/zip" NC:editable="true" NC:description="Archivo ZIP" NC:fileExtensions="zip"> <NC:handlerProp resource="urn:mimetype:handler:application/zip" /> </RDF:Description> <RDF:Description about="urn:mimetype:handler:application/zip" NC:useSystemDefault="false" NC:saveToDisk="false" NC:alwaysAsk="true"> <NC:externalApplication resource="urn:mimetype:externalApplication:application/zip" /> </RDF:Description> <RDF:Description about="urn:mimetype:externalApplication:application/zip" NC:path="e:\\win2k\\system32\\notepad.exe" NC:prettyName="Archivo Zip"> </RDF:Description> /* ZIP fin */ /* Aqui se acaban todas las propiedades de mimes */ /* Aquí se acaba el documento de mimes */ </RDF:RDF>