[英]Ckan Harvester is not working
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
https://github.com/ckan/ckanext-harvest。我可以访问http:// localhost / harvest。之后,我创建了一个收获源,但是我现在要做什么?我想做的就是收集来自另一个ckan实例的一些数据集。我是否必须实现Harvesting接口
To harvest from another CKAN instance you can use the ckan_harvester
plugin provided with ckanext-harvest. 要从另一个CKAN实例中收获,您可以使用ckanext-harvest随附的
ckan_harvester
插件。 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). 如果要从没有收集器的其他数据源中进行收集(例如,专有数据库格式),则仅需要实现
IHarvester
接口。
To enable the ckan_harvester
plugin, add it to the list of plugins
in your CKAN INI file and restart CKAN. 要启用
ckan_harvester
插件,请将其添加到CKAN INI文件中的plugins
列表中,然后重新启动CKAN。 You then need to create and configure a new harvester in the CKAN web UI at http://your-ckan-instance/harvest . 然后,您需要在CKAN Web UI的http:// your-ckan-instance / harvest上创建和配置新的收割机。 Finally, make sure to actually run the configured harvesters using the command line tools (or cron).
最后,请确保使用命令行工具(或cron)实际运行配置的收割机。
Refer to the documentation for details. 有关详细信息,请参阅文档 。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.