Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 29 Jul 2014 22:41:38 -0700
From:      "Simon J. Gerraty" <sjg@juniper.net>
To:        Garance A Drosehn <drosih@rpi.edu>
Cc:        Alfred Perlstein <bright@mu.org>, freebsd-arch@freebsd.org
Subject:   Re: XML Output: libxo - provide single API to output TXT, XML, JSON and HTML
Message-ID:  <20140730054138.CE881580A2@chaos.jnpr.net>
In-Reply-To: <448BB170-6DDC-442B-A5C5-973EC35FF7B9@rpi.edu>
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> <53D85495.4050408@mu.org> <448BB170-6DDC-442B-A5C5-973EC35FF7B9@rpi.edu>

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

On Tue, 29 Jul 2014 23:19:39 -0400, Garance A Drosehn writes:
>One question that comes up is how to organize the data in the output the
>command creates.  For instance, my experiment is just trying to mimic a

Good point and frankly a good reason to have the work done by someone
who's been doing exactly that sort of thing (successfully) for well over
a decade.

>I personally don't expect unix commands to output HTML, and I find XML a 
>bit
>unwieldy to work with.  But in my own bikeshed I'm interested in formats 

Both are horrendous formats ;-) but there are abundent tools to work with
them and json too I believe.

A modern browser with off the shell javacript/json "thingies" (you can
tell I'm not a web developer ;-) can allow some very slick stuff with
the sort of info we can output from our UI - and this lib let's any app
do the same thing.

--sjg



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