Differences

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

Link to this comparison view

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 zoedev:translators:coding [2023/08/04 01:14] (current) – [Search Translators] dstillman
Line 265: Line 265:
 </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 =====
dev/translators/coding.1689840674.txt.gz · Last modified: 2023/07/20 04:11 by zoe