Home Beta programs |
Welcome to Mobipocket Developer Center |
Creating ContentGetting StartedWhat is the Mobipocket file formatHow do I create a Mobipocket eBookStandard eBooksAdvanced eBooks eBook features Cross-platform feature supportImage supportTable supportCover PageParagraph rendering and hyphenationHyperlinksGuide itemsFramesIndexes and DictionariesSectionsAuthoring tips Extended eBook features DatabasesSQL queriesJavascriptHTML forms Reference Open-eBook HTML tagsSupported HTML entitiesHTML form tagsMobipocket custom tagsOPF x-metadata tagsMobipocket URLsMobipocket Document Object Model (DOM)Mobipocket Active Server Pages (ASP)Mobipocket Active Data Objects (ADO)Mobipocket Javascript Objects Medical Drug interaction module Advanced topics Setting margins |
Contents Introduction Reflowable vs. fixed layout Why is the Mobipocket file format adapted for eBooks The OPF source format The source format and the binary format More information about the Mobipocket file format IntroductionThe Mobipocket file format is a binary format for the distribution of eBooks. It is one implementation of the Open eBook Publication format with a number of proprietary extensions. The Open eBook Publication format is developed and specified by the IDPF (International Digital Publishing Forum) an independent organization formerly known as the Open eBook Consortium. As a consequence, the Mobipocket format is based on HTML and is reflowable. Mobipocket supports most features of standard HTML to format and layout text and images. Reflowable vs. fixed layoutPublication file formats can be separated into two categories, reflowable formats and fixed layout formats (but the distinction is not always that simple). Fixed layout formats are typically designed for printing, they include PostScript and Adobe PDF. A vast majority of PDF files have a fixed layout, but occasionally some PDFs can contain extensions to make them reflowable. The content of fixed layout files is displayed the same way things will appear once printed. Images, words, paragraphs, columns are positioned at fixed coordinates within a page. The size of the page is imposed. Reflowable formats are typically designed to be displayed on a screens for which the size is not known or imposed. HTML and plain text are reflowable formats.
Mobipocket is a reflowable file format. There is no way to create Mobipocket eBooks with a fixed page layout. Why is the Mobipocket file format adapted for eBooksMobipocket eBooks are designed to be read on a variety of devices and not just desktop PCs. The file format was design to solve a number of problems that arise when you try to display content on devices that have very differing capabilities. Specifically, the file format solves the following issues:
The IDPF source formatThe OPF (Open Publication Format) is a standard of the IDPF that defines how to make a publication for electronic reading devices. The .OPF file is an XML data file which describes two things:
Figure 4: an OPF publication: one master XML file, multiple HTML content files The Mobipocket Creator, which is the tool to create and build Mobipocket eBooks, manipulates OPF files natively. The source format and the binary formatAn OPF publication is meant to be used when exchanging data between publishers or between a service company and a publisher, or between a publisher and a retailer. It is not meant to be delivered to the reading device of the customer. The OPF publication must first be compiled into a binary eBook. Once compiled, an eBook is fit to be viewed on reading devices but cannot be modified anymore. To modify the eBook, the source OPF publication must be modified and then recompiled. The compilation of an eBook can be performed with Mobipocket Creator and includes the following steps:
Figure 5: the generation of an eBook from an OPF source publication More information about the Mobipocket file formatHow do I create a Mobipocket eBook file |
© Copyright 2000-2007 Mobipocket.com