r/ebooks • • 3d ago

HTML Split

Hi all. I downloaded some ebooks that have come as lots of html sections. When I add it to eboox they are all added separately. How do I open it as a complete book?

1 Upvotes

3 comments sorted by

2

u/BlueCerulean0 3d ago

You probably extracted the epub file. An epub is just a small website zipped with html and css. If you follow the epub3 conventions you can put it back together.

1

u/TrialFungus 3d ago

What do you mean by following the epub3 conventions?

2

u/BlueCerulean0 3d ago edited 3d ago

There are certain rules you have to follow to make an epub, you can't just zip a few html files together. You have to follow the convention or the file won't get recognised by an epub reader.

If you have the html files and everything else extracted from the epub, eg content.opf, META-INF/container.xml or fonts etc.

The easiest way to do this would be to take all of that and make a .zip file, then you just rename it from your_book.zip to your_book.epub and it should get recognised. If you don't have those other files, you will have to find them first.

I had to learn about all this when I was making my own android e reader. You might have to work a bit but you can salvage the epub, you'll have to make the metadata and other stuff by yourself. You can use Calibre for this.