| 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 Advanced content a) A simple dictionary b) An advanced dictionary c) Scientific content / collection of articles Advanced contentHow to create advanced contentThe digital assets for advanced content like scientific reference books or dictionaries usually are maintained in a structured format like a database or XML files. In order to create a Mobipocket dictionary, you will need some sort of program or script to transform the structured source data into formatted HTML with special indexing tags. Mobipocket does not impose any form of source data. However, we do not provide any standard transformation system either. You should develop the transformation tool that is the most adapted for your content. The Mobipocket Creator and KindleGen do however natively support XML+XSL to transform structured XML content into XHTML. We do not impose nor provide a DTD for the source XML nor an XSL to produce the right kind of XHTML. If you have exported your source data to XML and have built the right XSL stylesheet to transform this data, here is how you can use them in the Creator:
a) A simple dictionaryIntroductionDictionaries are special types of Mobipocket eBooks.
Note: If you want to build a bidirectional bilingual dictionary (French-English and English-French for example), you absolutely have to create two separate eBooks. One for the French-English part and one for the English-French part. The lookup mechanism requires dictionaries to be setup this way. It is However possible to sell these two books bundled together. Setting up a publication to make a dictionary
Special index tags to use in the contentIn order to make an alphabetical index, you have to use special tags that do not exist in HTML to tell the Mobipocket Creator or KindleGen to index certain words. The The Here is an example of an extremely simple entry that could be part of an English dictionary. In this example, the word "chair" will appear in the index list and can be searched by users. <idx:entry><idx:orth>chair</idx:orth> a seat for one person, which has a back, usually four legs and sometimes two arms <idx:entry> Simple dictionary sampleThis example only uses the <h1 bgcolor="#FFEBD6"> <idx:orth>chair</idx:orth></h1> <p><font color="#AA0000">noun</font> a seat for one person, which has a back, usually four legs and sometimes two arms</p> <p><b>Etymology:</b> from Latin "cathedra"</p> <p> </p> <div align="center" bgcolor="#FFEBD6"><a onclick="index_search();">Lookup</a> | <a onclick="history.back();">Back</a></div> <idx:entry> In the final Mobipocket eBook, this appears as: chair
noun a seat for one person, which has a back, usually four legs and sometimes two arms Etymology: from Latin "cathedra" Lookup | Back
b) A complete dictionaryDescription coming soon...(april. 2008), check the sample now : c) Scientific content / collection of articlesIntroductionMobipocket indexes are especially adapted to Scientific content:
Special index tags to use in the contentIn order to make an alphabetical index, you have to use special tags that do not exist in HTML to tell the Mobipocket Creator or KindleGen to index certain words. The The The Here is an example of an extremely simple entry that could be part of a collection of articles. In this example, the article "Algebraic number" will appear in the index list and can be searched by users and keywords "algebraic", "number", "root", "polynomial", ... will appear in the keyword index list. <idx:entry><idx:orth>Algebraic number</idx:orth> An <idx:key name="keyword">algebraic</idx:key> <idx:key name="keyword">number</idx:key> is the <idx:key name="keyword">root</idx:key> of a non-zero <idx:key name="keyword">polynomial</idx:key> with <idx:key name="keyword">integer</idx:key> (or equivalently <idx:key name="keyword">rational</idx:key>) coefficients. Numbers that are not algebraic are called <idx:key name="keyword">transcendental</idx:key> numbers. <idx:entry> Simple article sampleThis example only uses the <h2 bgcolor="#FFEBD6" id="Algebraic_number"> <idx:orth><idx:key name="keyword">Algebraic number</idx:key></idx:orth></h2> <p>An <idx:key name="keyword">algebraic</idx:key> <idx:key name="keyword">number</idx:key> is the <idx:key name="keyword">root</idx:key> of a non-zero <idx:key name="keyword">polynomial</idx:key> with <idx:key name="keyword">integer</idx:key> (or equivalently <idx:key name="keyword">rational</idx:key>) coefficients. Numbers that are not algebraic are called <idx:key name="keyword">transcendental</idx:key> numbers. </p> <p> </p> <div align="center" bgcolor="#FFEBD6"> <a onclick="index_search()">Articles</a> | <a onclick="filtered_index_search('','keyword');">Keywords</a> | <a onclick="history.back()">Back</a> </div> </idx:entry> <mbp:pagebreak /> Try and play with the following sample of articles collection in the Mobipocket reader : |
© Copyright 2000-2007 Mobipocket.com