Changes

Jump to navigation Jump to search
258 bytes added ,  14:01, 27 October 2016
Line 1,415: Line 1,415:  
** ingredients_text_fr, ingredients_text_nl… (the package of a product may be multilingual)
 
** ingredients_text_fr, ingredients_text_nl… (the package of a product may be multilingual)
 
** ingredients_text_with_allergens_fr (same with HTML markup around allergens)
 
** ingredients_text_with_allergens_fr (same with HTML markup around allergens)
* This list is parsed and we construct an '''ingredients_tags''' list, but those will contain synonyms etc. We do not have a full taxonomy for ingredients yet. It's a work in progress.
+
* This list is parsed and we construct an '''ingredients''' and '''ingredients_tags''' list, but those will contain synonyms etc. We do not have a full taxonomy for ingredients yet. It's a work in progress.
 +
** ingredients
 +
*** percent: possible detected percentage (still unreliable)
 +
*** rank: the order of the ingredient in the ingredient list
 +
*** id: a slug version of the detected ingredient
 +
*** text: the raw text of the detected ingredient
 
** ingredients_tags
 
** ingredients_tags
 
* The ingredients are not yet taxonomized on [http://world.openfoodfacts.org Open Food Facts]. They are taxonomized on [http://world.openbeautyfacts.org Open Beauty Facts]
 
* The ingredients are not yet taxonomized on [http://world.openfoodfacts.org Open Food Facts]. They are taxonomized on [http://world.openbeautyfacts.org Open Beauty Facts]
Line 1,489: Line 1,494:  
======Getting suggestions for allergens ======
 
======Getting suggestions for allergens ======
 
* http://world.openfoodfacts.org/cgi/suggest.pl?lc=fr&tagtype=allergens&string=a
 
* http://world.openfoodfacts.org/cgi/suggest.pl?lc=fr&tagtype=allergens&string=a
      
==== Nutrition values ====
 
==== Nutrition values ====

Navigation menu