lib/epub/constants.rb in epub-parser-0.1.2 vs lib/epub/constants.rb in epub-parser-0.1.3
- old
+ new
@@ -5,15 +5,17 @@
'ocf' => 'urn:oasis:names:tc:opendocument:xmlns:container',
'opf' => 'http://www.idpf.org/2007/opf',
'xhtml' => 'http://www.w3.org/1999/xhtml',
'epub' => 'http://www.idpf.org/2007/ops',
'm' => 'http://www.w3.org/1998/Math/MathML',
- 'svg' => 'http://www.w3.org/2000/svg'
+ 'svg' => 'http://www.w3.org/2000/svg',
+ 'smil' => 'http://www.w3.org/ns/SMIL'
}
module MediaType
class UnsupportedError < StandardError; end
+ EPUB = 'application/epub+zip'
ROOTFILE = 'application/oebps-package+xml'
IMAGE = %w[
image/gif
image/jpeg
image/png