Stream: troubleshooting

Topic: OAI feed change


view this post on Zulip Deirdre Kirmis (Apr 17 2025 at 03:28):

I had a different question, but deleted it. I see the issues related to dc:type and dc:date fields and noticed that dc:rights was discussed. So is it in the plan to eventually include dc:rights in the oai_dc feed? We are trying to figure out a way to designate records as not open access, or restricted just to asu affiliates so that the feed to Primo can recognize it and also mark them that way. I think Primo requires the oai_dc format. Is there a way to add the dc:rights field to the oai_dc feed manually in the dataverse code?

view this post on Zulip Juan (Apr 22 2025 at 06:53):

Hi @Deirdre Kirmis,

We have changed the oai dc:rights output in e-cienciaDatos. You can check it here: https://edatos.consorciomadrono.es/oai?verb=ListRecords&metadataPrefix=oai_dc

Our implementation is based in Dataverse v6.5, you can find the differences with the IQSS implementation here: https://github.com/IQSS/dataverse/compare/v6.5...Consorcio-Madrono:dataverse:v6.5Madrono

dc:rights changes are in the file DublinCoreExportUtil.java. Searching "rigths" in this file you can find our changes.

The information about closed / open access is copied from the oai_datacite oai output, but in this case is automatic, not manual.

view this post on Zulip Deirdre Kirmis (Apr 22 2025 at 15:40):

This is awesome .. thank you for sharing! That is exactly what we need. We may want to do a similar thing for now, although I'm hoping eventually it will be added back as part of the default feed.

view this post on Zulip Deirdre Kirmis (Apr 22 2025 at 15:56):

Do you have any records in the repo that are marked as "closedAccess" or "restrictedAccess"? Just want to see how the feed looks.

view this post on Zulip Juan (Apr 22 2025 at 16:05):

We only have some datasets with embargoed files that are shown as "restrictedAccess". Here is an example: https://edatos.consorciomadrono.es/oai?verb=GetRecord&metadataPrefix=oai_dc&identifier=doi:10.21950/3XF0IT

view this post on Zulip Deirdre Kirmis (Apr 22 2025 at 16:18):

Perfect! Thank you!

view this post on Zulip Philip Durbin ๐Ÿš€ (Apr 28 2025 at 14:25):

Over at https://github.com/IQSS/dataverse/issues/5920#issuecomment-2339072490 I mentioned some unfinished dc:rights work that needs to be done.

@Juan please feel free to make a pull request. :big_smile:

view this post on Zulip Philip Durbin ๐Ÿš€ (Apr 28 2025 at 14:27):

Basically, I started working on dc:rights but backed out my changes when it got tricky.

view this post on Zulip Juan (Apr 29 2025 at 11:19):

@Philip Durbin โ˜€๏ธ , sorry for the delay in the response, It was a little dark yesterday: https://edition.cnn.com/2025/04/28/europe/spain-portugal-power-outages-intl/index.html .

I am not sure that our approach is the best one for the general case. I think that for the dc metadata, it could be better to either:

What do you think? I can create a pull request with our current approach or any of the alternatives above.

view this post on Zulip Philip Durbin ๐Ÿš€ (Apr 29 2025 at 13:10):

@Julian Gautier and @Philipp Conzett are active on #5920. I'd like to hear what they think. Thanks for being willing to create a pull request! :heart:

view this post on Zulip Julian Gautier (Apr 29 2025 at 14:18):

Hey all. @Philip Durbin โ˜€๏ธ thanks for the ping. I'd say I was active on #5920 but haven't been in a while and can't refocus on it for now. Too many other projects :sweat_smile:

view this post on Zulip Philip Durbin ๐Ÿš€ (Apr 29 2025 at 14:20):

real


Last updated: Oct 30 2025 at 06:21 UTC