aboutsummaryrefslogtreecommitdiffstats
path: root/xml
Commit message (Collapse)AuthorAgeFilesLines
* Added ability to handle non text/* MIME types.W. Trevor King2009-06-261-4/+7
| | | | | | | | | | | | | | | | The main problem was the encoding/decoding that was happening to _all_ input/output. Now many I/O activities have a `binary' option to disable any encoding/decoding. The `binary' flag is set whenever the comment content-type is not a text/* type. In order to print valid XML (and make life easy on xml/be-xml-to-mbox), non text/* types are printed out as base64-encoded MIME messages, so be list --xml | be-xml-to-mbox | catmutt works as you'd expect. With the standard (non-XML) output from `be show', we just print a message telling the user that we can't reasonably display the MIME type and that they should use the XML output if they want to see it.
* Added extra_strings functionality to libbe.bug.xml and be-xml-to-mbox.W. Trevor King2009-06-251-8/+19
|
* Use Comment.content_type in xml output.W. Trevor King2009-06-221-2/+6
|
* Created be-xml-to-mbox.W. Trevor King2009-06-221-0/+181
| | | | | | Converts the output of `be list --xml` mbox format. For example: $ be list --xml | be-xml-to-mbox | catmutt
* Adjusted catmutt for portability following Mortiz' suggestions.W. Trevor King2009-06-221-5/+5
|
* Converted xml/grepm to xml/catmutt.W. Trevor King2009-06-222-65/+59
| | | | | | Now $ cat example.mbox | catmutt works. Onwards to be-xml-to-mbox!
* Added grepm as a template for an output-mbox-to-mutt script.Moritz Barsnick (at dot)2009-06-221-0/+65
The goal is to turn grepm into catmutt, and end up with $ be --xml list | be-xml-to-mbox | catmutt to browse current bugs and comments in mutt. Moritz has generously donated grepm under GPLv2. Not GPLv>=2 yet, so if the project decides to go to GLPv3 for example, this file will have to stay behind. Not that I see such a change coming, but I thought it was worth commenting on, so we don't forget.