Skip to content

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