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.
- /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)
assets/perseus/script.js
assets/perseus/style.css
topicid/index.html
...
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:
- Download/index OPDS feeds into local db.
- OpdsList screen - show list of entries in feed (e.g. /index.opds, /topic/index.opds, etc)
- Topics can be opened in webview (HTML) or video player (for videos - e.g. using ExoPlayer)
Offline support:
- Downloading in app would be done by passing the manifest list for the lesson selected by the user to the cache library
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.htmlit 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: