OaipmhHarvester problem w/Digital Commons

I've been using the OaipmhHarvester plugin quite a bit, and it seems to have a problem with harvesting from repositories running on the Digital Commons (http://www.bepress.com/ir/) system.

Sometimes it will simply return a "String could not be parsed as XML" message on the harvester page itself, but most of the time it returns something like this:

Omeka has encountered an error


    String could not be parsed as XML


exception 'Exception' with message 'String could not be parsed as XML' in /home3/halfshel/public_html/omeka/plugins/OaipmhHarvester/libraries/OaipmhHarvester/Xml.php:46
Stack trace:
#0 /home3/halfshel/public_html/omeka/plugins/OaipmhHarvester/libraries/OaipmhHarvester/Xml.php(46): SimpleXMLElement->__construct('')
#1 /home3/halfshel/public_html/omeka/plugins/OaipmhHarvester/controllers/IndexController.php(93): OaipmhHarvester_Xml->__construct('http://digitalc...', Array)
#2 /home3/halfshel/public_html/omeka/application/libraries/Zend/Controller/Action.php(513): OaipmhHarvester_IndexController->setsAction()
#3 /home3/halfshel/public_html/omeka/application/libraries/Zend/Controller/Dispatcher/Standard.php(289): Zend_Controller_Action->dispatch('setsAction')
#4 /home3/halfshel/public_html/omeka/application/libraries/Zend/Controller/Front.php(946): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))
#5 /home3/halfshel/public_html/omeka/application/libraries/Zend/Application/Bootstrap/Bootstrap.php(77): Zend_Controller_Front->dispatch()
#6 /home3/halfshel/public_html/omeka/application/libraries/Zend/Application.php(358): Zend_Application_Bootstrap_Bootstrap->run()
#7 /home3/halfshel/public_html/omeka/application/libraries/Omeka/Core.php(157): Zend_Application->run()
#8 /home3/halfshel/public_html/omeka/admin/index.php(42): Omeka_Core->run()
#9 {main}

(I hope that comes through all right.)

I don't know if this is a problem with the way I have the harvester set up or a problem with the way Digital Commons serves up records? Anyone have an idea what might be going on?

Thank you.

What is the URL you are using to harvest?

The url I was using for that example was http://digitalcommons.uri.edu/cgi/oai2.cgi

Have you had trouble importing other collections? I have been testing the plugin with a few other collections, including this one, and had no trouble: http://dlc.dlib.indiana.edu/dspace-dlc-oai/request

I think it may be an issue with the way that the Digital Commons serves its records.

Try the library above and see if you can get it to work, and then you might want to check with the Digital Commons service and see if they have a forum or place to ask them about it as well.

Ah, I figured it out. For some reason the Digital Commons repositories require specifying the proper OAI verb and metadata format at the end of the URL, like so:

Soy totalmente nueva en omeka instale la version 1.5.3 y el plugin oai-pmh.harvester pero cada vez que intento realizar una cosecha me sale String could not be parsed as XML y no se como solucionarlo si me pueden colaborar les agradeceria muchisimo.

Margarita me podria dar el url que esta tratando the cosechar? Y que tipo the metadata esta tratando the cosechar? Es posible que el XML este mal formado.