gbif / portal16

GBIF.org website
https://www.gbif.org
Apache License 2.0
24 stars 15 forks source link

link literature to datause #546

Open dnoesgaard opened 7 years ago

dnoesgaard commented 7 years ago

I would like to propose the following idea:

Allow links from literature to data use features, e.g.

literature_featured_link

The appearance of the featured box should be controlled by a Mendeley tag that we could add to the ES index, e.g.

In Mendeley: "tags":["2017","CN","Evolution","GBIF_used","open_access:true","peer_review:true","gbifFeature:xyz"]

in ES index: "gbifFeature": "xyz"

(xyz being the URL to the datause item - or even just the contentful id)

Thoughts?

MortenHofft commented 7 years ago

Sounds good to me - the only downside is the additional dependency between the two indices. Suddenly tags are refering to IDs in another database. But we chose to make the Contentful ids prominent with the intention of keeping them around anyhow.

dnoesgaard commented 7 years ago

If we want to avoid the dependency, we'd could use a common identifier, like the DOI?

it might complicate building the index, but perhaps be a more sustainable approach

Anway, I'm hoping you can come up with a prettier way of <blink>highlighting</blink> them ;)

dnoesgaard commented 7 years ago

Does it makes sense to use the chips for this link also? E.g.

screen shot 2017-11-29 at 16 35 26

MortenHofft commented 6 years ago

seems fine. could also just link to the data use feature instead of the literature. A bit more aggresive i know. Images could perhaps also be added to the literature item im such cases. Ahh i retract that. What you have done is probably better.

dnoesgaard commented 6 years ago

darn it, almost got a bit excited when you said images!

I'll start working on getting the links together.

dnoesgaard commented 6 years ago

I've updated Mendeley to include a tag, e.g.

gbifFeature:380zkx2QJWy6AiGokgEw4O

for the papers that have a data use feature in Contentful.

I'll leave it to you guys to take it from here :)

dnoesgaard commented 3 years ago

@MortenHofft I guess we just didn't get anywhere on this, but I suppose the issue belongs with the other additions to the crawler before we start looking a UI... (ref https://github.com/gbif/content-crawler/issues/35)