Replies: 2 comments 2 replies
-
Here is what needs to be done: On openfoodfacts-webcomponents:
On openfoodfacts-server:
|
Beta Was this translation helpful? Give feedback.
-
If we want to allow others to publish KPs we should really ponder about any HTML being included in them, because that's a fairly easy way to conduct an XSS attack |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
We want to integrate an optional feature that will be brought to Open Food Facts users, in opt-in, and taken care by an external project: empreinte souffrance, that tries to bring an indicator about animal suffering, at first on eggs.
The idea is that Open Food Facts does not have to endorse the methodology but let this organization bring information to opt-in users.
This discussion is more to specify the technical solution.
They already build a service with an API that is able to return a knowledge panel for a given product.
The idea is to integrate this to Open Food Facts this way:
panels fetches the knowledge panels on their server and integrate the information into the page.
The external services available would be listed thanks to a json file served by the website. It enables integrating more services in the future.
This is a first experimentation requiring not too much code. The mobile app might also implement this feature.
Beta Was this translation helpful? Give feedback.
All reactions