Mercurial > MadButterfly
comparison 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 |
comparison
equal
deleted
inserted
replaced
1340:10d5f06f7566 | 1341:599b606c4669 |
---|---|
1 import pybExtension | |
2 | |
3 class html5css3_ext(pybExtension.PYBindExtImp): | |
4 def save(self, module, doc, filename): | |
5 print 'save to ' + filename | |
6 pass | |
7 pass | |
8 | |
9 extension = (html5css3_ext(), | |
10 'net.scribboo.html5css3', | |
11 'HTML5/CSS3 exporter', | |
12 'output', | |
13 {'extension': '.html', | |
14 'mimetype': 'text/html', | |
15 '_filetypename': 'HTML5/CSS3 (*.html)'}) |