Quantcast

Oaiprovider and sets: how to tell the oaiprovider that there are sets?

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Oaiprovider and sets: how to tell the oaiprovider that there are sets?

Hans Scholte
Hi,

I have the oaiprovider running now except for the sets :-(
I have made an obect with the following rels-ext:
<rdf:RDF
   xmlns:oai="http://www.openarchives.org/OAI/2.0/" 
   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
  <rdf:Description rdf:about="info:fedora/unicum:setspec.amsterdam">
    <oai:setSpec>unicum:amsterdam</oai:setSpec>
    <oai:setName>amsterdam records</oai:setName>
  </rdf:Description>
</rdf:RDF>

This object represents the a set. The id of this object is "unicum:setspec.amsterdam"

Another object that should belong to this set has the following rels-ext:
<rdf:RDF
   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
  <rdf:Description rdf:about="info:fedora/unicum.uba.items:003173119">
    <hasModel xmlns="info:fedora/fedora-system:def/model#" rdf:resource="info:fedora/unicum.contentmodel:cdwaLite"></hasModel>
    <itemID xmlns="http://www.openarchives.org/OAI/2.0/">oai:testing:100</itemID>
    <isMemberOf xmlns="info:fedora/fedora-system:def/relations-external#" rdf:resource="info:fedora/unicum:setspec.amsterdam"></isMemberOf>
    <isMemberOf xmlns="info:fedora/fedora-system:def/relations-external#" rdf:resource="info:fedora/unicum.uba.objecten:1"></isMemberOf>
    <hasPart xmlns="info:fedora/fedora-system:def/relations-external#" rdf:resource="info:fedora/unicum.uba.images:UBAUM000204_001"></hasPart>
  </rdf:Description>
</rdf:RDF>

This obect shows up in ListRecords but ListSets return me "there are no sets in the repository"

How can i tell the oaiprovider that there is a set and that there is an item belonging to this set?
the proai.properties file is unchanged as far as sets is concerned (setSpec, setName, etc are unchanged)

Thanks,
Hans
Loading...