Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Readers > Amazon Kindle

Notices

Reply
 
Thread Tools Search this Thread
Old 01-13-2008, 08:47 PM   #1
geoelectric
Member
geoelectric began at the beginning.
 
Posts: 23
Karma: 10
Join Date: Jan 2008
Device: Kindle
Getting Mobipocket authors to display correctly on Kindle

I just downloaded BAEN's Free Library (I owe them a fat donation) and spent a couple of hours with mobi2mobi stamping the files with proper title and author metadata.

Normally, when you download content from Amazon, the Kindle displays the author as First, Last but sorts as Last, First. With the mobipocket files I've stamped and added manually, it's sorting as displayed, so First, Last.

I guess I can restamp the files as Last, First, but I'd prefer to have them wholly integrated in the library. Anyone know if there's another EXTH category or something I can use to get them to display First, Last and sort Last, First?
geoelectric is offline   Reply With Quote
Old 01-13-2008, 08:55 PM   #2
geoelectric
Member
geoelectric began at the beginning.
 
Posts: 23
Karma: 10
Join Date: Jan 2008
Device: Kindle
Never mind, may have answered my own question. Looks like the Kindle automatically turns around Last, First into First Last on display, so I need to restamp that way.
geoelectric is offline   Reply With Quote
Old 01-15-2008, 09:01 PM   #3
tompe
Grand Sorcerer
tompe ought to be getting tired of karma fortunes by now.tompe ought to be getting tired of karma fortunes by now.tompe ought to be getting tired of karma fortunes by now.tompe ought to be getting tired of karma fortunes by now.tompe ought to be getting tired of karma fortunes by now.tompe ought to be getting tired of karma fortunes by now.tompe ought to be getting tired of karma fortunes by now.tompe ought to be getting tired of karma fortunes by now.tompe ought to be getting tired of karma fortunes by now.tompe ought to be getting tired of karma fortunes by now.tompe ought to be getting tired of karma fortunes by now.
 
