Yeah, this is the real solution... mod_status should produce just JSON and there are addable filters (or providers) that take that canonical output and xlate it to whatever format the end-user wants.
> On Nov 30, 2016, at 1:38 PM, Nick Kew <[email protected]> wrote: > > On Wed, 2016-11-30 at 12:54 -0500, Jim Jagielski wrote: >> I'm thinking about adding JSON support to mod_status... >> the "plain" version output really stinks and lacks parity >> w/ the info we provide via HTML, and it would be nice >> to produce a really easily parseable format. >> >> Thoughts...? > > Ideally that should be the job of an output filter. > If mod_status were to generate a single standard-ish > format, like JSON or XML, a general-purpose filter > could generate other formats. > > -- > Nick Kew >
