Hi Gabriel,
Sets can be configured in the xoai configuration
[dspace]/config/crosswalks/oai/xoai.xml
using the filter which is appropriate for your set.
e. g. if you want to have a set with all items which got the metadata
dc.type=Article you could do
<Contexts>
<Context baseurl="request" name="Default Context">
<!-- use the set in a specific context -->
<Set ref="typeArticleSet" />
</Context>
</Contexts>
<Filters>
<!-- the filter used in the set definition -->
<Filter id="typeArticleFilter">
<Definition>
<Custom ref="typeArticleCondition"/>
</Definition>
</Filter>
<!-- the condition used in the filter />
<CustomCondition id="typeArticleCondition">
<Class>org.dspace.xoai.filter.DSpaceAtLeastOneMetadataFilter</Class>
<Configuration>
<string name="field">dc.type</string>
<string name="operator">equal</string>
<string name="value">Article</string>
</Configuration>
</CustomCondition>
</Filters>
<Sets>
<!-- the set definition -->
<Set id="typeArticleSet">
<Spec>type:article</Spec>
<Name>Article</Name>
<Filter ref="typeArticleFilter"/>
</Set>
</Sets>
You can even write your own Filter Class if the already existing ones see
https://github.com/DSpace/DSpace/tree/master/dspace-oai/src/main/java/org/dspace/xoai/filter
do not suit your purpose.
Hope this helps
Claudia Jürgen
Am 07.04.2016 um 22:02 schrieb Gabriel Gervasio:
>
> <
https://lh3.googleusercontent.com/-AePQ8RRAPEY/Vwa8txegGnI/AAAAAAAAD7E/ytgzfKpizlUmJUEpnyrfpAB4u2STe57Sg/s1600/oaisets.png>
> Hi Again, I need to set a specifically set on the OAI interface, can you
> tell me the steps to make it possible? Thanks
>
> I sent an image to be more clear, sorry for my english.
>
--
Claudia Juergen
Eldorado
Technische Universität Dortmund
Universitätsbibliothek
Vogelpothsweg 76
44227 Dortmund
Tel.:
+49 231-755 40 43
Fax:
+49 231-755 40 32
claudia...@tu-dortmund.de
www.ub.tu-dortmund.de
Wichtiger Hinweis: Die Information in dieser E-Mail ist vertraulich. Sie ist ausschließlich für den Adressaten bestimmt. Sollten Sie nicht der für diese E-Mail bestimmte Adressat sein, unterrichten Sie bitte den Absender und vernichten Sie diese Mail. Vielen Dank.
Unbeschadet der Korrespondenz per E-Mail, sind unsere Erklärungen ausschließlich final rechtsverbindlich, wenn sie in herkömmlicher Schriftform (mit eigenhändiger Unterschrift) oder durch Übermittlung eines solchen Schriftstücks per Telefax erfolgen.
Important note: The information included in this e-mail is confidential. It is solely intended for the recipient. If you are not the intended recipient of this e-mail please contact the sender and delete this message. Thank you. Without prejudice of e-mail correspondence, our statements are only legally binding when they are made in the conventional written form (with personal signature) or when such documents are sent by fax.