omeka / plugin-OaipmhHarvester

OAI-PMH harvester for Omeka
http://omeka.org/codex/Plugins/OaipmhHarvester
9 stars 5 forks source link

Does the plugin harvests collections metadata ? #23

Open JBPressac opened 9 years ago

JBPressac commented 9 years ago

Hello, I am using Omeka 2.1.3 and OAI-PMH Harvester 2.0.1.

I tried to harvest the following set : http://cocoon.huma-num.fr/crdo_servlet/oai-pmh?verb=ListRecords&set=CRBC&metadataPrefix=oai_dc but the records (thoses with <dc:type>Sound</dc:type>) were associated by Omeka with an unnamed collection which has no metadata (see capture below) whereas each record of Sound type are linked to a collection by <dc:relation>http://cocoon.huma-num.fr/exist/crdo/meta/crdo-COLLECTION_NALBB (isPartOf)</dc:relation> (which collection 'crdo-COLLECTION_NALBB' has a <dc:type>Collection</dc:type>).

Besides, the record of the collection crdo-COLLECTION_NALBB is the first record of the set, but its metadata was not converted into an Omeka item collection.

Does the plugin harvests metadata collections ? Thanks,

debian 32 bits en fonction - oracle vm virtualbox_2015-04-27_11-22-01

debian 32 bits en fonction - oracle vm virtualbox_2015-04-27_14-44-20

zerocrates commented 7 years ago

This clearly fell through the cracks but here goes anyway:

The plugin just creates a collection for each harvest. This will pick up the set name if one is specified, but the harvester doesn't attempt to read any other metadata that might be exposed for the set/collection itself.