Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |
dev:translators:coding [2023/07/20 04:11] – [Saving Single Items] mention the API function querySelector/querySelectorAll, and all these selector-based functions are peferred to XPath zoe | dev:translators:coding [2023/08/04 01:14] (current) – [Search Translators] dstillman |
---|
</code> | </code> |
| |
''doSearch'' should augment the provided item with additional information and call ''item.complete()'' when done. Since search translators are never called directly, but only by other translators or by the [[:getting_stuff_into_your_library#add_item_by_identifier|Add Item by Identifier]] (magic wand) function, it is common for the information to be further processed an [[#calling_other_translators|''itemDone'' handler]] specified in the calling translator. | ''doSearch'' should augment the provided item with additional information and call ''item.complete()'' when done. Since search translators are never called directly, but only by other translators or by the [[:adding_items_to_zotero#add_item_by_identifier|Add Item by Identifier]] (magic wand) function, it is common for the information to be further processed an [[#calling_other_translators|''itemDone'' handler]] specified in the calling translator. |
====== Further Reference ====== | ====== Further Reference ====== |
===== Utility Functions ===== | ===== Utility Functions ===== |