View Single Post
Old 08-06-2017, 05:50 PM   #5
Hitch
Bookmaker & Cat Slave
Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.
 
Hitch's Avatar
 
Posts: 5,766
Karma: 54886904
Join Date: Apr 2010
Location: Phoenix, AZ
Device: K2, iPad, KFire, PPW, Voyage, and NookColor. 2 Droid, 1 Win8 ePUB rdrs
Quote:
Originally Posted by slowsmile View Post
@Hitch...I certainly agree with what you say, though the response has been somewhat silent otherwise. I'll try and get this plugin done anyway for those few that want it.
I'm not surprised. I mean...think of it this way. Who knows that they need it--until they do? We have a veritable ocean of clips, programs and other doodads all over our shop, all written/created/borrowed (ha) for things just like this.
Quote:
I'll also be upfront about this and say that I don't have an eInk to test it on. This plugin is already up and running but as I have found when testing it on the old Kindle Prevewer app and even the new Kindle Previewer 3 app -- they both have Ink displays that display KF8 images. I used the normal media queries to do this so I was somewhat p*ssed off when I saw this because this means thatI'm working blind and have no idea whether it works in real life on a KF7 device.
??? I'm confused. I guess I haven't actually stared at the DX emulation in 2.94 (or whatever the current number is), but are you saying that the % CSS that you've written, for KF8, is "working" correctly in the DX emulation? Because I can absolutely, positively say that in real life, on real devices, man, that dog don't hunt, as they say in the South. Crap, now I'll have to go look at that...

Quote:
Here's what the plugin does. This epub-only plugin will first ask you via a dialog which stylesheet you would like to contain the two media queries. After you press OK the plugin will then parse all the internal epub files and all the ebook image lines in your ebook will then be duplicated with appropriate KF8 or KF7 image entries in the normal way using the appropriate media query which will contain either 'mobionly' or 'kf8only' classes. The media queries regulate which image line is displayed by appropriately implementing 'display: none' and 'display: inline' in the relevant classes within the media query. Anyway, just have a look inside your test epub in the relevant CSS after you run this new plugin. That will tell all. And if I've done it wrong -- please let me know and I'll change it for you.
So far, that seems sensible. That's what we would have crafted, in terms of the logic, so...sounds right.
Quote:
All input image values should initially be in pixels(ie styled for KF7). The net result of running this plugin will be that all KF8 ebook images height and width values will be converted to % values. Whereas all KF7 ebook images will be displayed normally as height and width in pixels only(like the original input img tag line).
OK...I think. I'm not quite perfectly clear what you mean here, so I'll have to see it do its thing.

Quote:
If I do create this plugin would it be OK for you to quickly test it on one of your KF7 devices and let me know if its OK or has problems? It irks me greatly that I am unable to test this new plugin but there you go.
Of course. That's not a problem.

Quote:
It'll be a short while before I release this plugin. When I release it I will send you a private email on MR to let you know. Currently, I must add the dialog and finish off all the testing....yeah, I know -- please don't laugh
Sorry--laugh at what? I must have missed something. But, no, not laughing.

Quote:
Originally Posted by st_albert View Post
Hmm, I have the previewer version 2.8 which provides an e-ink Kindle DX emulation. I was under the impression that the DX was never upgraded to handle kf8 format files, unlike the K3 kindles, which were eventually upgraded.
As far as I know, that's right. If the DX was upgraded, I'm damned if I know it. I've used the DX emulation as my quickie, instead of the manual xfer to my K7 devices. I actually might be slightly PO'ed if that was changed. I mean...good for the devices, but sucky for us.

Quote:
Assuming I'm not wrong about this, are you saying that the Kindle DX in the "old emulator" is also kf8 compatible? And if so could you work around it by using Kindleunpack to split out the kf7 part of a kindlegen-created dual-format mobi and feed it to the emulator?

Albert
You mean, use the Calibre plugin, rip out the KF7-mobi, and feed THAT to the DX? If the scenario is indeed right--if the DX emulator has been upgraded to display KF8 images based on CSS (this makes NO sense, y'all know?), then the idea is clever as hell, Albert. Good thinking!

I could SWEAR that I'd just seen a book that had px images that worked in the DX, but...hell, guys.
Spoiler:
With my newer minion hired away by Amazon (note to Amazon: we're STILL gonna talk about this, boys...), and my newest guy not remotely up to speed yet, my head's going round like the Exorcist Chick, so...I could be utterly delusional. My weeks are nuts--by the time I leave the office on Weds nights, I've already been "at the office" for ~39 hours since I started on Monday morning...and there's STILL three days of our workweek to go. So, I'm pretty ragged and non compos mentis lately. Sorry 'bout that.


I'll have to look again.

Hitch
Hitch is offline   Reply With Quote