i.e. sort of like the workflow we talked about using hypothes.is
workflow:
- click button "annotate mode"
- create/edit some annotations displayed in recogito style mode
- click "download annotations" button
- js creates a CSV of annotations with id, text, text position start and end
- the CSV can be added to project annotation CSV, which is then used to generate annotations on the live public page
uses r.getAnnotations(),
transforms the objects into csv-like form,
download as file using something like filesaver.js
advantages: this gets us the sort of detailed markup annotation, with built in method to create/edit (without a database), with the data necessary to create a detailed highlight for the annotation (i.e. start/end character numbers).
disadvantage: sort of odd work around workflow? (but maybe not as odd as trying to fit detailed annotation into a csv line by line)