![]() |
#1 |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 334
Karma: 1234
Join Date: Jul 2009
Location: Hindelbank, Switzerland
Device: P990i, PRS 505
|
![]()
I am preparing subscription book for import into calibre and I use ebook-convert and ebook-meta to do so. Once the books are perfect I start the import.
However the result was not perfect after all. So I wonder: what takes priority when importing meta data: File-name extraction or embedded meta data. I begin to thing it might be file-name in which case I would which for a "do not use file-names for meta data" option. Martin |
![]() |
![]() |
![]() |
#2 |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 334
Karma: 1234
Join Date: Jul 2009
Location: Hindelbank, Switzerland
Device: P990i, PRS 505
|
I forgot: if you import multiple formats: which format is used to read the meta data?
|
![]() |
![]() |
Advert | |
|
![]() |
#3 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,168
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
file name extraction is not used unless set the preference option for it. metadata read from multiple formats will be a union of metadata from all formats. Which ones take priority are hard coded, look in the ebooks.metadata.meta module for details.
|
![]() |
![]() |
![]() |
#4 | |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 334
Karma: 1234
Join Date: Jul 2009
Location: Hindelbank, Switzerland
Device: P990i, PRS 505
|
![]() Quote:
Code:
_METADATA_PRIORITIES = [ 'html', 'htm', 'xhtml', 'xhtm', 'rtf', 'fb2', 'pdf', 'prc', 'odt', 'epub', 'lit', 'lrx', 'lrf', 'mobi', 'rb', 'imp', 'azw' ] An opf file takes priority over everything - That is: if an opf file is successfully read then other files are skipped. And file-names are used as fallback if reading meta-data fails for whatever reason. That would explain my problems but also offers a solution: I just need to create an opf file from the epub ![]() Martin |
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Any way to display meta data on the reader? | eric11210 | Sony Reader | 2 | 08-07-2010 07:39 PM |
ePub meta data | brudigia | ePub | 4 | 07-26-2010 12:58 PM |
set meta data with ebook-meta and ebook-convert | krischik | Calibre | 6 | 01-19-2010 11:40 AM |
Meta data problems | melhall | Sony Reader | 1 | 03-31-2008 10:58 PM |
PRS-500 Meta Data in Vista not available | Gamgee72 | Sony Reader Dev Corner | 2 | 09-12-2007 05:12 PM |