Knowledge panels: Difference between revisions

From Open Food Facts wiki
No edit summary
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
== What should we do with the native Wikidata integration on Android ? ==
* Move the logic on the server, with caching, and let iOS and other apps benefit as well ?
* Blend the Wikidata info with our own
* System to add Wikidata IDs to categories, labels… (working as a special language, using the existing translation system ?)


== When should network calls be made ? ==
== When should network calls be made ? ==

Revision as of 09:07, 22 March 2021

The flexibility of a static page ?

What should we do with the native Wikidata integration on Android ?

  • Move the logic on the server, with caching, and let iOS and other apps benefit as well ?
  • Blend the Wikidata info with our own
  • System to add Wikidata IDs to categories, labels… (working as a special language, using the existing translation system ?)

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 iOS

Support for HTML embedding on Flutter