Changes

Jump to navigation Jump to search
added link to Global_taxonomies
Line 1: Line 1:  
[[Project:ProductOpener]] > [[Product Opener documentation]]
 
[[Project:ProductOpener]] > [[Product Opener documentation]]
 
+
[[Category:ProductOpener]]
 +
[[Category:Global Taxonomies]]
 
== Introduction ==  
 
== Introduction ==  
   −
Global taxonomies are used in Product Opener to "tag" products. For instance Open Food Facts uses taxonomies for categories, countries, labels, additives etc.
+
[[Global taxonomies]] are used in Product Opener to "tag" products. For instance Open Food Facts uses taxonomies for categories, countries, labels, additives etc.
    
The taxonomies are multilingual (each tag value can have translations in different languages) and hierarchical (tags have parents, and applying a tag to a product also applies the parent tags).
 
The taxonomies are multilingual (each tag value can have translations in different languages) and hierarchical (tags have parents, and applying a tag to a product also applies the parent tags).
Line 64: Line 65:     
You should review the resulting txt to make sure unwanted synonyms or relations were not created.
 
You should review the resulting txt to make sure unwanted synonyms or relations were not created.
 +
 +
===== empty names : =====
 +
 +
An empty name " : " indicates there is an error in the taxonomy source file, usually a non-existing entry was entered as the parent.
 +
 +
<pre>
 +
< :
 +
< en:Wheat flours
 +
en:Wheat malt flours
 +
es:Harinas de trigo malteadas, Harinas de malta de trigo
 +
fr:Farines de malt de blé
 +
</pre>
 +
 +
Check the source file to see which entry is wrong:
 +
 +
<pre>
 +
<en:Wheat flours
 +
<fr:Malt flours
 +
en:Wheat malt flours
 +
es:Harinas de trigo malteadas, Harinas de malta de trigo
 +
fr:Farines de malt de blé
 +
</pre>
 +
 +
Here "fr:Malt flours" is non existing (and should be "en:Malt flours").
 +
 +
Note: the build_tags_taxonomy.pl script has been updated to report those errors.
    
==== Publishing ====
 
==== Publishing ====
199

edits

Navigation menu