openfoodfacts-server icon indicating copy to clipboard operation
openfoodfacts-server copied to clipboard

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

Open teolemon opened this issue 5 years ago • 3 comments

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

  • #5493
  • #5517

teolemon avatar Oct 07 '19 07:10 teolemon

Which JSON-API should return this content?

hangy avatar Oct 07 '19 12:10 hangy

  • Same as #2776 which is a bit more detailed.

stephanegigandet avatar Mar 24 '20 18:03 stephanegigandet

Stale issue message

github-actions[bot] avatar Jul 07 '20 01:07 github-actions[bot]