Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
dev:translators:functions [2015/01/02 17:17] – Add ZU.removeDiacritics zuphilip | dev:translators:functions [2017/11/12 19:53] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | < | ||
+ | in the process of updating the documentation for | ||
+ | <a href=" | ||
+ | may be outdated in the meantime. Thanks for your understanding.</ | ||
+ | |||
+ | |||
====== Functions and objects in the translator sandbox ====== | ====== Functions and objects in the translator sandbox ====== | ||
This is a list of the functions and objects exposed to translators running in the sandbox. As it was generated from the existing translators, | This is a list of the functions and objects exposed to translators running in the sandbox. As it was generated from the existing translators, | ||
Line 8: | Line 14: | ||
=== Functions === | === Functions === | ||
* Zotero.debug | * Zotero.debug | ||
- | * < | + | * < |
* Zotero.getOption | * Zotero.getOption | ||
* Zotero.getXML | * Zotero.getXML | ||
* Zotero.loadTranslator | * Zotero.loadTranslator | ||
+ | * Zotero.monitorDOMChanges [[https:// | ||
* Zotero.nextCollection | * Zotero.nextCollection | ||
* Zotero.nextItem | * Zotero.nextItem | ||
Line 18: | Line 25: | ||
* Zotero.setCharacterSet | * Zotero.setCharacterSet | ||
* Zotero.setProgress | * Zotero.setProgress | ||
- | * < | + | * < |
* Zotero.write | * Zotero.write | ||
Line 44: | Line 51: | ||
* Zotero.Utilities.processAsync | * Zotero.Utilities.processAsync | ||
* Zotero.Utilities.processDocuments | * Zotero.Utilities.processDocuments | ||
- | * Zotero.Utilities.removeDiacritics [[dev: | + | * Zotero.Utilities.removeDiacritics [[dev: |
- | * Zotero.Utilities.retrieveDocument | + | * <del>Zotero.Utilities.retrieveDocument</ |
- | * Zotero.Utilities.retrieveSource | + | * <del>Zotero.Utilities.retrieveSource</ |
* Zotero.Utilities.strToDate | * Zotero.Utilities.strToDate | ||
+ | * Zotero.Utilities.strToISO | ||
* Zotero.Utilities.superCleanString | * Zotero.Utilities.superCleanString | ||
- | * Zotero.Utilities.text | + | * Zotero.Utilities.text2html |
* < | * < | ||
* Zotero.Utilities.trimInternal | * Zotero.Utilities.trimInternal | ||
* Zotero.Utilities.unescapeHTML | * Zotero.Utilities.unescapeHTML | ||
+ | * Zotero.Utilities.xpath [[dev: | ||
+ | * Zotero.Utilities.xpathText [[dev: | ||
The utility functions are defined in [[https:// | The utility functions are defined in [[https:// | ||
Line 60: | Line 70: | ||
* Zotero.RDF.addStatement | * Zotero.RDF.addStatement | ||
* Zotero.RDF.getAllResources | * Zotero.RDF.getAllResources | ||
- | * Zotero.RDF.getArcsIn | + | * <del>Zotero.RDF.getArcsIn</ |
- | * Zotero.RDF.getArcsOut | + | * <del>Zotero.RDF.getArcsOut</ |
* Zotero.RDF.getContainerElements | * Zotero.RDF.getContainerElements | ||
* Zotero.RDF.getResourceURI | * Zotero.RDF.getResourceURI | ||
- | * Zotero.RDF.getSources | + | * <del>Zotero.RDF.getSources</ |
* Zotero.RDF.getStatementsMatching | * Zotero.RDF.getStatementsMatching | ||
- | * Zotero.RDF.getTargets | + | * <del>Zotero.RDF.getTargets</ |
* Zotero.RDF.newContainer | * Zotero.RDF.newContainer | ||
* Zotero.RDF.newResource | * Zotero.RDF.newResource |