Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Writing/modifying of epubs #11

Open
ghost opened this issue Dec 27, 2019 · 2 comments
Open

Writing/modifying of epubs #11

ghost opened this issue Dec 27, 2019 · 2 comments

Comments

@ghost
Copy link

ghost commented Dec 27, 2019

I was thinking about writing a small library for editing the opf file in epubs but felt like it should instead be a part of this crate which I use for reading the metadata anyways. It would be nice if this library had APIs for not only reading but writing epubs, although that may be out of scope for this project.

@danigm
Copy link
Owner

danigm commented Dec 28, 2019

I think it's a good idea to add an API to edit files.

To do that we should implement the save method, to pass from memory to an epub file, because right now there's only code to read a file and store it in memory as a tree with custom structs

@wingertge
Copy link

I'd also add constructing Epub files from in-memory data to that, for things like conversion between formats. I'd be willing to implement these changes myself and make a PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants