Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
dev:client_coding:changes_in_zotero_3.0 [2011/08/21 04:52] – [Zotero connectors require changes to translator code] simon | dev:client_coding:changes_in_zotero_3.0 [2017/11/27 05:13] (current) – Remove Zotero 5 warning bwiernik | ||
---|---|---|---|
Line 4: | Line 4: | ||
==== Zotero.done() and Zotero.wait() are deprecated ==== | ==== Zotero.done() and Zotero.wait() are deprecated ==== | ||
- | * Calling Zotero.done() and Zotero.wait() during translation is no longer necessary. Zotero.done() is still used to indicate item type in translators that implement asynchronous detection (currently only unAPI). | + | Calling |
+ | |||
+ | ==== Customizable attachment export ==== | ||
+ | When the '' | ||
+ | |||
+ | ==== ZU.removeDiacritics() ==== | ||
+ | |||
+ | '' | ||
+ | ==== ZoteroItemUpdated event ==== | ||
+ | Sites can now fire the '' | ||
==== Modifying translators to run in the Zotero Connectors ==== | ==== Modifying translators to run in the Zotero Connectors ==== | ||
Line 33: | Line 42: | ||
Zotero.selectItems() should now be called with a callback function as an argument, which will receive the list of selected items when it is available. Translators may still use Zotero.selectItems() synchronously, | Zotero.selectItems() should now be called with a callback function as an argument, which will receive the list of selected items when it is available. Translators may still use Zotero.selectItems() synchronously, | ||
- | ===== Making add-ons for Zotero Standalone | + | ===== Translator testing framework |
- | It is possible to create add-ons for Zotero Standalone just as one would create add-ons for Firefox. To do so, simply | + | Zotero 3.0 contains a translator testing framework, used by Scaffold 3.0. You can also run available translator tests in batch mode by accessing the translator tester page. In Firefox, this page is available in the standard extension at: |
+ | |||
+ | < | ||
+ | |||
+ | In Chrome and Safari, the translator tester is accessible from the Advanced pane of the preferences in [[/ | ||
+ | |||
+ | ===== Add-on support in Zotero Standalone ===== | ||
+ | |||
+ | It is possible to create add-ons for Zotero Standalone just as one would create add-ons for Firefox. To do so, create a Firefox extension, but add the following lines to install.rdf: | ||
<code xml> | <code xml> | ||
Line 47: | Line 64: | ||
</ | </ | ||
- | where minVersion is the lowest Zotero Standalone version you have tested with, and maxVersion is the maximum version you can reasonably expect your add-on to work with. For add-ons that overlay [[changes_in_zotero_2.1# | + | where minVersion is the lowest Zotero Standalone version you have tested with, and maxVersion is the maximum version you can reasonably expect your add-on to work with. For add-ons that overlay [[changes_in_zotero_2.1# |
+ | |||
+ | Calls to '' | ||
To install an add-on in Zotero Standalone, go to Tools-> | To install an add-on in Zotero Standalone, go to Tools-> | ||
+ | ===== Miscellaneous changes ===== | ||
+ | |||
+ | ==== Zotero.Translate itemSaving handler ==== | ||
+ | Zotero.Translate now fires both '' | ||
+ | |||
+ | The '' | ||
+ | |||
+ | The '' | ||
+ | |||
+ | ==== getNotes(), getAttachments, | ||
+ | Zotero.Item.getNotes(), |