Replaced all instances of "Firefox Scholar" (not counting the repository URL) with "Scholar for Firefox" for now
This commit is contained in:
parent
720960feb9
commit
97940c7470
|
@ -1,4 +1,4 @@
|
||||||
// Firefox Scholar Ingester Browser Functions
|
// Scholar for Firefox Ingester Browser Functions
|
||||||
// Based on code taken from Greasemonkey and PiggyBank
|
// Based on code taken from Greasemonkey and PiggyBank
|
||||||
// This code is licensed according to the GPL
|
// This code is licensed according to the GPL
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// Firefox Scholar Ingester
|
// Scholar for Firefox Ingester
|
||||||
// Utilities based on code taken from Piggy Bank 2.1.1 (BSD-licensed)
|
// Utilities based on code taken from Piggy Bank 2.1.1 (BSD-licensed)
|
||||||
// This code is licensed according to the GPL
|
// This code is licensed according to the GPL
|
||||||
|
|
||||||
|
@ -128,7 +128,7 @@ Scholar.Ingester.Utilities.prototype.loadDocument = function(url, browser, succe
|
||||||
// processor - a function to execute to process each document
|
// processor - a function to execute to process each document
|
||||||
// done - a function to execute when all document processing is complete
|
// done - a function to execute when all document processing is complete
|
||||||
// exception - a function to execute if an exception occurs (exceptions are
|
// exception - a function to execute if an exception occurs (exceptions are
|
||||||
// also logged in the Firefox Scholar log)
|
// also logged in the Scholar for Firefox log)
|
||||||
Scholar.Ingester.Utilities.prototype.processDocuments = function(browser, firstDoc, urls, processor, done, exception) {
|
Scholar.Ingester.Utilities.prototype.processDocuments = function(browser, firstDoc, urls, processor, done, exception) {
|
||||||
var hiddenBrowser = Scholar.Ingester.createHiddenBrowser(this.window);
|
var hiddenBrowser = Scholar.Ingester.createHiddenBrowser(this.window);
|
||||||
var myWindow = this.window;
|
var myWindow = this.window;
|
||||||
|
@ -225,7 +225,7 @@ Scholar.Ingester.Utilities.prototype.collectURLsWithSubstring = function(doc, su
|
||||||
// implement. We can, however, always implement them later.
|
// implement. We can, however, always implement them later.
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* BEGIN FIREFOX SCHOLAR EXTENSIONS
|
* BEGIN SCHOLAR FOR FIREFOX EXTENSIONS
|
||||||
* Functions below this point are extensions to the utilities provided by
|
* Functions below this point are extensions to the utilities provided by
|
||||||
* Piggy Bank. When used in external code, the repository will need to add
|
* Piggy Bank. When used in external code, the repository will need to add
|
||||||
* a function definition when exporting in Piggy Bank format.
|
* a function definition when exporting in Piggy Bank format.
|
||||||
|
@ -462,7 +462,7 @@ Scholar.Ingester.Utilities.prototype.importMARCRecord = function(record, uri, mo
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* END FIREFOX SCHOLAR EXTENSIONS
|
* END SCHOLAR FOR FIREFOX EXTENSIONS
|
||||||
*/
|
*/
|
||||||
|
|
||||||
// These are front ends for XMLHttpRequest. XMLHttpRequest can't actually be
|
// These are front ends for XMLHttpRequest. XMLHttpRequest can't actually be
|
||||||
|
|
|
@ -95,7 +95,7 @@ var Scholar = new function(){
|
||||||
var logManager =
|
var logManager =
|
||||||
Components.classes["@mozmonkey.com/debuglogger/manager;1"]
|
Components.classes["@mozmonkey.com/debuglogger/manager;1"]
|
||||||
.getService(Components.interfaces.nsIDebugLoggerManager);
|
.getService(Components.interfaces.nsIDebugLoggerManager);
|
||||||
var logger = logManager.registerLogger("Firefox Scholar");
|
var logger = logManager.registerLogger("Scholar for Firefox");
|
||||||
}
|
}
|
||||||
catch (e){}
|
catch (e){}
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
const SCHOLAR_CONTRACTID = '@chnm.gmu.edu/Scholar;1';
|
const SCHOLAR_CONTRACTID = '@chnm.gmu.edu/Scholar;1';
|
||||||
const SCHOLAR_CLASSNAME = 'Firefox Scholar';
|
const SCHOLAR_CLASSNAME = 'Scholar for Firefox';
|
||||||
const SCHOLAR_CID = Components.ID('{e4c61080-ec2d-11da-8ad9-0800200c9a66}');
|
const SCHOLAR_CID = Components.ID('{e4c61080-ec2d-11da-8ad9-0800200c9a66}');
|
||||||
const SCHOLAR_IID = Components.interfaces.chnmIScholarService;
|
const SCHOLAR_IID = Components.interfaces.chnmIScholarService;
|
||||||
|
|
||||||
|
|
|
@ -5,9 +5,9 @@
|
||||||
<Description about="urn:mozilla:install-manifest">
|
<Description about="urn:mozilla:install-manifest">
|
||||||
|
|
||||||
<em:id>scholar@chnm.gmu.edu</em:id>
|
<em:id>scholar@chnm.gmu.edu</em:id>
|
||||||
<em:name>Firefox Scholar</em:name>
|
<em:name>Scholar for Firefox</em:name>
|
||||||
<em:version>0.1pre1.SVN</em:version>
|
<em:version>0.1pre1.SVN</em:version>
|
||||||
<em:description>This is a one-line description of Firefox Scholar.</em:description>
|
<em:description>A bibliographic management and note-taking tool</em:description>
|
||||||
<em:creator>Center for History and New Media<br/>George Mason University</em:creator>
|
<em:creator>Center for History and New Media<br/>George Mason University</em:creator>
|
||||||
<em:contributor>Dan Cohen</em:contributor>
|
<em:contributor>Dan Cohen</em:contributor>
|
||||||
<em:contributor>Josh Greenberg</em:contributor>
|
<em:contributor>Josh Greenberg</em:contributor>
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
<?xml version="1.0"?>
|
<?xml version="1.0"?>
|
||||||
<RDF:RDF xmlns:RDF="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
<RDF:RDF xmlns:RDF="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||||
xmlns="http://www.mozilla.org/2004/em-rdf#">
|
xmlns="http://www.mozilla.org/2004/em-rdf#">
|
||||||
<!-- Firefox Scholar Extension -->
|
<!-- Scholar for Firefox Extension -->
|
||||||
<RDF:Description about="urn:mozilla:extension:scholar@chnm.gmu.edu">
|
<RDF:Description about="urn:mozilla:extension:scholar@chnm.gmu.edu">
|
||||||
<updates>
|
<updates>
|
||||||
<RDF:Seq>
|
<RDF:Seq>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user