Validate against and attempt fixing of incorrectly formatted HTML5 ZIPs #4013
Labels
design: todo
Scoped and ready for design work to begin
DEV: frontend
P1 - important
Priority: High impact on UX
TAG: new feature
Background
Kolibri's HTML5 ZIPs need to be formatted a certain way, with an
index.html
file at the root of the ZIP, in order to render it. This can cause confusion for users who use consumer tools to create a ZIP file, which usually adds a parent directory within the ZIP.Desired behavior
index.html
file at the root of the ZIP at uploadindex.html
file at the root of the ZIP, but there is a single folder at the root which does, we should attempt to fix it by unzipping and re-zipping itCurrent behavior
No validation exists, but the preview does mention that it is missing the
index.html
Value add
Validation at time of upload will avoid headaches for users who go through the process of curating content, publishing a channel, importing it into Kolibri, only to find that the file doesn't work.
https://community.learningequality.org/t/kolibre-index-for-html/2783
The text was updated successfully, but these errors were encountered: