Hi Agustin,

Creating custom contexts in OAI is not well documented as it's honestly not 
something done frequently.  If you want examples, I'd suggest looking at 
how it was done when the OpenAIRE v4 context was added 
in https://github.com/DSpace/DSpace/pull/2592

Beyond that, the basic idea would be to:
1. Add a new context to 
xoai.xml: 
https://github.com/DSpace/DSpace/blob/main/dspace/config/crosswalks/oai/xoai.xml
  
 This creates the context and links it up with the corresponding 
Transformer, Format(s) and Filters also defined in that same file.
2. You'll need to create a Transform XSLT in the transformers 
folder: 
https://github.com/DSpace/DSpace/tree/main/dspace/config/crosswalks/oai/transformers
3. You can either choose to use an existing metadataFormat or define a new 
one in the "metadataFormats" 
directory: 
https://github.com/DSpace/DSpace/tree/main/dspace/config/crosswalks/oai/metadataFormats

If you end up having more specific questions let us know.  If you are 
interested, we'd also welcome help in enhancing our documentation to 
provide step-by-step instructions for how to make this sort of change. If 
you would like to help with documentation, let me know & we can get you 
setup with a Wiki account and proper permissions to make edits.

Tim
On Thursday, May 26, 2022 at 9:31:30 AM UTC-5 [email protected] wrote:

> Hi, 
>
> I'm trying to implement a new context in OAI to meet some national 
> requirements and i'm a bit lost. Where can i search for documentation 
> (specifically for setting up the transformer and metadata format) besides 
> of 
> https://wiki.lyrasis.org/display/DSDOC6x/OAI+2.0+Server#OAI2.0Server-WhatisOAI2.0?
>  
> ?
> I'm currently using Dspace 6.3
>
> Agustin.
>
>

-- 
All messages to this mailing list should adhere to the Code of Conduct: 
https://www.lyrasis.org/about/Pages/Code-of-Conduct.aspx
--- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-tech/6c26eaed-36c0-484f-bd5f-4c8e7cda91b2n%40googlegroups.com.

Reply via email to