Bug#647565: madison.cgi: make it produce an easier to parse output
Alexander Wirt wrote:
>> > * 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.
How about consuming a web service?
I've been thinking about exporting a few things via xml-rpc, but soap is
already used by the BTS and the PTS so I might just stick to that.
I don't think yaml or any other representation is appropriate. It would only
hide the parsing while the querying is still custom-made.
> You may want to try the attached patch for madison.cgi. It adds a yaml
> parameter which produces an output like:
Huh, an exported "Dump," creepy. ;)
Cheers,
--
Raphael Geissert - Debian Developer
www.debian.org - get.debian.net
Reply to: