Hello Gabriel,

great.

We need mor details about the error with oai import. See
https://wiki.duraspace.org/display/DSPACE/Troubleshoot+an+error
on how to find them.

Hope this helps

Claudia Jürgen




Am 13.04.2016 um 20:29 schrieb Gabriel Gervasio:
Thanks Claudia! its works!

Do you have problems with the command ./dspace oai import -c ?
Because when I try that command i have errors in java xoai...



El martes, 12 de abril de 2016, 12:25:13 (UTC-3), Claudia Jürgen escribió:
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
[email protected] <javascript:>
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.


--
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
[email protected]
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.

--
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 https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.

Reply via email to