This repository contains scripts for converting and displaying data in the 'Open Data Research' group on Zotero in the Simile Exhibit Faceted Browser.
Data in the Zotero group is tagged according to a defined tagging schema. The script takes any tags with ':' in, and splits them into prefix and tag value. It cleans basic errors (incorrect whitespace) and outputs the data as Exhibit JSON.
It iterates over all the items in the group.
Run buildbib.py to fetch new data. It will merge the new data with the template.json contents to provide labels for relevant elements.
Then run notes.py to fetch new data. It will fetch annotations and create data for a separate notes.html display
Then view index.html (this must be served from a web server, as browser security models otherwise prevent the scripts directly accessing the data.json file through a filesystem)
- The template.json should be automatically generated from the schema.
- It would be nice to include screen-shot images of the file associated with entry. Explore options for doing this.