1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/docs/wiki/Roadmap Tue Apr 09 16:30:39 2019 +0200
1.3 @@ -0,0 +1,58 @@
1.4 += Roadmap =
1.5 +
1.6 +Some future objectives for the software.
1.7 +
1.8 +== HTML Parsing ==
1.9 +
1.10 +Parsing of HTML fragments would be done to permit translation into the Moin
1.11 +document tree. This would then allow round-trip conversion:
1.12 +
1.13 +########## A graph showing the process is given below...
1.14 +
1.15 +{{{#!graphviz
1.16 +//format=svg
1.17 +//transform=notugly
1.18 +digraph htmlparsing {
1.19 + node [shape=box,fontsize="13.0",fontname="Helvetica",tooltip="The MoinLight architecture"];
1.20 + edge [tooltip="The MoinLight architecture"];
1.21 + rankdir=LR;
1.22 +
1.23 + moin [label="Moin content",shape=folder,style=filled,fillcolor=cyan];
1.24 +
1.25 + subgraph {
1.26 + rank=same;
1.27 + moinparser [label="Moin parser"];
1.28 + moinserialiser [label="Moin serialiser"];
1.29 + }
1.30 +
1.31 + subgraph {
1.32 + rank=same;
1.33 + tree1 [label="Document tree",shape=folder,style=filled,fillcolor=cyan];
1.34 + tree2 [label="Document tree",shape=folder,style=filled,fillcolor=cyan];
1.35 + }
1.36 +
1.37 + subgraph {
1.38 + rank=same;
1.39 + htmlserialiser [label="HTML serialiser"];
1.40 + htmlparser [label="HTML parser"];
1.41 + }
1.42 +
1.43 + html [label="HTML content",shape=folder,style=filled,fillcolor=cyan];
1.44 +
1.45 + moin -> moinparser -> tree1 -> htmlserialiser -> html -> htmlparser -> tree2 -> moinserialiser -> moin;
1.46 +}
1.47 +}}}
1.48 +
1.49 +########
1.50 +
1.51 +Pages could be retained for storage in Moin format, presented in a Web browser
1.52 +in HTML, edited using HTML editing controls, and then converted back for
1.53 +storage.
1.54 +
1.55 +In order to maintain various details of the original document, additional
1.56 +annotations would be employed in the generated HTML. Such annotations would
1.57 +appear within `class` attribute values, encoding details of the original
1.58 +content such as indentation, padding and other aspects of that content which
1.59 +are superfluous or inappropriate to the core HTML representation of the
1.60 +document, but which can be interpreted in order to restore the form of the
1.61 +original document.