Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
dev:translators:functions [2015/01/03 07:29] – add some new functions and mark more functions deprecated zuphilipdev:translators:functions [2017/11/12 19:53] (current) – external edit 127.0.0.1
Line 1: Line 1:
 +<html><p id="zotero-5-update-warning" style="color: red; font-weight: bold">We’re
 +in the process of updating the documentation for
 +<a href="https://www.zotero.org/blog/zotero-5-0">Zotero 5.0</a>. Some documentation
 +may be outdated in the meantime. Thanks for your understanding.</p></html>
 +
 +
 ====== 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 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 general [[dev:translators:coding|Translator Coding documentation]], or the [[dev:translators|Translator overview]]. Others are rarely used-- search in the code of existing translators for usage guidance. 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 general [[dev:translators:coding|Translator Coding documentation]], or the [[dev:translators|Translator overview]]. Others are rarely used-- search in the code of existing translators for usage guidance.
Line 12: Line 18:
   * Zotero.getXML   * Zotero.getXML
   * Zotero.loadTranslator   * Zotero.loadTranslator
 +  * Zotero.monitorDOMChanges [[https://www.zotero.org/support/4.0_changelog#developer-specific_changesfixes12|NEW since 4.0]]
   * Zotero.nextCollection   * Zotero.nextCollection
   * Zotero.nextItem   * Zotero.nextItem
Line 45: Line 52:
   * Zotero.Utilities.processDocuments   * Zotero.Utilities.processDocuments
   * Zotero.Utilities.removeDiacritics [[dev:client_coding:changes_in_zotero_3.0#zuremovediacritics|NEW since 3.0]]   * Zotero.Utilities.removeDiacritics [[dev:client_coding:changes_in_zotero_3.0#zuremovediacritics|NEW since 3.0]]
-  * Zotero.Utilities.retrieveDocument +  * <del>Zotero.Utilities.retrieveDocument</del> [[dev:client_coding:changes_in_zotero_3.0#retrievesource_and_retrievedocument_are_unavailable|unavailable since 3.0]] 
-  * Zotero.Utilities.retrieveSource+  * <del>Zotero.Utilities.retrieveSource</del> [[dev:client_coding:changes_in_zotero_3.0#retrievesource_and_retrievedocument_are_unavailable|unavailable since 3.0]]
   * Zotero.Utilities.strToDate   * Zotero.Utilities.strToDate
 +  * Zotero.Utilities.strToISO
   * Zotero.Utilities.superCleanString   * Zotero.Utilities.superCleanString
-  * Zotero.Utilities.text+  * Zotero.Utilities.text2html
   * <del>Zotero.Utilities.trim</del> DEPRECATED use ".trim()" instead   * <del>Zotero.Utilities.trim</del> DEPRECATED use ".trim()" instead
   * Zotero.Utilities.trimInternal   * Zotero.Utilities.trimInternal
dev/translators/functions.1420288146.txt.gz · Last modified: 2015/01/03 07:29 by zuphilip