As of Kotobee Author v1.3.0, you will be able to import HTML into your ebook. The greatest advantage of importing HTML over PDF, is that HTML is a responsive scripting language. This means that the content you import will be reflowable. A point worth mentioning is that PDF is a fixed-layout format. However, when exporting a PDF document as an HTML file, sometimes the reflowable nature of the document is retrieved. For more information, on fixed layouts and reflowable layouts, please read: Understanding reflowable / fixed layout modes.


Importing HTML to your ebook opens several possibilities for you:

  • Exporting HTML from third-party software (e.g. Microsoft Word), and importing them Kotobee Author. You can either export HTML from inside Word, or use many of the available online services such as http://www.zamzar.com/convert/docx-to-doc/.
  • Easily dividing a large HTML file into chapters/subchapters according to specified markers or tags in the document.
  • Converting a website (e.g. Wikipedia topics) into an ebook, with automatic chapter/subchapter generation.


HTML Source


The HTML that you import into your ebook can be either pulled from a local file or a remote URL (online website). The importer will also look for any referenced images, fonts, or general files being relatively referenced by the HTML source (see the option "Make remote content available offline" below). So the input is not a single HTML file, but everything being referenced by it as well.



Options


Default chapter title If it's difficult extracting the chapter title from the HTML, this default title will be used instead.
Parent chapter Control the nesting level of your imported chapters. You may choose them to be a subchapter of any existing chapter in your book
Make remote content available offline
Referenced files which are online, will be downloaded and stored inside your ebook, to make it available offline
Adjust internal links In case the HTML is divided into multiple subchapters, internal HTML links will be adjusted to point to the relevant subchapter
Exclude stylesheets Do not include CSS stylsheets from the HTML source. This may be useful if you are importing HTML from a website with heavily customized CSS.



Automatically generating chapters and subchapters


You can split the imported HTML into chapters and subchapters depending on criteria composed of HTML tags and markers. The HTML content will be scanned, and whenever the tag or marker is found, a new chapter or subchapter is generated.



By clicking on the Add deeper scanning button an additional subchapter level is added, using an additional tag or marker. For obvious reasons, the same tag or marker may not be used for different chapter levels. The currently supported HTML tags are H1, H2, H3, H4, P, DIV, SECTION. Markers may be used in multiple levels, where the marker is entered manually by you. By checking the Delete marker from content checkbox, once the marker is found, it will be deleted from the HTML. This guarantees that the marker does not interfere with the content, and is used solely as a placeholder. Note that splitting by markers is a feature for paid users only.