Extracting information from a webservice

Dirk Hohndel dirk at hohndel.org
Wed Jan 16 18:33:37 PST 2013


pointing this back to the mailing list...

Pierre-Yves <pingou at pingoured.fr> writes:

> On Wed, Jan 16, 2013 at 03:50:37PM -0800, Dirk Hohndel wrote:
>> What we really need is someone to write the little interface that can
>> grab locations / gps coordinates from the web service. I'm still too
>> busy with other things to get to that.
>
> I was thinking maybe I could try to draft something, apparently even if it's bad
> it's enough to motivate people to move on it :)
>
> What I was wondering is if I should look at exporting the information in xml in
> addition to the json I use now. I might make more sense / be easier for the
> client to parse xml rather than json. Since I have done neither in C, I'm
> calling for your wisdom (as it might mean adjusting the webservice before trying
> to do something in the client).

I haven't done this from C, either. Has anyone written a webservice
interface from C? What's easier to extract? My guess would be "we have
an XML parser, let's just use that", but I really don't know...

/D


More information about the subsurface mailing list