Skip to content

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

License

Notifications You must be signed in to change notification settings

pbinkley/iiif-firefox-annotation-extract

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 <canvasURI selector> [<scope>]
    • 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

About

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

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages