You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Allow the creation of a wrapper app that would allow user to access and download content pieces.
Zim2Xapi tasks:
a) For any branch or topic generate an [OPDS](https://opds.io] xml (non-paginated) e.g.
/index.opds
/topic1/index.opds (branch)
/topic1/lesson/index.opds (topic)
We would need to support recursive branch export (e.g. scraping).
By default - when exporting recursively, use a shared assets directory and update generated HTML accordingly (e.g. if we have /topic1/lesson/index.html it would use assets from ../../assets/perseus-etc/) .
b) For each topic (e.g. exercise of video - which would be downloadable in app) - generate a text file containing a list of all files within as a relative path (e.g. manifest)
Task Details
share-assets Flag:
Type: Boolean.
Function: When enabled, the assets folder will use a relative link (e.g., ../../.../shared-assets/assets) instead of duplicating assets.
OPDS Handling:
Navigation OPDS: Generated for branches (topics).
Acquisition OPDS: Generated for exercises/videos. Will be included in the zip
XAPI File Creation:
When a user decides to download an exercise:
If share-assets is enabled, the XAPI file (xapi-content.zip) will not be created.
manifest.txt Updates:
The manifest.txt should include references to assets with their relative paths (e.g., ../../.../shared-assets/assets).
TBD:
For an exercise's index.opds, determine the appropriate acquisition link:
Should it point to:
index.html, tincan.xml, manifest.txt
Use case:
Allow the creation of a wrapper app that would allow user to access and download content pieces.
Zim2Xapi tasks:
a) For any branch or topic generate an [OPDS](https://opds.io] xml (non-paginated) e.g.
We would need to support recursive branch export (e.g. scraping).
By default - when exporting recursively, use a shared assets directory and update generated HTML accordingly (e.g. if we have
/topic1/lesson/index.html
it would use assets from../../assets/perseus-etc/
) .b) For each topic (e.g. exercise of video - which would be downloadable in app) - generate a text file containing a list of all files within as a relative path (e.g. manifest)
The link to this manifest should be added as a
<link rel='tobedetermined' href='manifest.txt'/>
and possibly should also be added to the opds.c) When Zim2Xapi exports a Khan Academy video - this should not include extra javascript libraries (eg. no assets folder).
Wrapper app tasks:
Offline support:
The text was updated successfully, but these errors were encountered: