How to list more sets

78 views
Skip to first unread message

Jonas K

unread,
Oct 21, 2021, 1:17:39 PM10/21/21
to OAI-PMH
Hi, 

I would like to ask you about a problem I have encoutered, maybe someone would know the way. 

Desired outcome:
To make possible for harvesters to harvest all records excluding those which are in specific set. 
In different words:
Is it possible to merge only specific sets so the records from these sets will be in one list?

First I was thinking about this solution (but this is not working):
URL: ..../oai?verb=ListRecords&metadataPrefix=oai_dc&set=map&set=graphic

Then I was thinking if it is possible to create one set which contains records from set=map and set=graphic --> I found there can be some hierachy to be created according to http://www.openarchives.org/OAI/2.0/guidelines-repository.htm#Sets-Hierarchy

My question is how? Documentation seems to me very brief for me as a person who never worked with oaipmh so much.
 
Can I do just something like this? 
<set>
            <setSpec>combined</setSpec>
            <setName>Own set</setName>
            <setDescription>Combination of records of graphic set and map set</setDescription>
</set>
<set>
            <setSpec>combined:graphic</setSpec>
            <setName>list of graphics</setName>
            <setDescription>......</setDescription>
</set>
<set>
            <setSpec>combined:map</setSpec>
            <setName>list of maps</setName>
            <setDescription>......</setDescription>
</set>
And with these LIstSets would it be possible to:
a) harvest only maps (set=combined:map)
b) harvest only graphic (set=combined:graphic)
c) harvest both together (set=combined)

Or is there some other ways and solution of this my problem?

Thank you so much for your help. This is something very new for me and I would be very glad to all of you for help. 

Simeon Warner

unread,
Feb 1, 2022, 2:51:07 PM2/1/22
to OAI-PMH
Hi Jonas,

The set parameter is not repeatable (so set=map&set=graphic isn't expected to work) and I'm afraid that there isn't a way to harvest the contents of multiple sets or intersections of set unless those are explicit in the set hierarchy. I believe the structure you propose:

> And with these LIstSets would it be possible to:
> a) harvest only maps (set=combined:map)
> b) harvest only graphic (set=combined:graphic)
> c) harvest both together (set=combined)

Is the way to do it. One doesn't necessarily need the `combined` set if that would be the same as everything (no set parameter specified).

Cheers,
Simeon


Reply all
Reply to author
Forward
0 new messages