When a user shares a scientific paper link on bonfire, the app automatically fetches the #DOI metadata to display an interactive preview. This means instant access to key details like authors, journal, publication date and abstract. The feature was proposed and co-designed with @jorge to be implemented in the open science app, still a work in progress, any further feedbacks are very welcome 😀 #openscience @open_science @UlrikeHahn @brembs
@nunesgh
@bonfire @jorge @open_science @UlrikeHahn @brembs
The hardest part is the URL -> DOI resolution, and if the bonfire code has that it would take maybe an afternoon to port to masto
@nunesgh
@bonfire @jorge @open_science @UlrikeHahn @brembs
Looks like the template is here?
https://github.com/bonfire-networks/bonfire_ui_social/blob/ee8a900f4e63fee3a5202a4ef8c2ff9fd1fd95b3/lib/components/activity/media/academic_paper_live.sface
But I cant find where the metadata is pulled?
@bonfire In line 64, you may include another common URL format: https://dx.doi.org
. Many reference management systems use that old format. https://www.doi.org/the-identifier/resources/factsheets/doi-system-and-persistent-urls