72
edits
Line 49: | Line 49: | ||
=== Data display === | === Data display === | ||
The OFF web site, and apps, should only use these OFF | The OFF web site, and apps, should only use these OFF processed fields to display the nutrition data: | ||
* nutrient- | * <code>{nutrient-id}_100g</code> or <code>{nutrient-id}_serving</code> (depending on the value of nutrition_data_per): value in g or in kJ. The values are passed as float/double??? | ||
* nutrient- | * <code>{nutrient-id}_value</code>: to show the original entered/passed data (useful for characters as "<" or "~"). | ||
The web site and apps must: | The web site and apps '''must''': | ||
* | * Indicate if the nutrition facts are per 100g or per serving. | ||
* | * Convert the value in g or in kJ to the desired unit. | ||
Notes: | Notes: |
edits