1.5.1
Whats Changed
🏕 Features
EULA Support
- This adds a feature which allows there to be a EULA that the user must accept before uploading and documents to the library.
- If the ENV variable
PUBLIC_EULA_URL
is set, then the Accept EULA modal is displayed if the user has not yet accepted and tries to upload a document.
- If the ENV variable
The user can choose to read the EULA and accept. If they do not accept, no upload is allowed. You only need to accept once.
New Plugin Framework
- Adds a new Recogito SDK which simplifies and improves the development and deployment of Recogito Studio plugins.
W3C Annotation Export
Implements annotation export in W3C Web Annotation format. Comment & reply bodies are converted from Quill to HTML. Export is implemented for all supported export permutations: project vs. context, all annotations vs. specific document only, public annotations only vs. public and private.
Annotation targets are crosswalked as follows:
- Image target: either FragmentSelector (with
xywh
argument) or SvgSelector, for rectangles or polygons, respectively. - Plaintext target:
- TextPositionSelector for character offsets.
- TextQuoteSelector for annotated text snippet.
- TEI target:
- RangeSelector with XPathSelector for start and end position.
- TextQuoteSelector.
- PDF target:
- FragmentSelector with
page
andviewrect
arguments. - TextPositionSelector for character offsets in the page.
- TextQuoteSelector.
- FragmentSelector with
Note that the target crosswalks are implemented in the relevant base libraries: @annotorious/annotorious
, @recogito/text-annotator
, @recogito/text-annotator-tei
, @recogito/pdf-annotator
.
IIIF Manifest Export
Implements functionality for exporting a derivative IIIF Presentation Manifest for an imported manifest. The derivate manifest is a copy of the original manifest, but with additional annotation pages inserted into the Canvas
objects.
- Comment & reply bodies are converted from Quill to HTML.
- Image targets are converted to either a FragmentSelector (rectangle) or an SvgSelector (polygon).