Of course, you're right. Your solution is exactly what I need. Alain
-----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of helix84 Sent: Wednesday, November 14, 2012 2:21 PM To: Alain Tschanz Cc: dspace-tech Subject: Re: [Dspace-tech] OAI-ORE harvesting On Wed, Nov 14, 2012 at 8:07 PM, Alain Tschanz <[email protected]> wrote: > I want everybody (anonymous users) be able to search, browse and read all > documents on DSpace, but I want to prevent institutions such as universities, > libraries and search services from downloading the bitstreams of whole > collections via the OAI-ORE harvesting function. I would like to limit > harvesting to metadata and references to bitstreams only. Is there a way to > implement that scenario? In that case setting up two instances would help, assuming one instance would be there for browsing for humans and the other one for harvesting, without bitstreams. So why not simplify it and just change the OAI interface the way it would work in the mirroring instance? It all boils down to defining how you distinguish between a human and a robot. It's surprisingly hard to do it right if you think about it. Let's assume humans are those using the web interface and robots are those using OAI-PMH. Let's define what you expect from the OAI interface. You said you don't want it to show bitstreams, only references. But those references can be followed to get the bitstreams, which might be a problem. But we can just assume that if bitstreams are only available as references, nobody will bother to rewrite the harvesters to follow the references. Here's an example METS file (yes, there may be other formats available via OAI-PMH): http://demo.dspace.org/xmlui/metadata/handle/10673/171/mets.xml Here we basically want to remove the whole fileSec section and add the referencess to metadata. I think this can be done using a crosswalk. It should be easier to do in OAI 2.0 (in DSpace 3.0) by just rewriting the METS metadata format XSL stylesheet than in the old OAI where the crosswalk is a Java class. How does that sound? Did I get any assumptions wrong for your case? P.S. Always CC dspace-tech (Reply All). Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette ------------------------------------------------------------------------------ Monitor your physical, virtual and cloud infrastructure from a single web console. Get in-depth insight into apps, servers, databases, vmware, SAP, cloud infrastructure, etc. Download 30-day Free Trial. Pricing starts from $795 for 25 servers or applications! http://p.sf.net/sfu/zoho_dev2dev_nov _______________________________________________ DSpace-tech mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/dspace-tech

