Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/pbinkley/iiif-firefox-annotation-extract

Ruby script to extract Mirador-created annotations from Firefox local storage
https://github.com/pbinkley/iiif-firefox-annotation-extract

iiif minicomp

Last synced: about 2 months ago
JSON representation

Ruby script to extract Mirador-created annotations from Firefox local storage

Awesome Lists containing this project

README

        

# iiif-firefox-annotation-extract
Ruby script to extract Mirador-created annotations from Firefox local storage

To install: clone this repo and run ```bundle install```

To run:

- Create some annotations using Mirador in Firefox
- Discover your current Firefox profile directory by visiting ```about:profiles```. Set an environment variable ```FIREFOX_PROFILE``` containing the full path (ending with ```.default```)
- Run ```./extract-annotations.rb []```
- the canvasURI selector is the beginning of the uri for the canvases you're interested in
- the scope is the domain of the Mirador instance you used to make the annotations (default: ```projectmirador.org```)
- An annotation list is written to stdout