It is no secret at all. An ePUB is just XHTML zipped in a special way. You need some other files, but they are also all text based. It is not really difficult.
If you want it a little easier, fire up Sigil and import your HTML. If you enter your metadata (F6 I believe) and save you have an ePUB. Only, in Sigil you can tweak your ePUB with margins and so on.
|