BUPE v0.3.0 BUPE.Parser
An EPUB 3 conforming parser. This implementation should support also EPUB 2.
Example
BUPE.Parser.parse("sample.epub")
#=> %BUPE.Config{
title: "Sample",
creator: "John Doe",
unique_identifier: "EXAMPLE",
pages: ["bacon.xhtml", "ham.xhtml", "egg.xhtml"],
nav: [
%{id: "ode-to-bacon", label: "1. Ode to Bacon", content: "bacon.xhtml"},
%{id: "ode-to-ham", label: "2. Ode to Ham", content: "ham.xhtml"},
%{id: "ode-to-egg", label: "3. Ode to Egg", content: "egg.xhtml"}
]
}
Summary
Functions
EPUB v3 parser