Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 29 Jul 2014 19:12:37 -0700
From:      Alfred Perlstein <bright@mu.org>
To:        freebsd-arch@freebsd.org
Subject:   Re: XML Output: libxo - provide single API to output TXT, XML, JSON and HTML
Message-ID:  <53D85495.4050408@mu.org>
In-Reply-To: <20140729230345.31E9B580A2@chaos.jnpr.net>
References:  <20140725044921.9F0D3580A2@chaos.jnpr.net> <CAETOPp13H7kyLy-1VJRDOsDbOh8A1MWZDxw1xHUBsxTRtMfc7g@mail.gmail.com> <20140728054217.AC1A0580A2@chaos.jnpr.net> <20140728055336.GJ50802@ivaldir.etoilebsd.net> <CAETOPp3hJB8Gj%2BPMj3N951krnNqCYiAOY-cPHxMCBy1CQXWJaQ@mail.gmail.com> <A1E63A7A-BB38-4CC3-B5EC-B251BE990572@mail.turbofuzz.com> <20140729230345.31E9B580A2@chaos.jnpr.net>

next in thread | previous in thread | raw e-mail | index | archive | help

On 7/29/14 4:03 PM, Simon J. Gerraty wrote:
> On Mon, 28 Jul 2014 21:49:08 -0700, Jordan Hubbard writes:
>> I=92m a huge fan of unified data formats; Apple picked XML and the plist DT=
> We did too, and it has indeed been useful.
> Being able to render rich html has also proven very cool given the
> improvment in browsers in the last several years.
>
> The point I was making earlier (perhaps not very well) was that the api
> Phil has proposed provides enough clue to allow outputting plain text as
> well as that rich html.  IIRC the main wrinkle json imposes is a need for
> extra structure calls - due to the way lists (I think) are handled,
> anyway if the api can handle json and html it should be possible to add
> rendering for others should that prove necessary one day - hopefully
> without having to revisit any of the apps.
>

Is JSON not handled?

How many utils are converted over at this point?

Have you seen the GSOC project which aims to do this as well? "machine 
readable output from userland utilities" -> 
https://www.google-melange.com/gsoc/project/details/google/gsoc2014/zarko_korchev/5676830073815040

-Alfred




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?53D85495.4050408>