Yes, it's possible on the OAI provider side. I don't think it's easily
possible on the harvester side.

It could be as easy as changing oai_dc.xsl, which is described here:
https://wiki.duraspace.org/display/DSDOC5x/OAI+2.0+Server#OAI2.0Server-Add/RemoveMetadataFormats

Use <xsl:if> or <xsl:choose> here:
https://github.com/DSpace/DSpace/blob/dspace-5_x/dspace/config/crosswalks/oai/metadataFormats/oai_dc.xsl#L76

(not tested)

<xsl:choose>
    <xsl:when test=". =
'habilitation_thesis'"><dc:type>habilitationThesis</dc:type></xsl:when>
    <xsl:otherwise>
        <xsl:for-each
select="doc:metadata/doc:element[@name='dc']/doc:element[@name='type']/doc:element/doc:field">
            <dc:type><xsl:value-of select="." /></dc:type>
        </xsl:for-each>
    </xsl:otherwise></xsl:choose>


However, I'd recommend you make a copy of oai_dc.xsl under a different name
and make the modified oai_dc available via a different context (e.g.
http://example.com/oai/myrequest). That should make future upgrades easier.

Please remember that after any change to .xsl files, you have to run
[dspace]/bin/dspace oai clean-cache


Regards,
~~helix84

Compulsory reading: DSpace Mailing List Etiquette
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

-- 
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 post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.

Reply via email to