This is an old revision of the document!


When writing translators, using the debug console is essential. Any output from the translator can be dumped to the debug console using

Zotero.Utilities.debug("hello world!");

The functions Zotero.Utilities.HTTP.doGet and Zotero.Utilities.processDocuments run asynchronously. In order to allow them to complete before moving along, follow either function with Zotero.wait() and include Zotero.done() as the onDone in order to signal the translator that it has completed its asynchronous operations.

dev/translator_best_practices.1226399921.txt.gz ยท Last modified: 2008/11/11 05:38 by jonlesser