Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | Next revisionBoth sides next revision |
dev:translators [2017/11/22 11:31] – Remove Zotero 5 warning bwiernik | dev:translators [2017/11/27 05:10] – [Translator Structure] bwiernik |
---|
| |
* **[[dev:translators:coding#web_translators|Web translators]]** | * **[[dev:translators:coding#web_translators|Web translators]]** |
* //detectWeb// \\ After a web translator has been selected based by its matching target and its priority ranking, ''detectWeb'' is run to determine whether item metadata can indeed be retrieved from the webpage. Should return the detected item type (e.g. "journalArticle", see the [[http://gsl-nagoya-u.net/http/pub/csl-fields/index.html|overview of Zotero item types]]), or, if multiple items are found, "multiple". If ''detectWeb'' does not return a value, the translator with the next-highest priority is selected, until all translators with a matching target have been exhausted. | * //detectWeb// \\ After a web translator has been selected based by its matching target and its priority ranking, ''detectWeb'' is run to determine whether item metadata can indeed be retrieved from the webpage. Should return the detected item type (e.g. "journalArticle", see the [[https://aurimasv.github.io/z2csl/typeMap.xml|overview of Zotero item types]]), or, if multiple items are found, "multiple". If ''detectWeb'' does not return a value, the translator with the next-highest priority is selected, until all translators with a matching target have been exhausted. |
* //doWeb// \\ Performs the actual item metadata retrieval. | * //doWeb// \\ Performs the actual item metadata retrieval. |
* **[[dev:translators:coding#import_translators|Import translators]]** | * **[[dev:translators:coding#import_translators|Import translators]]** |