forked from 4akloon/epub_plus
-
-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Description
Hello!
Is there a way to mutate an existing copy of the book?
Or how to create a minimal working version of epub with the lib? I filled in all required fields, but the file is corrupted when being saved. What do I need more?
I had an idea to read an existing epub book and change it with my info, but it seems like I cannot modify the book when read it.
var book = EpubBook(
title: "Test",
author: "No author",
content: EpubContent(
allFiles: {},
),
schema: EpubSchema(
package: EpubPackage(
version: EpubVersion.epub2,
metadata: EpubMetadata(),
manifest: EpubManifest(),
spine: EpubSpine(
ltr: true,
tableOfContents: "",
),
guide: EpubGuide(),
),
),
chapters: [
EpubChapter(
title: "Chapter",
htmlContent: "<div>Test something</div>",
)
]
);
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels