[ckan-dev] how can I use API access data from uploaded xml file or linked xml file(not csv or xls file)
Dominik Moritz
dominik.moritz at okfn.org
Sun Mar 17 10:01:10 UTC 2013
Hi,
The datastorer does not import your xml files into the datastore. At the
moment it only works with csv and excel files. The problem is that there is
no generic way to put a nested file like xml into a table. You will need to
write a script for your file that parses the file and stores it via the
data store api (http://docs.ckan.org/en/latest/datastore-api.html).
Cheers,
Dominik
-
Sent from mobile
On 17 Mar 2013 10:00, "bupt bupt" <buptloveandroid at gmail.com> wrote:
> hello everyone,
> Now I have install datastore and datastorer extension and I can
> successfully use datastore API access data from uploaded xls or csv file(
> after it is uploaded, datastorer extension can automatically store data
> into datastore database ).
> But if I upload xml file (or txt) file or this dataset is linked
> to xml file address, how can I use API to access data inside uploaded xml
> (or txt ) file or linked ml (or txt ) file? which API can do it?
> Could you help me solve this problem? You can attach some website
> addresses here about this method or tell me the website addresses and name
> of these API .
> Thank you very much!
>
> _______________________________________________
> 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
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.okfn.org/pipermail/ckan-dev/attachments/20130317/b901fe31/attachment-0001.html>
More information about the ckan-dev
mailing list