Comments (2)
Hi,
Sorry it has take so long to get back to you.
Yeah it should be possible. It looks like you might have already figured this out? I am not quite sure.
You will have to do some manual remediation. You will need to make sure you are uploading into the _annotations folder.
You will also have to make sure you have front matter loaded. So the file you upload to _annotations should be in the following format. Unfortunately you are probably going to need to script this because you can't upload an annotation list. So each annotation needs to have it's own file the filename being the id of the annotation.
---
canvas: url of canvas
order: number of the annotation in list
---
json of the annotation
To create the list add the follwoing to a list file
---
canvas_id: url of canvas
---
{% assign annotations = site.annotations | where: "canvas", page.canvas_id | sort: "order" | map: "content" %}
{
"@context": "http://iiif.io/api/presentation/2/context.json",
"id": "{{ site.url }}{{ site.baseurl }}{{page.url}}",
"type": "oa:AnnotationList",
"resources": [{{ annotations | join: ","}}] }
from annonatate.
I have written the script that will convert annotation lists to an Annonatate working version. Might need to be tweaked a little because it assumed that it was writing to the repo the annotations were in.
from annonatate.
Related Issues (6)
- Github Permissions HOT 8
- Add thumbnail images for navigation HOT 2
- Error 500 on my account HOT 2
- Rotating images HOT 2
- Problem with presentation api 3 manifests HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from annonatate.