Difference between revisions of "Knowledge panels"
Jump to navigation
Jump to search
Line 5: | Line 5: | ||
* https://fr.openfoodfacts.org/knol/label/organic?nochrome=1 | * https://fr.openfoodfacts.org/knol/label/organic?nochrome=1 | ||
* Would allow to display them on the web as well | * Would allow to display them on the web as well | ||
+ | |||
+ | == When should network calls be made ? == | ||
+ | * The apps would attempt to call all labels at setup, and then refresh on some heuristic | ||
+ | * On demand call when clicking on an attribute or a label | ||
== Support for HTML embedding on Android == | == Support for HTML embedding on Android == |
Revision as of 09:04, 22 March 2021
The flexibility of a static page ?
- Use the same system as for static pages, with much more Q&A ?
- Add a mode to get the raw file without the Product Opener UI
- https://fr.openfoodfacts.org/nutriscore?nochrome=1
- https://fr.openfoodfacts.org/knol/label/organic?nochrome=1
- Would allow to display them on the web as well
When should network calls be made ?
- The apps would attempt to call all labels at setup, and then refresh on some heuristic
- On demand call when clicking on an attribute or a label
Support for HTML embedding on Android
- https://stackoverflow.com/questions/2116162/how-to-display-html-in-textview
- https://github.com/openfoodfacts/openfoodfacts-androidapp/issues/2205
- https://github.com/openfoodfacts/openfoodfacts-androidapp/pull/2208
- Authorized HTML tags
- Support for images (svg, png)
- Support for webviews
Support for HTML embedding on iOS
- https://github.com/openfoodfacts/openfoodfacts-ios/pull/192/files
- Authorized HTML tags
- Support for images (svg, png)
- Support for webviews