ScerIO / epubx.dart

Epub Reader and Writer for Dart
MIT License
40 stars 85 forks source link

make epub from scratch #6

Open dokosho02 opened 2 years ago

dokosho02 commented 2 years ago

Can you provide an example of creating epub from scratch? I would like to generate epub from String content (web scraping or RSS). But the only example seems to be an epub reader.

hobleyd commented 2 years ago

I'm also interested in this.

I am working through it myself, but for some reason EpubSchema appears not to be exposed, so I can't create the manifest myself. Am I missing something?

hobleyd commented 2 years ago

Also, I note that navigation_writer.dart doesn't exist. Is that planned at all?

dokosho02 commented 2 years ago

Hi, I am no so familiar with dart. And I have solved this problem using Kotlin for Android, inspired by this tutorial.

And in fact it is easy, create html, image, css, and some other metadata files, then zip them together as an epub file...

So I think we can make an epub file from scracth without using epubx package.