Simon-Initiative / course-digest

Tool to produce a summary or digest of OLI course package contents
MIT License
2 stars 0 forks source link

process non-direct referenced webcontent files #18

Closed rgachuhi closed 2 years ago

rgachuhi commented 2 years ago

Some of the supporting webcontent files have non-standard references with activities, especially custom activities. Those are currently being ignored by the course-digest. The PR resolves this by appending all other webcontent files to the media-manifest.json

rgachuhi commented 2 years ago

I am not sure how we handle these kinds of references other than inspecting each webcontent file to search for and replace these relative paths. Not sure how many webcontent files use standard file reference forms such as src, source etc. Could we simply defer handling these cases after course injection in torus? I.e. fix those activities that fail to work as part of package QA