[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#647565: madison.cgi: make it produce an easier to parse output



Sandro Tosi schrieb am Mittwoch, den 09. November 2011:

Hi,
> > * Sandro Tosi <morph@debian.org>, 2011-11-04, 00:41:
> >>
> >> currently madison.cgi (and it's rmadison command friend) doesn't emit an
> >> easy-to-parse output: please enable it. yaml, whatever that's easy from a
> >> programming language to parse and understand.
> >
> > Why parsing the current output is hard?
> 
> It's not hard, but it's not even that much easily machine parsable as
> some other formats. Also, every clients needing to parse information,
> needs to implement its own parser, instead of getting data alraedy
> structurated.
> 
> It's not i'm stuck if this is not fixed, the parser it's at [1], still
> I won't call it that optimal.
Some time ago I did some work on madison.cgi and afair a json/yaml/whatever
output should be possible. Maybe I will fine some time later to implement
that.

Alex
-- 
Alexander Wirt, formorer@formorer.de 
CC99 2DDD D39E 75B0 B0AA  B25C D35B BC99 BC7D 020A



Reply to: