[ckan-dev] Harvest extension update files

Adrià Mercader adria.mercader at okfn.org
Tue Nov 19 16:36:01 UTC 2013


Hi Isabel,

The harvester extension does not import remote data, just metadata
from other catalogs, that is it won't download a file, just import the
title, description, etc around it.

I don't think there is a way in CKAN to automatically update an
uploaded file. I think you will have to write a separate application
that updates the actual files and removes the old ones, and perhaps
later call the CKAN API to update the resource metadata (eg file size,
last updated, etc).

I know that other users on the list have explored using the datastore
to store real-time data, that might be another front you could
explore.

Adrià

On 13 November 2013 12:08, Isabel Ruiz <isaruizmellado at gmail.com> wrote:
> Hi !
>
> We are running ckan 2.1a in Ubuntu 12.04.
>
> We have many resources files uploaded on ckan (using "upload a file" option
> on resources upload).
>
> Some of our resources have information, that must be updated every five
> minutes (for example, bike sharing available in the city) . Obviously, we
> cannot update this file manually.
>
> So, we need a process which: collects the file and replaces ckan file (for
> example, we need upload a new file containing actual bike sharing available,
> older file must be deleted or replaced).
>
> We have read ckan docs and harvest extension collected another ckan files.
>
> My questions are: Can harvest extension collected files I need? Can we use
> harvest extension?
>
> If the answer is "Yes"... do you have any example which can help us?
>
> Thanks!
>
> --
> Isabel M. Ruiz Mellado
> http://about.me/isabelruiz
>
> _______________________________________________
> ckan-dev mailing list
> ckan-dev at lists.okfn.org
> http://lists.okfn.org/mailman/listinfo/ckan-dev
> Unsubscribe: http://lists.okfn.org/mailman/options/ckan-dev
>



More information about the ckan-dev mailing list