View Single Post
Old 02-09-2012, 08:43 PM   #24
KevinH
Sigil Developer
KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.
 
Posts: 8,948
Karma: 6361444
Join Date: Nov 2009
Device: many
Hi Peter,

Glad to hear it. The cover image comes from the metadata so we could try changing that if you do not like the cover to be present.

Also, it should be easy to edit the test.rawml with any text editor or create a short program to generate it on the fly from the book title and link info. Different size messages should work as well, as long as they are less than 4096 bytes in total which is the maximum size of any single section in the palm database.

Also the message file must be utf-8 encoded and not windows-1252.
So be sure to use utf-8 smart quotes and not windows 1252 smart quotes if you add any smart quotes to the message.

I will spend some time this weekend cleaning up the code, forming proper classes and methods (for speed I just threw code snippets in from various other files I had lying around) and then post a final version.

Take care,

Kevin


Quote:
Originally Posted by PeterHatch View Post
It seems to work perfectly - just tested it with Captain Blood in Previewer, where both versions look good, and on a Kindle 2 and 3 (as well as Kindle for PC), where the message shows up perfectly. I wasn't expecting the placeholder to include the cover image along with the message, but that makes sense.

Thank you! (And I apologize for taking so long to get to it.)

--
Peter Hatch
KevinH is offline   Reply With Quote