Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

First attempt at using Open Annotation Data Model v2 #119

Open
wants to merge 13 commits into
base: master
Choose a base branch
from

Conversation

gergely-ujvari
Copy link
Contributor

This PR is intented to continue the work of @Treora (his jsonld branch), so this is the second version of PR #83

I've been using that branch, rebased it to the current master and changed the openannotation file to oa_renderer and introduced the renderer class as @nickstenning suggested.

Also tests were added.

Treora and others added 13 commits March 6, 2015 13:31
Annotations can now be serialised into JSON-LD formatted RDF, following
the data model spec: http://www.openannotation.org/spec/core/
Because JSON-LD spec recommends keeping @context at the top.
Let's keep the default very generic, for example we don't even know if
users are Persons. Implementors can subclass Annotation to add more user
info (as with any of the properties).
The OARenderer class is no longer inherited from Annotation.
It is a separate renderer with a render(annotation) interface
@BigBlueHat
Copy link

@nickstenning @tilgovi I've got this rebased locally with tests running without a hitch. Any other things needed to get that considered for merging?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants