We're in the process of updating the documentation for188BET靠谱吗Zotero 5.0.Some documentation may be outdated in the meantime.Thanks for your understanding.

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 list is probably not complete, and some of the functions may be deprecated or unavailable in certain types of translators.Most of the below are described in the generalTranslator Coding documentation, or theTranslator overview.Others are rarely used– search in the code of existing translators for usage guidance.

Objects

  • 188BET靠谱吗Zotero.Collection
  • 188BET靠谱吗Zotero.Item

Functions

  • 188BET靠谱吗Zotero.debug
  • 188BET靠谱吗Zotero.done DEPRECATED since 3.0
  • 188BET靠谱吗Zotero.getOption
  • 188BET靠谱吗Zotero.getXML
  • 188BET靠谱吗Zotero.loadTranslator
  • 188BET靠谱吗Zotero.monitorDOMChanges NEW since 4.0
  • 188BET靠谱吗Zotero.nextCollection
  • 188BET靠谱吗Zotero.nextItem
  • 188BET靠谱吗Zotero.read
  • 188BET靠谱吗Zotero.selectItems
  • 188BET靠谱吗Zotero.setCharacterSet
  • 188BET靠谱吗Zotero.setProgress
  • 188BET靠谱吗Zotero.wait DEPRECATED since 3.0
  • 188BET靠谱吗Zotero.write

Utility functions

  • 188BET靠谱吗Zotero.Utilities.capitalizeTitle
  • 188BET靠谱吗Zotero.Utilities.cleanAuthor
  • 188BET靠谱吗Zotero.Utilities.cleanTags
  • 188BET靠谱吗Zotero.Utilities.createContextObject
  • 188BET靠谱吗Zotero.Utilities.doGet
  • 188BET靠谱吗Zotero.Utilities.doPost
  • 188BET靠谱吗Zotero.Utilities.formatDate
  • 188BET靠谱吗Zotero.Utilities.gatherElementsOnXPath
  • 188BET靠谱吗Zotero.Utilities.getCreatorsForType
  • 188BET靠谱吗Zotero.Utilities.getItemArray
  • 188BET靠谱吗Zotero.Utilities.getLocalizedCreatorType
  • 188BET靠谱吗Zotero.Utilities.getPageRange
  • 188BET靠谱吗Zotero.Utilities.getVersion
  • 188BET靠谱吗Zotero.Utilities.htmlSpecialChars
  • 188BET靠谱吗Zotero.Utilities.HTTP.doGet
  • 188BET靠谱吗Zotero.Utilities.HTTP.doPost
  • 188BET靠谱吗Zotero.Utilities.itemTypeExists
  • 188BET靠谱吗Zotero.Utilities.loadDocument
  • 188BET靠谱吗Zotero.Utilities.lpad
  • 188BET靠谱吗Zotero.Utilities.parseContextObject
  • 188BET靠谱吗Zotero.Utilities.processAsync
  • 188BET靠谱吗Zotero.Utilities.processDocuments
  • 188BET靠谱吗Zotero.Utilities.removeDiacritics NEW since 3.0
  • 188BET靠谱吗Zotero.Utilities.retrieveDocument unavailable since 3.0
  • 188BET靠谱吗Zotero.Utilities.retrieveSource unavailable since 3.0
  • 188BET靠谱吗Zotero.Utilities.strToDate
  • 188BET靠谱吗Zotero.Utilities.strToISO
  • 188BET靠谱吗Zotero.Utilities.superCleanString
  • 188BET靠谱吗Zotero.Utilities.text2html
  • 188BET靠谱吗Zotero.Utilities.trimDEPRECATED use ".trim()" instead
  • 188BET靠谱吗Zotero.Utilities.trimInternal
  • 188BET靠谱吗Zotero.Utilities.unescapeHTML
  • 188BET靠谱吗Zotero.Utilities.xpath NEW since 2.1
  • 188BET靠谱吗Zotero.Utilities.xpathText NEW since 2.1

The utility functions are defined inutilities.js.

RDF functions

  • 188BET靠谱吗Zotero.RDF.addContainerElement
  • 188BET靠谱吗Zotero.RDF.addNamespace
  • 188BET靠谱吗Zotero.RDF.addStatement
  • 188BET靠谱吗Zotero.RDF.getAllResources
  • 188BET靠谱吗Zotero.RDF.getArcsInDEPRECATED since 2.1, use Z.RDF.getStatementsMatching(undefined, undefined, .)
  • 188BET靠谱吗Zotero.RDF.getArcsOutDEPRECATED since 2.1, use Z.RDF.getStatementsMatching(., undefined, undefined)
  • 188BET靠谱吗Zotero.RDF.getContainerElements
  • 188BET靠谱吗Zotero.RDF.getResourceURI
  • 188BET靠谱吗Zotero.RDF.getSourcesDEPRECATED since 2.1, use Z.RDF.getStatementsMatching(undefined, ., .)
  • 188BET靠谱吗Zotero.RDF.getStatementsMatching
  • 188BET靠谱吗Zotero.RDF.getTargetsDEPRECATED since 2.1, use Z.RDF.getStatementsMatching(., ., undefined)
  • 188BET靠谱吗Zotero.RDF.newContainer
  • 188BET靠谱吗Zotero.RDF.newResource

The RDF functions are defined intranslator.js.

XML objects

  • DOMParser
  • XML
dev/translators/functions.txt· Last modified: 2017/11/12 19:53 by 127.0.0.1
Baidu
map