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/22 14:44] – simon | dev:client_coding:changes_in_zotero_3.0 [2017/11/27 05:13] (current) – Remove Zotero 5 warning bwiernik | ||
---|---|---|---|
Line 13: | Line 13: | ||
'' | '' | ||
==== ZoteroItemUpdated event ==== | ==== ZoteroItemUpdated event ==== | ||
- | Sites can now fire the '' | + | Sites can now fire the '' |
==== Modifying translators to run in the Zotero Connectors ==== | ==== Modifying translators to run in the Zotero Connectors ==== | ||
Line 42: | 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, | ||
- | ===== Extending | + | ===== Translator testing framework ===== |
+ | |||
+ | 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: | 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: | ||
Line 56: | 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# |
- | To install an add-on | + | Calls to '' |
+ | To install an add-on in Zotero Standalone, go to Tools-> | ||
===== Miscellaneous changes ===== | ===== Miscellaneous changes ===== | ||
==== Zotero.Translate itemSaving handler ==== | ==== Zotero.Translate itemSaving handler ==== | ||
- | There are now both '' | + | Zotero.Translate |
The '' | The '' |