Hi Bernadette

The ListRecords etc functions already accept ‘set’ as a collection eg in the code:

        } elseif (!empty($set)) {
                        if ($setType == "isMemberOf") {
                                $filter["searchKey".Search_Key::getID("isMemberOf")] = $set;
                        } else {
                                $filter["searchKey".Search_Key::getID("Subject")] = $set;
                        }
                }

So with a couple of extra lines in there to check if the object type is a community and therefore set the filter to be all isMemberOf all the collections in that community that might be the best solution. What do you think?

Cheers,
Christiaan


On 7/11/08 10:01 AM, "Bernadette Houghton" <bernadette.houghton@deakin.edu.au> wrote:

Dear all, we’ve just set up our repo to be harvested by ARROW (Australian uni repos). ARROW harvests on an “inclusive” model; that is, it can either harvest everything public OR harvest specific sets/collections. It is unable to exclude sets/collections from harvesting.
 
Fez communities – as opposed to collections - can’t currently be harvested as such. Our Fez structure is based on 2 main communities – research stuff and photograph archives; lots and lots of collections come under “research stuff”, and only two under “photo archives”.  Since it is unpractical for us to list all the research collections that ARROW can harvest, and ARROW can’t work on an “everything except A and B” basis, it means we have to let ARROW harvest our photo archive, even though we’d rather not.
 
One way to solve the issue would be for  Fez to support communities as sets. But my question is – how common is ARROW’s inclusive harvesting model? Do other harvesters work on a similar basis?
 
bern
 
 
Bernadette Houghton, Access & Data Librarian
Deakin University Geelong Victoria 3217 Australia.
Phone: 03 5227 8230 International: +61 3 5227 8230
Fax: 03 5227 8000 International: +61 3 5227 8000
MSN: bern_houghton@hotmail.com
Email: bernadette.houghton@deakin.edu.au <mailto:bernadette.houghton@deakin.edu.au>
Website: http://www.deakin.edu.au
<http://www.deakin.edu.au/> Deakin University CRICOS Provider Code 00113B (Vic)

Important Notice: The contents of this email are intended solely for the named addressee and are confidential; any unauthorised use, reproduction or storage of the contents is expressly prohibited. If you have received this email in error, please delete it and any attachments immediately and advise the sender by return email or telephone.
Deakin University does not warrant that this email and any attachments are error or virus free




-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/

_______________________________________________
Fez-users mailing list
Fez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fez-users

--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Christiaan Kortekaas
Senior Library Open Sorcerer
Library Technology Service
The University of Queensland, Australia QLD 4072
Telephone : (+61) (7) 3346 4337
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~