OAI-MPH Harvester XML Error

I installed the OAI-MPH harvester plugin to explore importing our data from folkstreams.net catalog into Omeka. The first time through it rejected the source for XML errors. I found some coding errors in our original export software and fixed them.

I've run the source against a validator. You can see the results here http://www.validome.org/xml/validate/?lang=en&url=http://www.folkstreams.net/oai/static_rep
ository.xml

I still get an error on import, about not being a valid XML string.

Any help appreciated.

Steve Knoblock,
folkstreams.net

The plugin is designed to harvest from compliant OAI-PMH Repositories. There is no support for Static Repositories at this time. However, it can conceivably harvest from static repositories through a Static Repository Gateway.

I recommend that you implement a gateway so the plugin can make the necessary requests. Otherwise, you can wait for someone to add static repository functionality to the plugin, which may not happen for some time. Good luck.

Thanks. That was quick.

Our goal is to import our data into Omeka.

I gather the gateway acts like an API. Has anyone implemented a library for a gateway in PHP? Once we are finished and if chose to go forward with Omeka, the code would be discarded unless someone else could use it.

Would you recommend we try to dump our data into CSV to use the CSV import plugin instead?

The OAI website has a list of PMH Tools, but it is severely out-of-date. There may be third-party services that can provide gateways to your static repository, but I don't know of any.

Given your circumstances, I think dumping your data to CSV and using the CSV Import plugin is your best bet. I think you'll find that to be a more forgiving migration strategy.

Yes, I was intending on giving it a try. Does the CSV Import support normalized data, or will I need to join data, then generate an import compatible table? I doubt it will handle relations.