Hacker News new | ask | show | jobs
by emteycz 2099 days ago
Sadly no one really publishes books as HTML.
4 comments

Not sure if this is sarcastic but FYI:

https://en.wikipedia.org/wiki/Comparison_of_e-book_formats

(spoiler, most of them are HTML/CSS)

Most books I saw were epub and pdf. They say epub is some XML, ok. But I don't see how the number of existing HTML based formats is relevant
> They say epub is some XML, ok.

Epub is HTML and CSS bundled in a zip file following a specific directory tree layout and containing a few metadata files.

Epub 3 is HTML5.

Open LibreOffice, create a doc, save it as Epub, and unzip the file. See for yourself.

That's cool, thanks!
Aren't the most popular ebook formats based on HTML?
They do, they just don't end up being called books. I'm a big fan of http://learnyouahaskell.com/
That's awesome stuff there
Lots of books (in major digital bookstores like ibooks) are published as "epub" which is basically html.