recogito_integration
Incorporates the Recogito JS library into web pages for easy creation and tagging of textual annotations. Further support is provided for Image Annotation (annotorious) using the Open Sea Dragon viewer.
This project is sponsored by the University of Toronto Scarborough Library's Digital Scholarship Unit.
Features
- Annotate text in Drupal entities
- Annotation images using Open Sea Dragon
- Integration with Drupal roles and permissions
- Control appearance of text-based annotations
- Annotation tagging integration with Taxonomy
- Storage of annotation data as Drupal nodes
- Configurable location of text that may be annotated
- Creating, Reading, Updating, & Deleting Permissions
- Storage of tags as Drupal taxonomy terms & ability to autocomplete from a vocabulary
Configuration
Upon installation, visit the module's configuration form at /admin/config/development/recogito_integration. Locate the html tag that contains page content you wish to annotate (This tag depends on your site). Set the DOM element type and name accordingly - for example, to enable annotation for all site content within a div with class "content", set element type to "class" and element name to "content". To enable the storage of annotation tags as Drupal taxonomy terms, set the annotation vocabulary name to the name of a site vocabulary.
Caveats
If you change the text that you are annotating, the position of annotations will not behave as expected. Text edits should be kept to a minimum to preserve positioning of annotations. To avoid this issue, ensure that annotations are created on content that is not actively updated.
Additionally, it is possible for the locations of annotations to spontaneously change due to differences in the DOM between page reloads. The occurrence of this issue can be minimized by choosing a target element (see Configuration section) that contains as little external elements (elements other than text) as possible.
If using the taxonomy term storage feature, be aware that terms in the specified vocabulary that are not actual tags belonging to any annotation will be deleted - ensure to create an empty vocabulary for this feature.