Queries for virtual sets in the OKR may be as broad as “Health in Africa” or “Climate Change” or as narrow as “Agribusiness in Tanzania” and “Microfinance in Bangladesh”. The following six sample virtual sets have been created and are now available for other repositories to begin ingesting:
Hello Euler,
yes this is possible and can be done in
https://github.com/DSpace/DSpace/blob/dspace-6.3/dspace/config/crosswalks/oai/xoai.xml
1. Define a Set
<Sets>
<Set id="YourNameForTheSet">
<Spec>YourSpecNameForTheSet</Spec>
<Name>YourDisplayNameForTheSet</Name>
<Filter ref="YourFilter"/>
</Set>
</Sets>
2. Define the filter and condition or use existing filters and conditions
Filter:
<Filters>
<Filter id="YourFilter">
<Definition>
<Custom ref="YourCondition"/>
</Definition>
</Filter>
</Filters>
Filters can be more complex and contain Conditions with relations like
https://github.com/DSpace/DSpace/blob/dspace-6.3/dspace/config/crosswalks/oai/xoai.xml#L307
Condition:
<CustomCondition id="YourCondition">
<Class>org.dspace.xoai.filter.DSpaceAtLeastOneMetadataFilter</Class>
<Configuration>
<string name="field">dc.type.publicationtype</string>
<string name="operator">equal</string>
<string name="value">article</string>
</Configuration>
</CustomCondition>
3. Use the set in the context(s) you need it in
<Context ...>
<Set ref="YourNameForTheSet" />
</Context>
Hope this helps
Claudia Jürgen
--
All messages to this mailing list should adhere to the Code of Conduct: https://duraspace.org/about/policies/code-of-conduct/
---
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 dspace-tech...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/dspace-tech/27e1d299-3289-4062-90c9-939d418dc2adn%40googlegroups.com.
-- Claudia Juergen Technische Universität Dortmund Universitätsbibliothek Bibliotheks-IT 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