Change defaut set in oai repository

Hi Omeka community,

New question for this site : https://patrimoine.mediatheque-lecateau.fr

I want to be harvested by oai and I need to have homogeneous item type in each set.

Of course, my collection haven’t been constructed on item type and I allways supposed that I could construct these set by type later, now… and I don’t understand how…

In the oai repository plugin git, I see Sets allow to gather items together to simplify partial harvesting. Three types of sets can be use: collection, item type and Dublin Core : Type.’

Default set (collection) work fine but how to set by dc:type or itemtype ?

and can I have different type of set in my repository.

Thanks for taking time to help me.

sorry, I’m looking for

I wonder if you’re looking at documentation for a fork or other version of the OAI-PMH repository plugin: the “normal” version of it doesn’t have a feature of doing sets by anything but Collections.

Yes, I take a look at the code.

I try to change 2 functions in ResponseGenerator.php :

  • listSets()

  • _addSetDescription()

I wonder if you’re looking at documentation for a fork or other version of the OAI-PMH repository plugin: the “normal” version of it doesn’t have a feature of doing sets by anything but Collections.

ok, I finally found it.

dc-type, item-type export work fine. lot of configuration option.

Thanks to Daniel-KM