You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 12, 2021. It is now read-only.
The hypothesis plugin is failing to retrieve annotations when querying the Hypothes.is API, using the DOI of a book. A similar problem was encountered when trying to retrieve Hypothes.is annotations for books from the Crossref Event Data API.
From what I understand, the problem is that Hypothesis will link a DOI to a single URL, so it will ignore any other URLs that the book can be read at - which is especially a problem with the EPUB reader, which uses separate URLs for different sections of the book.
So in the example, https://hypothes.is/api/search?uri=doi:10.5334/baj: The annotation it finds is from the landing page of the book. But it fails to return any annotations from within the EPUB reader itself.
The hypothesis plugin is failing to retrieve annotations when querying the Hypothes.is API, using the DOI of a book. A similar problem was encountered when trying to retrieve Hypothes.is annotations for books from the Crossref Event Data API.
Following the Hypothes.is guidelines (https://web.hypothes.is/help/how-hypothesis-interacts-with-document-metadata/), we have embedded the DOI of our books in the EPUB reader page, using the Dublin Core meta tag, but annotations from these pages do not show up when querying the Hypothes.is API by DOI, even though they can be fetched using the URL of the page, e.g. annotations for using the wildcard query https://hypothes.is/api/search?wildcard_uri=https://www.ubiquitypress.com/site/books/10.5334/baj/read/?loc=* are not found when querying based purely on DOI: https://hypothes.is/api/search?uri=doi:10.5334/baj
We have contacted the Hypothes.is support team, and they are looking into this issue.
Until it is resolved. we will only be able to fetch book annotations by URL, rather than DOI.
The text was updated successfully, but these errors were encountered: