View Single Post
Old 09-14-2016, 01:06 PM   #6
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,737
Karma: 24031401
Join Date: Dec 2010
Device: Kindle PW2
@two_wheels: IMHO, the best approach would be to offer StarDict and Kindle dictionaries. This should cover most platforms and for each format at least one free reading app exists. Also many Android epub reading apps have hooks for third-party dictionary apps.

Since StarDict dictionaries can't be DRM-protected, you'll have to sell them on your own website or include a password-protected download link in the epub.

Depending on the bookstore, you also might be able to create an epub3 book with JavaScript that searches an embedded sqlite database.

I toyed with this idea some time ago and created a proof-of-concept epub3 book that allows you to search a 10 word English-French word list.

Unfortunately, it only works with the iOS and Android versions of ADE 4.5 and Azardi. (It doesn't work with Sigil or Calibre Editor.)
However, since I only have rudimentary JavaScript skills there might be a bug in one of the JavaScript files.
Attached Files
File Type: epub sqlite_dictionary.epub (412.3 KB, 192 views)

Last edited by Doitsu; 09-14-2016 at 01:23 PM.
Doitsu is offline   Reply With Quote