01-13-2008, 08:47 PM | #1 |
Member
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? |
01-13-2008, 08:55 PM | #2 |
Member
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.
|
Advert | |
|
01-15-2008, 09:01 PM | #3 |
Grand Sorcerer
Posts: 7,452
Karma: 7185064
Join Date: Oct 2007
Location: Linköpng, Sweden
Device: Kindle Voyage, Nexus 5, Kindle PW
|
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.
|
01-15-2008, 09:11 PM | #4 |
creator of calibre
Posts: 44,356
Karma: 23661992
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).
|
01-15-2008, 09:20 PM | #5 |
Sir Penguin of Edinburgh
Posts: 12,375
Karma: 23555235
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.
|
Advert | |
|
01-15-2008, 09:20 PM | #6 | |
Grand Sorcerer
Posts: 7,452
Karma: 7185064
Join Date: Oct 2007
Location: Linköpng, Sweden
Device: Kindle Voyage, Nexus 5, Kindle PW
|
Quote:
But maybe I just have missed a global cache file. I will look for it sometimes... |
|
01-16-2008, 03:00 AM | #7 |
eBook Enthusiast
Posts: 85,544
Karma: 93383043
Join Date: Nov 2006
Location: UK
Device: Kindle Oasis 2, iPad Pro 10.5", iPhone 6
|
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.
|
01-16-2008, 12:06 PM | #8 |
creator of calibre
Posts: 44,356
Karma: 23661992
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Does the mbp file also contain metadata? i.e. title and author?
|
01-16-2008, 02:22 PM | #9 |
Member
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. |
01-16-2008, 02:34 PM | #10 |
Grand Sorcerer
Posts: 7,452
Karma: 7185064
Join Date: Oct 2007
Location: Linköpng, Sweden
Device: Kindle Voyage, Nexus 5, Kindle PW
|
|
01-16-2008, 02:47 PM | #11 |
creator of calibre
Posts: 44,356
Karma: 23661992
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.
|
01-16-2008, 02:56 PM | #12 | |
Grand Sorcerer
Posts: 7,452
Karma: 7185064
Join Date: Oct 2007
Location: Linköpng, Sweden
Device: Kindle Voyage, Nexus 5, Kindle PW
|
Quote:
|
|
01-16-2008, 02:59 PM | #13 |
creator of calibre
Posts: 44,356
Karma: 23661992
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.
|
01-16-2008, 03:23 PM | #14 | |
Grand Sorcerer
Posts: 7,452
Karma: 7185064
Join Date: Oct 2007
Location: Linköpng, Sweden
Device: Kindle Voyage, Nexus 5, Kindle PW
|
Quote:
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. |
|
01-16-2008, 03:26 PM | #15 |
creator of calibre
Posts: 44,356
Karma: 23661992
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Most linux filemanagers
|
|
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 |