From e555494626790aabcb838227d8e7115bf3081da8 Mon Sep 17 00:00:00 2001 From: KatolaZ Date: Sat, 4 Jan 2020 02:08:24 +0000 Subject: add minimal README.md --- README.md | 56 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 56 insertions(+) create mode 100644 README.md (limited to 'README.md') diff --git a/README.md b/README.md new file mode 100644 index 0000000..5d7fd47 --- /dev/null +++ b/README.md @@ -0,0 +1,56 @@ +xml2tsv +======= + +This is a simple xml-to-tsv converter written in C and based on the +xmlparser library by Hiltjo Posthuma. + +The filter reads an XML file from stdin and writes a +tab-separated-values file on stdout. For instance, the XML content +below: + + + + + + + + + + Motherfucking Website + + + +
+

This is a motherfucking website.

+ +
+ + + +is transformed in the following lines: + + /html + /html/head + /html/head/meta charset=utf-8 + /html/head + /html/head/meta name=viewport content=width=device-width, initial-scale=1 + /html/head \n \n + /html/head/title Motherfucking Website + /html/body + /html/body/header + /html/body/header/h1 This is a motherfucking website. + /html/body/header/aside And it's fucking perfect. + +Customisation +============= + +It is possible to customise several aspects of the output by changing +values in `config.h`. Please see the comments within that file for more +details. + +Copying +======= + +`xml2tsv` is (c) 2020 by Vincenzo "KatolaZ" Nicosia. It can be used, +distributed, modified, and redistributed under the terms of the ISC +License. See the file LICENSE for more details. -- cgit v1.2.3