The best time to register for DrupalCon Dublin is now. Earlybird discounts end July 29.
Use feeds or migrate to setup periodic harvesting of datasets from CKAN and Socrata sources
I have harvested data into a CKAN instance(from CSW server)- which went well. I am now trying to harvest data from DKAN to CKAN, my URL source for metatdata is http://localhost/dkan2/api/action/datastore/search/.
My harvest does not complete and the error in apache log files is:
Fatal error: Cannot redeclare recline_export_alter() (previously declared in /var/www/dkan/profiles/dkan/modules/dkan/dkan_sitewide/modules/dkan_default_content/plugins/recline.inc:14) in /var/www/dkan/profiles/dkan/modules/dkan/dkan_import/plugins/recline.inc on line 34
How can i go past this?
We are working on supporting the 'api/action/datastore/search/' endpoint. It currently isn't supported. We should have this supported within the month. Please see this issue queue for updates.
Actually, the endpoints your asking about are a different issue. See #2125095: Support package_search API. This issue is for harvesting CKAN and Socrata datasets into DKAN.
Sorry, I'm having trouble with the new issue queues. The issue you are describing is harvesting from DKAN into CKAN. Follow progress here #2125147: Harvesting from DKAN into CKAN . Please post updates there.
This should be implemented using a migration class which allows the user to put in a CKAN endpoint.
This has been moved: https://github.com/nuams/dkan/issues/18
Drupal is a registered trademark of Dries Buytaert.