Closed sethaj closed 7 years ago
I've got a test hyrax app up and the zotero integration works pretty well. It uses COiNs, the same as we're doing now. I'd forgotten but I'd modeled our COiNs implementation off of what was in Sufia at the time, which in Hyrax is now app/helpers/hyrax/citations_behaviors/formatters/open_url_formatters.rb.
So we pretty much already have that functionality for Monographs in heliotrope from our own code.
If we were to only use Hyrax code for Zotero we would of course lose COiNs for FileSet since in Hyrax they are not "first class" objects but in Heliotrope they are.
So I guess I think we should leave things the way they are for now. Hyrax does seem to have some other formatters that we could take advantage of like Chicago and MLA formtters that we could use for Monograph, which is great, but we'll need to keep our own code for the foreseeable future so we can support FileSet metadata.
We created metadata for things like Zotero and Google Scholar (see #138, #679) in places like
app/presenters/concerns/open_url_presenter.rb
andapp/views/shared/_metadata.html.erb
but I believe with upgrading to Hyrax we can now get this "for free".