#!/usr/bin/env python # -*- encoding: latin1 -*- # # Copyright 2007 Scott Kirkwood """Convert a Memory Map File into an S5 presentation If you create a mind map with FreeMind the title of the mind-map (center circle) will be the title of the slide. A top level node called "__meta__" can be used to set the metadata for the presentation. The immediate children are keys and it's first child is a value. title: Title of presentation, not needed since I get it from the top node subtitle: Witty subtitle of the presentation author: You probably want to change this. company: And this template: which subdirectory to use under the "ui" directory, 'default' is default presdate: Date of the presentation content_type: defaults to 'application/xhtml+xml; charset=utf-8' header: footer: If the first character of the first line is a '<' then we won't add the the
%s | ' % (indent, col.attrib['TEXT'])) lines.append('%s