Posts: 6,997
Karma: 3726823
Join Date: Oct 2007
Location: Link÷png, Sweden
Device: Nexus 7, Nexus 4, iPad 2, Notion Ink Adam Qi, Kindle WiFi, Kindle PW
Quote:
Originally Posted by geoelectric View Post
Never mind, may have answered my own question. Looks like the Kindle automatically turns around Last, First into First Last on display, so I need to restamp that way.
That was kind of a nice functionality. I do not think there is a EXTH data field for another sort order. I think that epub can contain a sort key in the meta data so when we have epub readers we might have this functionality.
tompe is offline   Reply With Quote
Old 01-15-2008, 09:11 PM   #4
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 25,407
Karma: 4961459
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Does the Kindle not maintain a cache of book files it has found on the device? Where does it store bookmarks and history and so on? On the SONY you can edit the metadata in the cache to have it show up however you want (that's what libprs500 does).
kovidgoyal is offline   Reply With Quote
Old 01-15-2008, 09:20 PM   #5
Nate the great
Sir Penguin of Edinburgh
Nate the great ought to be getting tired of karma fortunes by now.Nate the great ought to be getting tired of karma fortunes by now.Nate the great ought to be getting tired of karma fortunes by now.Nate the great ought to be getting tired of karma fortunes by now.Nate the great ought to be getting tired of karma fortunes by now.Nate the great ought to be getting tired of karma fortunes by now.Nate the great ought to be getting tired of karma fortunes by now.Nate the great ought to be getting tired of karma fortunes by now.Nate the great ought to be getting tired of karma fortunes by now.Nate the great ought to be getting tired of karma fortunes by now.Nate the great ought to be getting tired of karma fortunes by now.
 
Nate the great's Avatar
 
Posts: 10,373
Karma: 3161371
Join Date: Apr 2007
Location: DC Metro area
Device: Shake a stick plus 1
I don't know about the cache, but I do know that bookmarks are stored in a seperate file for each book.
Nate the great is offline   Reply With Quote
Old 01-15-2008, 09:20 PM   #6
tompe
Grand Sorcerer
tompe ought to be getting tired of karma fortunes by now.tompe ought to be getting tired of karma fortunes by now.tompe ought to be getting tired of karma fortunes by now.tompe ought to be getting tired of karma fortunes by now.tompe ought to be getting tired of karma fortunes by now.tompe ought to be getting tired of karma fortunes by now.tompe ought to be getting tired of karma fortunes by now.tompe ought to be getting tired of karma fortunes by now.tompe ought to be getting tired of karma fortunes by now.tompe ought to be getting tired of karma fortunes by now.tompe ought to be getting tired of karma fortunes by now.
 
Posts: 6,997
Karma: 3726823
Join Date: Oct 2007
Location: Link÷png, Sweden
Device: Nexus 7, Nexus 4, iPad 2, Notion Ink Adam Qi, Kindle WiFi, Kindle PW
Quote:
Originally Posted by kovidgoyal View Post
Does the Kindle not maintain a cache of book files it has found on the device? Where does it store bookmarks and history and so on? On the SONY you can edit the metadata in the cache to have it show up however you want (that's what libprs500 does).
The Gen3 store bookmark in a special data file one per book. I do not think there is a reason to cache the meta data information since it is stored uncompressed and unencrypted in the first record of the file. It is as fast to read that data as to read a cache.

But maybe I just have missed a global cache file. I will look for it sometimes...
tompe is offline   Reply With Quote
Old 01-16-2008, 03:00 AM   #7
HarryT
eBook Enthusiast
HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.
 
HarryT's Avatar
 
Posts: 62,621
Karma: 40373079
Join Date: Nov 2006
Location: UK
Device: PW2, iPad Retina Mini, iPhone 4, MS Surface Pro, Onyx T68, N7,
I don't know if the Kindle works the same way, but all other versions of the MobiPocket Reader create a file "bookname.mbp" (ie a separate file for each book). This file stores your current reading position in the book, user annotations, bookmarks, etc.
HarryT is online now   Reply With Quote
Old 01-16-2008, 12:06 PM   #8
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 25,407
Karma: 4961459
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Does the mbp file also contain metadata? i.e. title and author?
kovidgoyal is offline   Reply With Quote
Old 01-16-2008, 02:22 PM   #9
geoelectric
Member
geoelectric began at the beginning.
 
Posts: 23
Karma: 10
Join Date: Jan 2008
Device: Kindle
The Kindle creates mbp files, too. As far as anyone can tell, it really is a mobipocket reader, with Amazon mobipocket files having the funky AZW extension.

I didn't look in them for metadata, since I didn't have a handy mbp editor hanging out. There is no exposed way to edit the metadata "cache" though. Restamping the books with mobi2mobi --author "last, first" did what I wanted.

I have some batch files quick and dirtied now that will go through a tree of book files and stamp all the authors based on the directory names they're in. Once/if I get those cleaned up a little, I'll upload.

Last edited by geoelectric; 01-16-2008 at 02:24 PM.
geoelectric is offline   Reply With Quote
Old 01-16-2008, 02:34 PM   #10
tompe
Grand Sorcerer
tompe ought to be getting tired of karma fortunes by now.tompe ought to be getting tired of karma fortunes by now.tompe ought to be getting tired of karma fortunes by now.tompe ought to be getting tired of karma fortunes by now.tompe ought to be getting tired of karma fortunes by now.tompe ought to be getting tired of karma fortunes by now.tompe ought to be getting tired of karma fortunes by now.tompe ought to be getting tired of karma fortunes by now.tompe ought to be getting tired of karma fortunes by now.tompe ought to be getting tired of karma fortunes by now.tompe ought to be getting tired of karma fortunes by now.
 
Posts: 6,997
Karma: 3726823
Join Date: Oct 2007
Location: Link÷png, Sweden
Device: Nexus 7, Nexus 4, iPad 2, Notion Ink Adam Qi, Kindle WiFi, Kindle PW
Quote:
Originally Posted by kovidgoyal View Post
Does the mbp file also contain metadata? i.e. title and author?
It seems to contain the title but not the author.
tompe is offline   Reply With Quote
Old 01-16-2008, 02:47 PM   #11
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 25,407
Karma: 4961459
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
I find it hard to believe that the kindle doesn't maintain a list of books it has found somewhere on the drive, after all if it didn't, every time it was rebooted it would have to scan everything again, making reboot times unnecessarily long, but maybe it's on a part of the drive not exported via USB or it's in encrypted form somewhere.
kovidgoyal is offline   Reply With Quote
Old 01-16-2008, 02:56 PM   #12
tompe
Grand Sorcerer
tompe ought to be getting tired of karma fortunes by now.tompe ought to be getting tired of karma fortunes by now.tompe ought to be getting tired of karma fortunes by now.tompe ought to be getting tired of karma fortunes by now.tompe ought to be getting tired of karma fortunes by now.tompe ought to be getting tired of karma fortunes by now.tompe ought to be getting tired of karma fortunes by now.tompe ought to be getting tired of karma fortunes by now.tompe ought to be getting tired of karma fortunes by now.tompe ought to be getting tired of karma fortunes by now.tompe ought to be getting tired of karma fortunes by now.
 
Posts: 6,997
Karma: 3726823
Join Date: Oct 2007
Location: Link÷png, Sweden
Device: Nexus 7, Nexus 4, iPad 2, Notion Ink Adam Qi, Kindle WiFi, Kindle PW
Quote:
Originally Posted by kovidgoyal View Post
I find it hard to believe that the kindle doesn't maintain a list of books it has found somewhere on the drive, after all if it didn't, every time it was rebooted it would have to scan everything again, making reboot times unnecessarily long, but maybe it's on a part of the drive not exported via USB or it's in encrypted form somewhere.
Can't you just scan the books you need for the display? A global cache has to be updated and you have to write code for detecting new files and when files are removed so if you can get good performance without it it is an advantage not to have a cache.
tompe is offline   Reply With Quote
Old 01-16-2008, 02:59 PM   #13
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 25,407
Karma: 4961459
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
The linux kernel has filesystem notify support, so you would be notified everytime a file/directory is changed and you could rescan it and update the relevant portions of the cache. Seems to me like a much more efficient system than scan on demand.
kovidgoyal is offline   Reply With Quote
Old 01-16-2008, 03:23 PM   #14
tompe
Grand Sorcerer
tompe ought to be getting tired of karma fortunes by now.tompe ought to be getting tired of karma fortunes by now.tompe ought to be getting tired of karma fortunes by now.tompe ought to be getting tired of karma fortunes by now.tompe ought to be getting tired of karma fortunes by now.tompe ought to be getting tired of karma fortunes by now.tompe ought to be getting tired of karma fortunes by now.tompe ought to be getting tired of karma fortunes by now.tompe ought to be getting tired of karma fortunes by now.tompe ought to be getting tired of karma fortunes by now.tompe ought to be getting tired of karma fortunes by now.
 
Posts: 6,997
Karma: 3726823
Join Date: Oct 2007
Location: Link÷png, Sweden
Device: Nexus 7, Nexus 4, iPad 2, Notion Ink Adam Qi, Kindle WiFi, Kindle PW
Quote:
Originally Posted by kovidgoyal View Post
The linux kernel has filesystem notify support, so you would be notified everytime a file/directory is changed and you could rescan it and update the relevant portions of the cache. Seems to me like a much more efficient system than scan on demand.
Do you know about applications that uses this notify support?

I still think that your solution leads to more complex code and more possibilties for strange bugs. If I designed a system I would avoid a cache if I could.
tompe is offline   Reply With Quote
Old 01-16-2008, 03:26 PM   #15
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 25,407
Karma: 4961459
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Most linux filemanagers
kovidgoyal is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Epub does not display images correctly Amalthia Calibre 3 09-05-2011 06:44 AM
[Old Thread] Epub cover image does not display correctly Amalthia Calibre 30 06-20-2011 11:50 AM
Another ePub does not display correctly. KjellM EPUBReader 7 07-16-2010 03:31 AM
Authors not showing correctly in Sony Pocket PaleGardener Calibre 0 12-22-2009 07:09 PM
Any ereader device display Thai correctly? bthoven Which one should I buy? 19 10-07-2009 02:00 AM


All times are GMT -4. The time now is 09:44 AM.


MobileRead.com is a privately owned, operated and funded community.