Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Formats > Workshop

Notices

Reply
 
Thread Tools Search this Thread
Old 02-27-2015, 05:24 AM   #1
Ricsie
Junior Member
Ricsie began at the beginning.
 
Posts: 7
Karma: 10
Join Date: Feb 2015
Device: Kindle
Create Kindle dictionary from html files(or chm)

Hello,

I have a dictionary in chm and also decompressed chm, html files.

Is there any tutorial how to creat ekindle dictionary from this? I saw few posts that its easy from html but all guides are for Tab-separeted txt files

these are the dictionary files:
chm
Code:
https://mega.co.nz/#!B1dCWLRT!fdz-N95Ci4uoCRvn7cwd_BurlrAKbuLJQotthZc-CIg
html in zip
Code:
https://mega.co.nz/#!g8NjlaLJ!ksV-O3UiINCwZth4PNDVdAKAUygMJDb5lB50wkPf8aA
Ricsie is offline   Reply With Quote
Old 02-27-2015, 07:23 AM   #2
pdurrant
The Grand Mouse 高貴的老鼠
pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.
 
pdurrant's Avatar
 
Posts: 71,490
Karma: 306214458
Join Date: Jul 2007
Location: Norfolk, England
Device: Kindle Voyage
As far as I know, the only thing that creates Kindle dictionaries is Mobipocket Creator, using the markup specified here.

But I might be out of date.
pdurrant is offline   Reply With Quote
Old 02-28-2015, 08:44 AM   #3
Doitsu
Grand Sorcerer
Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.
 
Doitsu's Avatar
 
Posts: 5,582
Karma: 22735033
Join Date: Dec 2010
Device: Kindle PW2
Quote:
Originally Posted by pdurrant View Post
As far as I know, the only thing that creates Kindle dictionaries is Mobipocket Creator[...]
Kindle dictionaries can also be generated with Kindlegen. However, since Amazon apparently hasn't updated the mobi7 dictionary code in a while, I'd also recommend using Mobipocket Creator instead, because it'll automatically generate an .opf file with the non-standard entries required for Kindle dictionaries.

@Ricsie:
A minimal dictionary source file with two entries (and inflections) looks like this:

Code:
<html>
<body>

<idx:entry>
	<b><idx:orth>book
	<idx:infl>
		<idx:iform value="books"/>
	</idx:infl>
	</idx:orth> </b> 
	<i>noun</i> <br/>
	A written or printed work
</idx:entry>
<br/>
<hr/>

<idx:entry>
	<b><idx:orth>go
	<idx:infl>
		<idx:iform value="goes"/>
		<idx:iform value="going"/>
		<idx:iform value="went"/>
		<idx:iform value="gone"/>
	</idx:infl>
	</idx:orth> </b> 
	<i>verb</i> <br/>
	To move from one place to another
</idx:entry>

</body>
</html>
I.e., your workflow would be as follows:

1. Open each .html file with a text editor and wrap each dictionary entry in <idx:entry>...</idx:entry> tags and each headword in <idx:orth>...</idx:orth> tags using regular expressions.
2. Create a new dictionary project with Mobipocket Creator and add all .html files.
3. Add the dictionary metadata and compile the dictionary.
Doitsu is offline   Reply With Quote
Old 02-28-2015, 08:53 AM   #4
Ricsie
Junior Member
Ricsie began at the beginning.
 
Posts: 7
Karma: 10
Join Date: Feb 2015
Device: Kindle
Thank you very much to both of you. Now Its all clear to me what and how to do it :-)

Thank you!!

Doitsu, great answer!! It solved every question I've had
Ricsie is offline   Reply With Quote
Reply

Tags
dictionary, guide, html, kindle

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I create my own Dictionary for Kindle Paperwhite Infinite3 Amazon Kindle 4 02-16-2015 08:25 AM
How do I create my own Dictionary for Kindle Paperwhite Infinite3 Amazon Kindle 5 02-16-2015 07:08 AM
how do pirated chm files appear on the kindle? med007 Amazon Kindle 20 02-06-2011 02:48 PM
HTML to image and CHM to images and CHM to LRF caritas LRF 0 12-14-2008 07:58 AM
What format is best to create from chm file romanas iRex 7 09-21-2008 05:54 AM


All times are GMT -4. The time now is 12:02 AM.


MobileRead.com is a privately owned, operated and funded community.