03-29-2013, 06:26 PM | #1 |
Enthusiast
Posts: 36
Karma: 8164
Join Date: Jul 2012
Device: Kindle Keyboard
|
Help improve Kindle ebook formatting
I am developing some CSS snippets for KF8 to enable device detection from within Kindle ebooks. The most obvious use case for this is for authors who wish to display color graphics on the Kindle Fire family of devices while displaying greyscale graphics for the E Ink Kindles. I will be placing this CSS in the public domain when I've verified that it works properly.
I am using CSS media queries that depend on the hardware on the device. That means that I cannot test these on the Previewer and I do not have access to every KF8-compatible Kindle device. I am looking for volunteers to load the attached .mobi file on their Kindle and report the results. I have already tested this on my Kindle Keyboard, a Paperwhite, and a first gen Kindle Fire. I'm looking for folks who have a non-jailbroken Kindle 4, Kindle 4 Touch, Kindle 5, second gen Kindle Fire, Kindle Fire HD 7" or Kindle Fire HD 8.9". You need to know how to sideload a .mobi file on your device. When you open the attached file (which is the first chapter of Moby Dick), you should see something like this: Chapter 1: Looming This is a Kindle eInk device (K3, K4, or K5) device pixel ratio: 1.0 device-height: 800 device-width: 600 Call me Ishmael.... Obviously, the correct device and hardware results should be displayed, i.e. if you have a Kindle Fire HD 8.9", the second line will say "This is an 8.9 inch Kindle Fire HD." I would greatly appreciate it if a few folks would load this file and reply back to this thread with the results. I especially need to know if any devices report incorrect results. For example, the first gen Kindle Fire does not report device-height or device-width. What do you get for participating this research? My gratitude and the warm fuzzy feeling of helping to improve the quality of Kindle ebooks. Participants will be listed in the credits (CSS comments) as testers, if they wish. |
03-29-2013, 11:13 PM | #2 |
Grand Sorcerer
Posts: 6,477
Karma: 26425959
Join Date: Apr 2009
Location: USA
Device: iPhone 15PM, Kindle Scribe, iPad mini 6, PocketBook InkPad Color 3
|
That's very cool!
Attached are screen shots from my Kindle Touch and Paperwhite. I also sent to my Kindle Keyboard and it is the same as KT. The KT is running the latest firmware (5.3.2.1) while the PW is still on 5.3.3 (there is apparently 5.3.4 as of a couple of weeks ago). I also sent it to Kindle for Android, my Fire (1st gen) and Kindle for iPhone. The first two report: This is a Kindle Fire (non-HD). device pixel ratio: 1.0 Kindle for iPhone doesn't support CSS apparently, and doesn't say anything. Last edited by tomsem; 03-29-2013 at 11:18 PM. |
Advert | |
|
03-30-2013, 01:29 AM | #3 |
Addict
Posts: 328
Karma: 800105
Join Date: Feb 2013
Device: PW1
|
Kindle for PC results (since it hasn't been mentioned yet):
Code:
This is a Kindle Fire (non-HD) device pixel ratio: 1.0 device-height: 900 device-weidth: 1600 |
03-30-2013, 10:17 AM | #4 | |
Grand Sorcerer
Posts: 5,584
Karma: 22735033
Join Date: Dec 2010
Device: Kindle PW2
|
Quote:
Code:
This is a 7 inch Kindle HD device pixel ratio: 1.0 device-height: 1024 device-weidth: 1280 |
|
03-30-2013, 10:40 AM | #5 |
curly᷂͓̫̙᷊̥̮̾ͯͤͭͬͦͨ ʎʌɹnɔ
Posts: 3,002
Karma: 50506927
Join Date: Dec 2010
Location: ♁ ᴺ₄₅°₃₀' ᵂ₇₃°₃₇' ±₆₀"
Device: K3₃.₄.₃ PW3&4₅.₁₃.₃
|
And... not totally unexpectedly my K4PC v1.10.1.40262 reports differently
Spoiler:
and my Kindle for Android v3.8.2.4 partially reports
Spoiler:
and my Kindle Previewer v2.8 reports
Spoiler:
the 47 Heinz varieties depending on which device is emulated.
Last edited by PoP; 03-30-2013 at 10:48 AM. |
Advert | |
|
03-30-2013, 12:30 PM | #6 |
Enthusiast
Posts: 36
Karma: 8164
Join Date: Jul 2012
Device: Kindle Keyboard
|
Yes, the Kindle apps that are KF8 compatible will report different results based on the actual hardware of your machine. The results for the apps will often be misleading because the media queries I'm using are tuned specifically for the Amazon devices. I suppose I should have been clearer about that.
I would really like to know if my CSS correctly identifies KFHD devices. Is there anyone out there who has one? Know someone who does? |
03-30-2013, 12:50 PM | #7 | |
Wizard
Posts: 2,243
Karma: 7400001
Join Date: Mar 2009
Location: Circling Earth @ Mach .83
Device: Elipsa 2E, Sage, Forma, Libra 2, Clara 2E, Kindle Oasis3, Voyage
|
Quote:
|
|
03-30-2013, 12:56 PM | #8 |
Wizard
Posts: 1,669
Karma: 2300001
Join Date: Mar 2011
Location: Türkiye
Device: Kindle 5.3.7
|
|
03-30-2013, 01:13 PM | #9 |
Enthusiast
Posts: 36
Karma: 8164
Join Date: Jul 2012
Device: Kindle Keyboard
|
|
03-30-2013, 01:15 PM | #10 |
Not an Addict
Posts: 301
Karma: 5678807
Join Date: Mar 2011
Device: The blue one next to the fish.
|
I have Kindle Fire HD 7. It just says
This is a Kindle Fire (Non-HD). device pixel ratio:1.0 |
03-30-2013, 02:28 PM | #11 | |
Enthusiast
Posts: 36
Karma: 8164
Join Date: Jul 2012
Device: Kindle Keyboard
|
Quote:
At least I have a way to distinguish between color and E Ink. That's probably the number one use case for this stuff. Hoyt, would you be willing to try another test file or two? I could DM them to you when they are ready. There a number of other potential media queries that I could use, but I had settled on these as the most likely to work. |
|
03-30-2013, 09:58 PM | #12 |
curly᷂͓̫̙᷊̥̮̾ͯͤͭͬͦͨ ʎʌɹnɔ
Posts: 3,002
Karma: 50506927
Join Date: Dec 2010
Location: ♁ ᴺ₄₅°₃₀' ᵂ₇₃°₃₇' ±₆₀"
Device: K3₃.₄.₃ PW3&4₅.₁₃.₃
|
|
04-03-2013, 05:23 PM | #13 |
Enthusiast
Posts: 36
Karma: 8164
Join Date: Jul 2012
Device: Kindle Keyboard
|
Thanks to everyone for their help. I have got this figured out now.
|
04-03-2013, 06:46 PM | #14 |
Zealot
Posts: 136
Karma: 2137000
Join Date: Aug 2011
Location: Calgary, Alberta
Device: iPad, Kobo Glo HD
|
perhaps one more... Kindle for Mac:
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Glo An ebook processing flow that can improve your experience of reading PDF on kobo glo | ghero | Kobo Reader | 28 | 12-31-2012 10:13 PM |
Kindle Formatting - Setting the opening/first page of eBook | Tychocaine | Amazon Kindle | 9 | 04-01-2011 09:20 AM |
Is Google going to improve the ebook business? | thaigreg | News | 34 | 12-09-2010 11:50 PM |
Help me improve my eBook reader website | Matt Palen | General Discussions | 34 | 06-14-2010 09:13 PM |