[ckan-dev] how can I use API access data from uploaded xml file or linked xml file(not csv or xls file)

bupt bupt buptloveandroid at gmail.com
Wed Mar 20 00:58:05 UTC 2013


thank you very much [?]

2013/3/17 Dominik Moritz <dominik.moritz at okfn.org>

> 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
>>
>>
> _______________________________________________
> 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/20130320/37e59631/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 330.gif
Type: image/gif
Size: 96 bytes
Desc: not available
URL: <http://lists.okfn.org/pipermail/ckan-dev/attachments/20130320/37e59631/attachment-0003.gif>


More information about the ckan-dev mailing list