outdated
Currently implemented rendering system
- parser
- Converts source into calls for the formatter object.
- formatter
- Writes output.
Proposal
Each source type is converted into a DOM-Tree as internal representation with type application/x-mwml+xml.
Converters
Converters convert between two types.
Types
The storage of each type is properly defined to make it possible to chain converters.
New types
- application/x-mwml+xml
MWML (MoinMoin Wiki Markup Language)
- text/x-wiki
- Wiki
Examples
- text/x-wiki to application/x-mwml+xml
- Complete tree.
- image/* to application/x-mwml+xml
- One image node. This means that a direct call of a image/*-page will produce a page (with wiki elements) which only contains the image.
- application/x-mwml+xml to application/xhtml+xml
- Produce the html output.
Possibilities
- Include of other pages (which may be images) or inline content of other type.