sciencefair
sciencefair copied to clipboard
Add ability to open arbitrary JATS XML documents in the reader
It would be cool to be able to point the reader at an arbitrary JATS XML document and have it open in the reader.
This will often not work cleanly because JATS is highly variable, some files have absolute URLs to resources like images, some local paths etc.
So perhaps a 3-stage thing:
- analyse the XML
- if necessary, create a bundle of transformed XML and assets, putting it somewhere local
- open in viewer
The document could be added to the local collection if a coherent metadata object can be extracted from the JATS too.
This could solve a lot of licensing issues that prevent us making official datasources. The datasource could point to the url, resources, and proper ingestion module for each paper, as well as a hash for the generated bundle, then pull them in on the fly when the user requests, including looking for the hash in the network. This way we aren't distributing the content.