Thank you very much for the help!
I will try this as soon as possible!

May I ask one more question from all of you: 
I added also the links in the OAI but when they contain empty spaces (i 
know its not the best but we still have some files with them), OAI puts "+" 
sign between the words... But this makes the links not to work. With the 
spaces or "%20" code, it will work.
Can this method be changed?

Thank you very much!
B. Róbert

On Friday, November 11, 2016 at 1:24:12 PM UTC+2, Àlex Magaz Graça wrote:
>
> El 11/11/16 a las 10:37, Róbert Bodnár escribió: 
> > Hi all! 
> > May I ask if it is possible to exclude communities and collections from 
> > being harvested by the OAI? 
> > More exactly I want to find a way to exclude some collection when 
> > transmitting data through OAI to other parties. 
> > Any ideas are welcome! 
> > Thank you very much! 
> > B. Róbert 
> > 
> > -- 
> > 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] <javascript:> 
> > <mailto:[email protected] <javascript:>>. 
> > To post to this group, send email to [email protected] 
> <javascript:> 
> > <mailto:[email protected] <javascript:>>. 
> > Visit this group at https://groups.google.com/group/dspace-tech. 
> > For more options, visit https://groups.google.com/d/optout. 
>
> Hi Róbert! 
>
> You are lucky, I implemented it some time ago. Just for one collection, 
> though. It's implemented as an XOAI filter (attached). 
>
> - Put RecercatFilter.java in 
> dspace-oai/src/main/java/org/dspace/xoai/filter/RecercatFilter.java 
>
> - Define the filter in the Filters section of xoai.xml: 
>
>   <Filter id="recercatFilter"> 
>     <Class>org.dspace.xoai.filter.RecercatFilter</Class> 
>     <Parameter key="excludeSet"> 
>       <Value>col_10459.1_371</Value> 
>     </Parameter> 
>   </Filter> 
>
> - Add the filter to your context: 
>
>   <Context baseurl="request"> 
>     [...] 
>     <Filter refid="recercatFilter" /> 
>   </Context> 
>
> Cheers, 
> Àlex 
>

-- 
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