metacatui icon indicating copy to clipboard operation
metacatui copied to clipboard

Add support for Zotero, Mendeley, and EndNote

Open mbjones opened this issue 6 years ago • 8 comments

We used to fully support bibliographic import of citations from our UI, but since we moved to MetacatUI it hasn't worked as well. We seem to have partial support now through the patches in issue #491 but that also doesn't work for the common browser extensions like the Zotero Connector from Chrome. Issue #491 seems to indicate this is a problem with dynamic client-side loading of the page, which to me means we need to add support for server-side loading of this info. As we are also working on server-side solutions to pushing JSON-LD into the landing pages for data sets, I think it would be good to be sure to also include the markup needed for bibliography supporrt.

When I try to save the citation for a data set from the Arctic Data Center, Zotero wants to save it as a web page snapshot, and misses the key metadata (like author, etc). The BibTex produced looks like this:

@misc{noauthor_nsf_nodate,
	title = {{NSF} {Arctic} {Data} {Center}},
	url = {https://arcticdata.io/catalog/view/doi:10.18739/A2610VR7Z},
	urldate = {2019-02-12},
	file = {NSF Arctic Data Center:/Users/jones/Zotero/storage/6NAB6B89/A2610VR7Z.html:text/html}
}

To close this bug, we should:

  • [ ] Enable capture of citations from landing pages using common tools
    • Zotero Connector
    • Mendeley
    • EndNote
  • [ ] Ensure bibliographic metadata is correct, and creates an appropriate BibTex entry for a dat asset, with authors and other details set correctly, including the DOI

mbjones avatar Feb 12 '19 18:02 mbjones

for Zotero: https://www.zotero.org/support/dev/exposing_metadata

datadavev avatar Mar 12 '19 19:03 datadavev

Hi @amoeba -- I'm currently triaging a lot of MetacatUI tickets and wondering about an update on this -- has there/will there be any work on this in the near future?

laurenwalker avatar Jan 13 '20 17:01 laurenwalker

We should also support capture of citations in the citations lists that are retrieved from the metrics service. They are on dataset landing pages, the /profile Summary page, and all portals.

laurenwalker avatar Mar 05 '20 17:03 laurenwalker

Hey @laurenwalker, I've built a proof-of-concept for this but we haven't decided to go that route yet. Would have to ask @mbjones and @datadavev I think.

amoeba avatar Mar 05 '20 20:03 amoeba

I wanted to update this ticket just to let folks know it's not being actively worked on but is still something we might work on in the future.

The problem here is that we need to produce this metadata in the response from the server, as @mbjones points out in the OP:

We seem to have partial support now through the patches in issue #491 but that also doesn't work for the common browser extensions like the Zotero Connector from Chrome. Issue #491 seems to indicate this is a problem with dynamic client-side loading of the page, which to me means we need to add support for server-side loading of this info.

The ultimate problem is our use of the SPA paradigm to serve MetacatUI. To add server side loading under our current architecture would be to ask Apache to insert the information before it sends MetacatUI's index.html. Something akin to Server Side Includes but I'm not really sure if any Apache-based solution is practical or fun.

A broader conversation about this topic may be warranted, as the SPA paradigm limits us in a number of ways any change, while hugely beneficial, would be substantially distruptive.

amoeba avatar May 21 '21 23:05 amoeba

For Zotero at least, you can notify the extension that new metadata is available. https://www.zotero.org/support/dev/exposing_metadata#force_zotero_to_refresh_metadata

datadavev avatar May 22 '21 19:05 datadavev

Thanks for the link @datadavev, I think I missed that part of the page back when we did this work. I think adding that method is worthwhile. Filed on https://github.com/NCEAS/metacatui/issues/1804.

amoeba avatar May 24 '21 19:05 amoeba

Support for Zotero Connect is done in https://github.com/NCEAS/metacatui/issues/1804. I re-confirmed that Mendeley and EndNote's extensions still don't pick up our metadata and I haven't found a similar support page for those as Zotero has.

amoeba avatar May 24 '21 20:05 amoeba