earthcubeprojects-chords / chords

EarthCube CHORDS application code
GNU General Public License v2.0
25 stars 13 forks source link

Add dynamically generated DOI text to CHORDS portal #238

Open mdye opened 7 years ago

mdye commented 7 years ago

Generate and display HTML based on the DOI and DOI metadata stored in the portal configuration.

This should be displayed on the "About" page and possibly on all portal pages.

(Decision on the exact placement is pending)

daniels303 commented 7 years ago

Sarah Stamps wanted me to update the DOI metadata for tzvolcano which I did on Monday July 17. However, when I go to the "About" tab for tzvolcano, the reference describing how to cite the TZVOLCANO CHORDS portal does not display the updated DOI metadata. It was my understanding that this page is generated dynamically so that it displays current information when it has been updated at DataCite. Is this not correct?

You can see the updated metadata for the TZVOLCANO here.

The changes made to the DOI metadata include the addition of authors and the mention of UNAVCO and its data policies.

mdye commented 7 years ago

That's correct - the citation is retrieved from doi.org on every page load.

The citation I'm seeing on the about page matches what I see on the EZID site right now.

I'm wondering ix EZID perhaps has a caching mechanism in place so that it takes a while for changes to propagate?

daniels303 commented 7 years ago

OK, what I'm noticing is that the DataCite metadata you reference lists multiple authors while our TZVOLCANO citation only lists one.

mdye commented 7 years ago

I'm not sure why doi.org is returning this result.

It seems strange that after two days that caching would still be an issue, but I think that might be the issue. I tried retrieving the citation in several different formats, including JSON, and it never listed more than one author.

daniels303 commented 7 years ago

The other thing to note is that the author metadata for Sarah in tzvolcano is "Stamps, D. S." while DataCite lists this as "Stamps, D. Sarah". So there is definitely a difference in what we are displaying versus what is stored at DataCite. I made this change on Monday and so I also doubt that it is a caching issue.

terrieyang commented 7 years ago

I noticed that if you search for tzvolvano on Datacite it contains the updated authors. However if you click on 'cite' (this is the citation that is being displayed on the about page), it only contains 1 author. The same citation for the NCAR Earthcube contains multiple authors. I wonder why there is a discrepancy between those two.

daniels303 commented 7 years ago

I noticed that this is now working, i.e. the About page of tzvolcano.chordsrt.com lists multiple authors. Did something change in our code or do we think the DataCite JSON API is now working with the updated tzvolcano DOI metadata?

daniels303 commented 7 years ago

Also, on the tzvolcano About page, under Citing CHORDS, there is a reference to the DataCite metadata for the tzvolcano DOI:

"CHORDS has been issued a Digital Object Identifier (DOI) from DataCite.org. See the DataCite reference to view the relevant DOI metadata fields."

The link for the DataCite reference just points back to the CHORDS software DOI. Now that the DataCite JSON API for the tzvolcano is working again, I think we can safely change the text under this section to say:

"CHORDS has been issued a Digital Object Identifier (DOI) from DataCite.org. We request that researchers cite CHORDS usage in any relevant publication or other context as follows:"