Reputation:
I read this documen to create a harvester. https://github.com/ckan/ckanext-harvest.I can reach http://localhost/harvest.After that, I created a harvest source.But what will I do right now?What I want to do is to collect some datasets from another ckan instances.Do i have to implement harvesting interface
Upvotes: 0
Views: 1575
Reputation: 10365
To harvest from another CKAN instance you can use the ckan_harvester
plugin provided with ckanext-harvest. You only need to implement the IHarvester
interface if you want to harvest from a different data source for which a harvester isn't available (for example a proprietary database format).
To enable the ckan_harvester
plugin, add it to the list of plugins
in your CKAN INI file and restart CKAN. You then need to create and configure a new harvester in the CKAN web UI at http://your-ckan-instance/harvest. Finally, make sure to actually run the configured harvesters using the command line tools (or cron).
Refer to the documentation for details.
Upvotes: 1