minicomp / ed

A Jekyll theme for minimal editions :book:
https://minicomp.github.io/ed/
Other
246 stars 128 forks source link

Feature Request: hypothes.is annotations through `dc.urn` rather than URL #23

Open bulbil opened 4 years ago

bulbil commented 4 years ago

Thought you might be interested to know that, after chatting with the Hypothes.is folks and perusing this post on how Hypothes.is interacts with document metadata, I was able to "migrate" Hypothes.is annotations as I migrated my Ed instance to a new server.

I modified the _include/head.html to include DC metadata using Dublin Core tags with name attributes in addition to the Zotero-friendly property attributes. I also included a few site wide entries in _config.yml. As a result Hypothes.is associates annotations with a urn:x-dc: string rather than the URL.

If it sounds useful to other users, happy to issue a pull request.

karlstolley commented 4 years ago

Hi @bulbil Thanks for opening this. Ed does include DC metadata -- are there specific pieces of DC that are missing?

The team is moving on to a new version of Ed at https://github.com/minicomp/jekyll-theme-ed2 if you'd like to open a discussion about this over there.

bulbil commented 4 years ago

Hi @karlstolley -- it's new Dublin Core field plus Hypothes.is for some reason appears to parse a slightly different format (AFIK) than what's currently included in Ed's _includes/head.html. I'll take your suggestion and bring it up over at Ed2!