Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Menu Definition Types RFC #10

Open
tim-moody opened this issue Oct 18, 2018 · 1 comment
Open

Menu Definition Types RFC #10

tim-moody opened this issue Oct 18, 2018 · 1 comment

Comments

@tim-moody
Copy link
Contributor

Different types of menu defs are distinguished by the value of the intended_use property. The property name was selected to be in sync with Kiwix and the agreements regarding metadata, though I'm not sure anyone else uses it. The list of types has evolved and could now be extended and rationalized.

The purpose of this field to to tell the dynamic menuing system how to generated the link, so we need a unique value for each unique rule. The intention is to describe navigation in a generic way that holds true across deployments or at least those that follow our conventions.

Current Improved Meaning
html module Content served by the web server and residing in the modules directory
webroot webroot or app Content served by the web server, but in its own directory
info info No link, just text and icon
zim kiwix A zim file served by kiwix-serve
kalite kalite Content served by kalite-serve
calibre calibre Content served by Calibre
osm osm The original iiab osm module. Probably could be handled by webroot.
Possible Additions
NA download apks, other software

We could also introduce a sub type, such that kiwix, kalite, etc are all 'service' with the name of the service as a sub type, but it adds complexity to both the json (for an editor) and the javascript (for a developer).

@holta
Copy link
Member

holta commented Oct 18, 2018

Here are 22 common requested URL's on IIAB devices in a somewhat similar table:

http://wiki.laptop.org/go/IIAB/FAQ#What_can_I_do_with_E-books_and_Internet-in-a-Box.3F

Others such as http://box/lokole and http://box/gitea should likely be added.

Can we to try categorize all 22+ of these, within the above 7-or-so categories, making it crystal clear to new implementers how to proceed in each case?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants