Differences

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

Link to this comparison view

Next revision
Previous revision
Next revisionBoth sides next revision
dev:translators:priority [2014/12/08 17:04] – created zuphilipdev:translators:priority [2014/12/09 06:37] – add sentences for other translator types zuphilip
Line 1: Line 1:
-The priority for a [[https://www.zotero.org/support/dev/translators/coding#web_translators|web translator]] should be choosend according to rules:+The priority for a [[https://www.zotero.org/support/dev/translators/coding#web_translators|web translator]] should be chosen according to the following guidelines:
  
   * 100 = specific journal/website (target should be a specific domain)   * 100 = specific journal/website (target should be a specific domain)
   * 150 = multi-journal sites with different subdomains, but all journals would look practically the same   * 150 = multi-journal sites with different subdomains, but all journals would look practically the same
   * 200 = multi-journal sites with different subdomains and some journals may have somewhat different layout   * 200 = multi-journal sites with different subdomains and some journals may have somewhat different layout
-  * 250 = CMS/Library Catalog with no specific domain, but either a very unique URL or unique checks in detectWeb (for all possible detection options). I.e. unlikely to be a false-positive+  * 250 = CMS/Library Catalog with no specific domain, but either a very unique URL or unique checks in detectWeb (for all possible detection options). i.e. unlikely to be a false-positive
   * 260 = CMS/Library Catalog with no specific domain, but somewhat unique detectWeb checks (mostly URL-based checks).   * 260 = CMS/Library Catalog with no specific domain, but somewhat unique detectWeb checks (mostly URL-based checks).
   * 270 = CMS/Library Catalog with no specific domain and rather generic URL checks (conceivably, could be a false-positive)   * 270 = CMS/Library Catalog with no specific domain and rather generic URL checks (conceivably, could be a false-positive)
-  * 300+ = Translators to be run on every page in order of metadata quality+  * 300+ = Translators to be run on every page. Priority numbers should be in order of metadata quality.
  
 (see [[https://github.com/aurimasv/translators/commit/5b4ef451a9c3c14fa9b2b8d5bce37a8bf7c1a3f2]] for more information) (see [[https://github.com/aurimasv/translators/commit/5b4ef451a9c3c14fa9b2b8d5bce37a8bf7c1a3f2]] for more information)
 +
 +Moreover, the priority is very important for [[https://www.zotero.org/support/dev/translators/coding#search_translators|search translators]] if we have multiple translators for and identifyer (e.g. ISBN or doi). It's somewhat relevant for [[https://www.zotero.org/support/dev/translators/coding#import_translators|import translators]] - especially the various RDF versions which need to be run in the right order. It doesn't apply to export at all.
dev/translators/priority.txt · Last modified: 2017/12/07 13:34 by bwiernik