← Back to team overview

zim-wiki team mailing list archive

Parse tree and metadata


When I convert (dump) the parse tree of a page with metadata:

    cat page.txt | python -m zim.formats wiki > foo.xml

then the metadata comes out as a leading text paragraph, e.g.

<p>Content-Type: text/x-zim-wiki
Wiki-Format: zim 0.6
Template: Bar

Shouldn't this be parsed, e.g.

<item name="Content-Type">text/x-zim-wiki</item>
<item name="Wiki-Format">zim 0.6</item>
<item name="Template">Bar</item>

or something similar?

-- Johan