MarcusBarnes / mik

The Move to Islandora Kit is an extensible PHP command-line tool for converting source content and metadata into packages suitable for importing into Islandora (or other digital repository and preservations systems).
GNU General Public License v3.0
34 stars 11 forks source link

Issue 439 #440

Closed mjordan closed 6 years ago

mjordan commented 6 years ago

Github issue: (#439)

What does this Pull Request do?

Adds a MODS metadata parser for OAI-PMH toolchains.

What's new?

Adds class src/metadataparsers/mods/OaiToMods.php. During development I found another issue which are not directly related to this new class but that I would like to include in this PR since it will affect the ability to test the new class:

How should this be tested?

A smoketest is required since there are no PHPUnit tests for this change.

Reproducing the problems

Confirming the fix

Additional Notes

The wiki entries of the OAI-PMH toolchains will need to be updated to indicate how MODS can be harvested.

Interested parties

@marcusbarnes. @bondjimbond used the OAI toolchain frequently and may want to smoketest.

issue-439.ini.txt

MarcusBarnes commented 6 years ago

Smoketest ran as expected. Reminder that we'll have to update the wiki entries of the OAI-PMH toolchains to indicate how MODS can be harvested.

mjordan commented 6 years ago

@MarcusBarnes I've updated all but the OJS OAI toolchain to include the new MODS functionality. OJS doesn't support MODS.

Mind if I link the "Toolchain: OAI PMH for Islandora repositories" from the wiki table of contents? @flummingbird noted in #432 that it isn't linked, and now that we have a real application for it, it might as well be.

MarcusBarnes commented 6 years ago

Please link as appropriate. Thanks!