ufal / clarin-dspace

clarin-dspace digital repository based on DSpace and LINDAT/CLARIN DSpace
http://lindat.cz
BSD 3-Clause "New" or "Revised" License
27 stars 18 forks source link

Automatic OpenAire inclusion if EU project id is filled out #287

Closed vidiecan closed 8 years ago

vidiecan commented 9 years ago
kosarko commented 9 years ago

should still register with the openaire harvester, or does it make sense without it?

vidiecan commented 9 years ago

Available projects:

vidiecan commented 9 years ago
  1. dc.relation must start with info:eu-repo/grantAgreement
vidiecan commented 9 years ago

https://lindat.mff.cuni.cz/repository/oai/openaire_data?verb=ListRecords&metadataPrefix=oai_dc&set=hdl_11858_00-097C-0000-0001-4877-A

kosarko commented 9 years ago

not much sure what's going on in here but the guidelines I've followed/tested against openaire validator were for data repositories. You might want to check the oai_datacite metadataPrefix

2015-09-07 18:34 GMT+02:00 Jozef Misutka notifications@github.com:

https://lindat.mff.cuni.cz/repository/oai/openaire_data?verb=ListRecords&metadataPrefix=oai_dc&set=hdl_11858_00-097C-0000-0001-4877-A

— Reply to this email directly or view it on GitHub https://github.com/ufal/lindat-dspace/issues/287#issuecomment-138336274.

vidiecan commented 9 years ago

@kosarko dc.relation must contain info:eu-repo... in order to appear in the openaire oai endpoint, right?

kosarko commented 9 years ago

The definition of the filter is at https://github.com/ufal/lindat-dspace/blob/lindat/dspace/config/crosswalks/oai/xoai.xml#L393 (so it's starts-with info:eu-repo/grantAgreement/EC/FP) The openaire endpoint is defined in the same file ( https://github.com/ufal/lindat-dspace/blob/lindat/dspace/config/crosswalks/oai/xoai.xml#L34 )

The tranformation is then in https://github.com/ufal/lindat-dspace/blob/lindat/dspace/config/crosswalks/oai/metadataFormats/datacite_openaire.xsl

(And I'm now not sure about the workaround for the xoai bug. in 3.2.9 or what is the version you need to use "red" instead of "ref" with filters, I'm not sure if this wasn't fixed - it was one of the first lindat-dspace issues, to at least watch this in dspace. Hopefully it's still "red" and all is working...)

2015-09-07 21:08 GMT+02:00 Jozef Misutka notifications@github.com:

@kosarko https://github.com/kosarko dc.relation must contain info:eu-repo... in order to appear in the openaire oai endpoint, right?

— Reply to this email directly or view it on GitHub https://github.com/ufal/lindat-dspace/issues/287#issuecomment-138360550.

vidiecan commented 9 years ago

related #365

vidiecan commented 9 years ago

Because OpenAIRE has been supported by the lindat platform for a while now, only two things were needed to have our older submissions exported. 1) adding dc.relation (as mentioned above) and 2) register our endpoint a data repository. Both are done now, just waiting for reindexing.

Automated export is still work in progress.

@kosarko Is the contents of this issue clear now?

vidiecan commented 9 years ago

todo: remove mapped-to from metadata if complex type is removed

kosarko commented 9 years ago

Seems to break the previous functionality. Started filling LINDAT into the funding project name -> autcompleted, but can't continue!

kosarko commented 8 years ago

the last part seems fixed, probably 1d663b69bb201