diff firefoxaddon/template/install.rdf_tmpl @ 0:9869cf47fcf8 default tip

initial commit of Firefox addon template
author k0s <k0scist@gmail.com>
date Sun, 28 Mar 2010 16:25:58 -0400
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/firefoxaddon/template/install.rdf_tmpl	Sun Mar 28 16:25:58 2010 -0400
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<RDF xmlns="http://www.w3.org/1999/02/22-rdf-syntax-ns#" 
+ xmlns:em="http://www.mozilla.org/2004/em-rdf#">
+  <Description about="urn:mozilla:install-manifest">
+    <em:id>${package}@${'.'.join([i.lower() for i in author.split()])}</em:id>
+    <em:name>${project}</em:name>
+    <em:version>1.0</em:version>
+    <em:creator>${author}</em:creator>
+    <em:description>${description}</em:description>
+    <em:homepageURL>${url}</em:homepageURL>
+    <em:aboutURL>chrome://${package}/content/about.xul</em:aboutURL>
+    <em:optionsURL>chrome://${package}/content/options.xul</em:optionsURL>
+    <em:iconURL>chrome://${package}/content/${package}.jpg</em:iconURL>
+    <em:targetApplication>
+      <Description>
+        <em:id>{ec8030f7-c20a-464f-9b0e-13a3a9e97384}</em:id> <!-- firefox -->
+        <em:minVersion>1.5</em:minVersion>
+        <em:maxVersion>3.0.*</em:maxVersion>
+      </Description>
+    </em:targetApplication>
+  </Description>
+</RDF>