Updated install.rdf format to current template from Mozilla.org and updated some values (extension is now version 0.1pre1)

Added update.rdf for auto-update mechanism (which will get moved out of the extension root by the build system but should stay with a particular tree)

Assigned a new GUID to extension

*** Important: The extension GUID has changed, so you should rename the scholar@chnm text file in your Firefox profile exensions directory to our new GUID "{e007c81c-eb2a-4e1d-b381-d25a45cd11ed}" and restart Firefox ***
This commit is contained in:
Dan Stillman 2006-05-30 04:28:38 +00:00
parent bc0463774f
commit b135f92ef9
3 changed files with 55 additions and 18 deletions

View file

@ -1,5 +1,5 @@
const SCHOLAR_CONFIG = {
GUID: 'scholar@chnm',
GUID: '{e007c81c-eb2a-4e1d-b381-d25a45cd11ed}',
DB_FILE: 'scholar.sqlite',
DB_VERSION: 10, // must match version at top of schema.sql
DB_REBUILD: false, // erase DB and recreate from schema

View file

@ -1,18 +1,31 @@
<?xml version="1.0"?>
<RDF:RDF xmlns:em="http://www.mozilla.org/2004/em-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="rdf:#$V4RG2"
em:id="{ec8030f7-c20a-464f-9b0e-13a3a9e97384}"
em:minVersion="1.6a1"
em:maxVersion="3.0+" />
<RDF:Description RDF:about="urn:mozilla:install-manifest"
em:id="scholar@chnm"
em:name="Firefox Scholar"
em:version="1.0"
em:creator="Center for History and New Media, George Mason University"
em:homepageURL="http://chnm.gmu.edu"
em:optionsURL="chrome://scholar/content/preferences.xul">
<em:targetApplication RDF:resource="rdf:#$V4RG2"/>
</RDF:Description>
</RDF:RDF>
<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>{e007c81c-eb2a-4e1d-b381-d25a45cd11ed}</em:id>
<em:name>Firefox Scholar</em:name>
<em:version>0.1pre1-SVN</em:version>
<em:description>This is a one-line description of Firefox Scholar.</em:description>
<em:creator>Center for History and New Media, George Mason University</em:creator>
<!--<em:contributor>...</em:contributor>-->
<em:homepageURL>http://chnm.gmu.edu</em:homepageURL>
<em:optionsURL>chrome://scholar/content/preferences.xul</em:optionsURL>
<!--<em:aboutURL>chrome://scholar/content/about.xul</em:aboutURL>-->
<!--<em:iconURL>chrome://scholar/skin/mainicon.png</em:iconURL>-->
<em:updateURL>http://chnm.gmu.edu/firefoxscholar/download/update-svn.rdf</em:updateURL>
<em:type>2</em:type> <!-- type=extension -->
<!-- Firefox -->
<em:targetApplication>
<Description>
<em:id>{ec8030f7-c20a-464f-9b0e-13a3a9e97384}</em:id>
<em:minVersion>2.0a1+</em:minVersion>
<em:maxVersion>3.0+</em:maxVersion>
</Description>
</em:targetApplication>
</Description>
</RDF>

24
update.rdf Normal file
View file

@ -0,0 +1,24 @@
<?xml version="1.0"?>
<RDF:RDF xmlns:RDF="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns="http://www.mozilla.org/2004/em-rdf#">
<!-- Firefox Scholar Extension -->
<RDF:Description about="urn:mozilla:extension:{e007c81c-eb2a-4e1d-b381-d25a45cd11ed}">
<updates>
<RDF:Seq>
<RDF:li>
<RDF:Description>
<version>0.1pre1-SVN</version>
<targetApplication>
<RDF:Description>
<id>{ec8030f7-c20a-464f-9b0e-13a3a9e97384}</id>
<minVersion>2.0a1+</minVersion>
<maxVersion>3.0+</maxVersion>
<updateLink>http://chnm.gmu.edu/firefoxscholar/download/scholar.xpi</updateLink>
</RDF:Description>
</targetApplication>
</RDF:Description>
</RDF:li>
</RDF:Seq>
</updates>
</RDF:Description>
</RDF:RDF>