Differences

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

Link to this comparison view

Both sides previous revision Previous revision
dev:translators:coding [2019/09/30 00:18]
dstillman Change GitHub utilities.js link from 4.0 to master
dev:translators:coding [2020/03/12 01:59] (current)
dstillman [Writing Translator Code]
Line 3: Line 3:
 Below we will describe how the ''​detect*''​ and ''​do*''​ functions of Zotero [[dev/​translators]] can and should be coded. If you are unfamiliar with JavaScript, make sure to check out a [[https://​developer.mozilla.org/​en/​JavaScript/​A_re-introduction_to_JavaScript|JavaScript tutorial]] to get familiar with the syntax. In addition to the information on this page, it can often be very informative to look at existing translators to see how things are done. A [[https://​www.mediawiki.org/​wiki/​Citoid/​Creating_Zotero_translators|particularly helpful guide]] with up-to-date recommendation on best coding practices is provided by the wikimedia foundation, whose tool Citoid uses Zotero translators. Below we will describe how the ''​detect*''​ and ''​do*''​ functions of Zotero [[dev/​translators]] can and should be coded. If you are unfamiliar with JavaScript, make sure to check out a [[https://​developer.mozilla.org/​en/​JavaScript/​A_re-introduction_to_JavaScript|JavaScript tutorial]] to get familiar with the syntax. In addition to the information on this page, it can often be very informative to look at existing translators to see how things are done. A [[https://​www.mediawiki.org/​wiki/​Citoid/​Creating_Zotero_translators|particularly helpful guide]] with up-to-date recommendation on best coding practices is provided by the wikimedia foundation, whose tool Citoid uses Zotero translators.
  
-While translators can be written with any text editor, the Zotero add-on [[dev/​translators/​scaffold|Scaffold]] can make writing them much easier, as it provides the option to test and troubleshoot translators relatively quickly.+While translators can be written with any text editor, the built-in [[dev/​translators/​scaffold|Translator Editor]] can make writing them much easier, as it provides the option to test and troubleshoot translators relatively quickly.
  
  
dev/translators/coding.1569817136.txt.gz ยท Last modified: 2019/09/30 00:18 by dstillman