XML Output: libxo - provide single API to output TXT, XML, JSON and HTML
Alfred Perlstein
bright at mu.org
Wed Jul 30 02:11:26 UTC 2014
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
More information about the freebsd-arch
mailing list