![]() |
#391 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,085
Karma: 91577715
Join Date: Nov 2011
Location: Charlottesville, VA
Device: Kindles
|
Thanks for the kind words, odamizu and mattmc.
By being so secretive about the workings of KFX, Amazon has made it an interesting mystery for me. I have enjoyed delving into its secrets. For me this has been driven by academic interest, rather than any practical need. I don't sideload books. Most of my reading material is sourced from Amazon and so already supports enhanced typesetting. The few books I purchase from other sources I send to my personal documents so that they will be synchronized across my multiple reading devices, so being able to do my own conversion to KFX for sideloading has no practical use for me. At one time I thought that being able to convert from KFX to EPUB would be useful, but that has turned out not to be true (at least at present.) The loss of HTML internal coding during EPUB to KDF/KFX conversion makes it a less preferable format for archival or conversion when compared with KF8. Since Amazon continues to make KF8 versions of purchased books easily available it would be disadvantageous to use KFX for that purpose. Although lacking practical utility, I will probably continue investigating KFX until I stop making progress or something else piques my interest. Most recently I have scripted the EPUB to KDF conversion process so that it is possible to do bulk conversion. This should give me more data on the equivalence between EPUB and KDF/KFX. If I ever get it working to my satisfaction, I plan to package the EPUB to KFX conversion process into a calibre plugin. Others may have a use for that capability. Last edited by jhowell; 03-04-2016 at 02:54 PM. |
![]() |
![]() |
![]() |
#392 |
eBook Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 85,556
Karma: 93383099
Join Date: Nov 2006
Location: UK
Device: Kindle Oasis 2, iPad Pro 10.5", iPhone 6
|
|
![]() |
![]() |
Advert | |
|
![]() |
#393 | |
Evangelist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 449
Karma: 3059202
Join Date: Jul 2014
Location: Australia
Device: Kobo Libra Colour, Kindle Scribe 2024
|
Quote:
Hurry! Hurry! Hurry! Take all my money! |
|
![]() |
![]() |
![]() |
#394 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,085
Karma: 91577715
Join Date: Nov 2011
Location: Charlottesville, VA
Device: Kindles
|
I have been testing the Previewer 3 beta on a large number of EPUBs and so far the results have not been encouraging.
For EPUBs that validate with both the calibre editor and EpubCheck the failure rate for conversion with the Previewer in my tests has been about 50%. For random EPUBs from various sources that render fine but may have internal coding issues the failure rate runs about 80%. Sometimes I can determine the cause of the failure from the Previewer logs, but often the error message just indicates that the conversion software crashed. Hopefully the final release will work more reliably, but I wouldn't count on it. This high failure rate makes it more of a toy than a practical tool for generating books with enhanced typesetting. I am curious if anyone else has been testing the Previewer and had better results. Obviously you are joking here! (If not then just how much money DO you have? ![]() Still, I would like to set reasonable expectations. The process of converting a book from EPUB to a KFX file that can be sideloaded will need to rely on the Previewer. It is likely to be time consuming, error prone, and fail with more books than it succeeds (see above). Even when it does work you could get a similar result with less effort using the Hyphenate This! calibre plugin. Last edited by jhowell; 03-06-2016 at 06:49 PM. |
![]() |
![]() |
![]() |
#395 |
Member Retired
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,183
Karma: 11721895
Join Date: Nov 2010
Device: Nook STR (rooted) & Sony T2
|
It sounds like you've had some success converting an epub to kfx. Have you made any progress converting kfx to other formats?
|
![]() |
![]() |
Advert | |
|
![]() |
#396 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,085
Karma: 91577715
Join Date: Nov 2011
Location: Charlottesville, VA
Device: Kindles
|
Quote:
I have written some code to convert KDF/KFX back into EPUB in order to test my assumptions. That isn't anywhere near usable as a general function, just a proof of concept. I posted an example result earlier. I don't see conversion of KFX to EPUB as being a very useful capability. First Amazon encrypts KFX books, even those that are available DRM-free in KF8. The only books that could be converted from KFX to EPUB are those you converted from EPUB to KFX in the first place. Even if decryption eventually becomes possible, KFX is far inferior to KF8 as a source for archival or conversion. The original EPUB internal HTML semantic markup is lost in the conversion of EPUB to KFX. For example, in KFX conversion <p>, <div>, <h1>, and <blockquote> all produce the same 'text' data type with any differences reflected in the formatting style. The same goes for <b>, <em>, <i>, <small>, <span>, <strike>, <strong>, <sub>, <sup>, etc., which all become just the equivalent css styles applied to text. There is no way to tell from the result whether the original EPUB used these different tags or just used css for formatting. Also values expressed in px or pt units tend to be converted to roughly equivalent em units in KFX. Last edited by jhowell; 03-06-2016 at 02:39 PM. |
|
![]() |
![]() |
![]() |
#397 |
just an egg
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,832
Karma: 8006102
Join Date: Mar 2015
Device: Kindle, iOS
|
Thanks again @jhowell for sharing your findings.
I'm not all that interested in converting to KFX, either. My main concern is being able to convert from KFX to other formats IF Amazon ever switches to KFX exclusively. Hopefully that won't happen anytime soon ![]() |
![]() |
![]() |
![]() |
#398 |
Member Retired
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,183
Karma: 11721895
Join Date: Nov 2010
Device: Nook STR (rooted) & Sony T2
|
K. Thx for your answer.
|
![]() |
![]() |
![]() |
#399 | |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 56
Karma: 3274
Join Date: Dec 2011
Device: iPad
|
Quote:
So, the initial failure seems to be from a problem with the Previewer, not my files. |
|
![]() |
![]() |
![]() |
#400 | |
Evangelist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 449
Karma: 3059202
Join Date: Jul 2014
Location: Australia
Device: Kobo Libra Colour, Kindle Scribe 2024
|
Quote:
|
|
![]() |
![]() |
![]() |
#401 |
mostly an observer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,519
Karma: 987654
Join Date: Dec 2012
Device: Kindle
|
|
![]() |
![]() |
![]() |
#402 | |
Evangelist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 449
Karma: 3059202
Join Date: Jul 2014
Location: Australia
Device: Kobo Libra Colour, Kindle Scribe 2024
|
Quote:
|
|
![]() |
![]() |
![]() |
#403 |
Evangelist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 449
Karma: 3059202
Join Date: Jul 2014
Location: Australia
Device: Kobo Libra Colour, Kindle Scribe 2024
|
Oops, I didn't read your post properly at the time and have since realised you were describing something different... my bad! My understanding now is that converting kdf to kfx isn't particularly easy to do as well! Shame!
|
![]() |
![]() |
![]() |
#404 | |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 56
Karma: 3274
Join Date: Dec 2011
Device: iPad
|
Quote:
But the problem with the Previewer in the past has always been that it wasn't a proper Mac program at all. Instead, it used Java and X11, both of which have been deprecated on the Mac for quite some time. I always felt the Previewer was a shameful kludge on Amazon's part. |
|
![]() |
![]() |
![]() |
#405 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,085
Karma: 91577715
Join Date: Nov 2011
Location: Charlottesville, VA
Device: Kindles
|
I am continuing to work on a KFX conversion output plugin for calibre based on Kindle Previewer 3.0. I would like the plugin to support Mac OS so I am asking here for some help with that.
Under Windows the EPUB to KDF conversion function is activated by the Previewer running: Code:
jre\bin\java.exe lib/EpubToKFXConverter-1.0.jar;lib/* com.amazon.kfxconverter.app.KFXGenApp ... Code:
%UserProfile%\AppData\Local\Amazon\Kindle Previewer 3\lib\fc Thanks for any help from Mac OS gurus. |
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Using Kindle format vs ePub format is like using a compiler vs winzip? | Julius Caesar | Workshop | 1 | 09-01-2013 07:34 PM |
iPhone Convert epub format to kindle for iPhone format. Is it possible? | thecyberphotog | Apple Devices | 16 | 03-14-2013 01:04 AM |
No 'epub' format shown in Plugboards Format dropdown list | kakkalla | Library Management | 3 | 06-16-2012 04:23 AM |
Ebook in PRC format will not convert to any other format | Katelyn | Calibre | 0 | 10-01-2010 07:02 PM |
Master Format for multi-format eBook Generation? | cerement | Workshop | 43 | 04-01-2009 12:00 PM |