openfoodfacts / openfoodfacts-server

Open Food Facts database, API server and web interface - 🐪🦋 Perl, CSS and JS coders welcome 😊 For helping in Python, see Robotoff or taxonomy-editor
GNU Affero General Public License v3.0
611 stars 357 forks source link

Knowledge panel - Send back a miniature explanation of Nutri-Score and NOVA as JSON #2408

Open teolemon opened 4 years ago

teolemon commented 4 years ago

Who for

What

Something like that. Ideally, it would be able to use content pages, and turn them to JSON, so that we can scale the thing to many languages and many pages.

{
  "string": "The Nutri-Score is a logo that shows the nutritional quality of food products with A to E grades.</p><p>With the NutriScore, products can be easily and quickly compared.</p><h2>How is Nutri-Score computed?</h2><p>The Nutri-Score grade is determined by the amount of healthy and unhealthy nutrients:</p><ul><li>(+) the proportion of fruits, vegetables and nuts, fibers and proteins (high levels are good for health).</li><li>(-) energy, saturated fat, sugars, sodium (high levels are unhealthy)</li></ul><h2>Who created the Nutri-Score?</h2><p>Nutri-Score has been created by EREN, a French public nutrition research team, led by Professor Serge Hercberg. lt is based on the FSA nutritional score created by the Food Standards Agency in the UK</p>"
}

Why

Part of

hangy commented 4 years ago

Which JSON-API should return this content?

stephanegigandet commented 4 years ago
github-actions[bot] commented 4 years ago

Stale issue message