--- a/src/cm/views/export.py Thu May 24 12:48:39 2012 +0200
+++ b/src/cm/views/export.py Thu May 24 14:42:22 2012 +0200
@@ -19,6 +19,7 @@
'docx' : {'mimetype': 'application/vnd.openxmlformats-officedocument.wordprocessingml.document', 'extension':'docx'},
'latex' :{'mimetype': 'text/x-tex', 'extension':'tex'},
'html' :{'mimetype': 'text/html', 'extension':'html'},
+'epub' :{'mimetype': 'application/epub+zip', 'extension':'epub'},
# raw export
'raw' : {'mimetype': 'text/plain', 'extension':'txt'}
}
@@ -161,6 +162,7 @@
'docx' : [True , 'application/vnd.openxmlformats-officedocument.wordprocessingml.document', 'docx'],
'latex' :[True , 'text/x-tex', 'tex'],
'html' :[True , 'text/html', 'html'],
+'epub' :[True , 'application/epub+zip', 'epub'],
# raw export
'raw' : [True, 'text/plain', 'txt']
}