view pyink/html5css3.py @ 1341:599b606c4669

Start to implement HTML5/CSS3 exporter
author Thinker K.F. Li <thinker@codemud.net>
date Mon, 07 Feb 2011 21:54:03 +0800
parents
children ce19a11657a7
line wrap: on
line source

import pybExtension

class html5css3_ext(pybExtension.PYBindExtImp):
    def save(self, module, doc, filename):
        print 'save to ' + filename
        pass
    pass

extension = (html5css3_ext(),
             'net.scribboo.html5css3',
             'HTML5/CSS3 exporter',
             'output',
             {'extension': '.html',
              'mimetype': 'text/html',
              '_filetypename': 'HTML5/CSS3 (*.html)'})