07-05-2016, 08:27 AM | #16 |
Sigil Developer
Posts: 7,651
Karma: 5433388
Join Date: Nov 2009
Device: many
|
I can tell you are sceptical but Toxaris is exactly 100% right here. The content.opf inside the epub has many pieces including a manifest listing every book file and its mediatype inside the epub, a spine that tells the reader the sequences of files for reading purposes, a guide to show key locations and starting points of the text (epub2 only generally), and a metadata section where all of the metadata associated with the epub is stored. Most readers parse this file to understand how to "effectively" present the epub. Inside an epub you also have an ncx file that stores a table of contents with links (epub2), or under epub3 a nav file used for toc navigation.
When you actually change things using the metadata gui, you are actually changing information stored inside the metadata section of the content.opf file (internal one not the calibre generated local copy outside the epub). Hope this makes things clearer. KevinH |
07-05-2016, 06:07 PM | #17 |
null operator (he/him)
Posts: 20,583
Karma: 26954694
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
@Jack_Graham - to add to the posts form Toxaris and KevinH
The 'metadata.opf' files in calibre book folders serve one purpose only, as the means to restore the library database - 'metadata.db'. Apart from the Library Maintenance->Restore Database feature, the calibre Library Manager makes no use of these files. The calibre Viewer uses the content.opf file within the ePub in its metadata overlay display. If you look inside a metadata.opf file (with an editor like Notepad++) you'll find it lacks the spine and manifest sections which are essential to an ePub (I think ?), You might also find data related to custom columns that is absent from the corresponding content.opf file contained within the ePub file. It might have been better if the metadata.opf files in calibre library book folders were named metadata.bak, but with over 3 million active users it's too late to contemplate doing that now. BR |
Advert | |
|
07-05-2016, 06:48 PM | #18 | |
Bookmaker & Cat Slave
Posts: 11,462
Karma: 158448243
Join Date: Apr 2010
Location: Phoenix, AZ
Device: K2, iPad, KFire, PPW, Voyage, NookColor. 2 Droid, Oasis, Boox Note2
|
Quote:
This is an ePUB I use for demo purposes, made from an Agatha Christie novel (introducing Tommy and Tuppence, for those who care about such things...). The OPF is a required part of ANY eBook--ePUB, MOBI...it's not some optional thing. If your eBook works, it's because the OPF is there. It's not like embedding a font--it's an integral, fundamental part of any eBook. In 1, I've unzipped an ePUB, essentially. In 2, I've located the OPF. In 3, I've popped open the OPF, to show you where the metadata LIVES. If I'd put in a description about this book, it would be on a line within that box (the box obviously gets larger as more meta is added.) HTH. Hitch |
|
07-06-2016, 01:36 AM | #19 |
Junior Member
Posts: 5
Karma: 10
Join Date: Jun 2016
Device: Tablet
|
Thank you
Thank you for the information - it does make logical sense.
I am not a ebook maker or expert on this subject, I use the editor to make my life easier and that is all. So the education is greatly appreciated. Hopefully I can put it to use and make this part of my life even easier. Jack |
07-06-2016, 05:15 AM | #20 | |
Bookmaker & Cat Slave
Posts: 11,462
Karma: 158448243
Join Date: Apr 2010
Location: Phoenix, AZ
Device: K2, iPad, KFire, PPW, Voyage, NookColor. 2 Droid, Oasis, Boox Note2
|
Quote:
Hitch |
|
Advert | |
|
07-11-2016, 10:24 AM | #21 | |
Ex-Helpdesk Junkie
Posts: 19,422
Karma: 85397180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
|
Quote:
So just because a reader can display certain types of metadata does not mean that it knows how to extract that information from the EPUB metadata. |
|
07-11-2016, 11:49 AM | #22 | |
Grand Sorcerer
Posts: 6,212
Karma: 16534894
Join Date: Sep 2009
Location: UK
Device: Kobo: KA1, ClaraHD, Forma, Libra2, Clara2E. PocketBook: TouchHD3
|
Quote:
For Kobo purchases the fields are populated by Kobo (not sure how) ... sometimes with good metadata, sometimes not. The point I was trying to make is that the default database contains suitably named fields (e.g. Series, SeriesNumber) available for population and the device will automatically display whatever is in those fields. IMO this is a step forward from ignoring Series completely. ETA: Just for the record, Kobos will read/display the opf content of <dc:description> without help from calibre or anything else. Last edited by jackie_w; 07-12-2016 at 09:22 AM. Reason: dc:description |
|
07-11-2016, 12:08 PM | #23 |
Ex-Helpdesk Junkie
Posts: 19,422
Karma: 85397180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
|
Then it is a point without a distinction.
Sigil doesn't care, Sigil can't manipulate that database, and you will need some other software to do so -- which presumably specializes in metadata (and indeed calibre does) and can therefore offer a much better GUI editor for such. The fact that Kobos have made a step forward from from ignoring series completely, would be a very relevant point... in the Kobo forum rather than the Sigil forum. |
07-11-2016, 01:05 PM | #24 | |
Grand Sorcerer
Posts: 6,212
Karma: 16534894
Join Date: Sep 2009
Location: UK
Device: Kobo: KA1, ClaraHD, Forma, Libra2, Clara2E. PocketBook: TouchHD3
|
When KevinH commented
Quote:
You, on the other hand, seem to want to agressively argue about what is considered as harmless comment in the Sigil forum. Since I have no interest whatsoever in childish bickering, I'll leave you to it. |
|
07-11-2016, 03:38 PM | #25 | |
Sigil Developer
Posts: 7,651
Karma: 5433388
Join Date: Nov 2009
Device: many
|
What I said was ...
I know of no other reader besides Calibre that shows much of anything other that title, authors, and date but ... there are so many generations of readers out there now so who knows. The original reason for these other metadata fields was as search fields that are meant to be used to help catalog and index ebooks. Overly complex html/css can actually impact searchability, which is the primary reason for "metadata", but to each their own. As long as you keep things well-formed for xml parsing, you can put anything you like. was meant to be informative and not in any way "aggressively argumentative." For the lfe of me, I can't see how anyone could take it that way. KevinH Quote:
|
|
07-11-2016, 03:47 PM | #26 |
Ex-Helpdesk Junkie
Posts: 19,422
Karma: 85397180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
|
Kevin,
I think that was referring to me, actually. Whatever, I don't really care. I saw something that didn't fit into my understanding of Kobos, asked for clarification, and confirmed that it was irrelevant and therefore I shouldn't worry myself about it. I then moved on... |
07-11-2016, 09:54 PM | #27 |
Well trained by Cats
Posts: 29,812
Karma: 54830978
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
I find it absurd that The Standards Crew did not mandate a Series Standard in all these years. Do they only read non-fiction?
With no Standard, I can see why this is not handled on many devices. Whatever they (the manufacturer) do is wrong or incompatible |
07-12-2016, 02:28 AM | #28 |
Wizard
Posts: 4,520
Karma: 121692313
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-T1, Kobo Touch, Kobo Aura
|
I agree, at least it is fixed for ePUB3. That is one thing they did right.
|
07-12-2016, 08:30 AM | #29 |
A Hairy Wizard
Posts: 3,099
Karma: 18727053
Join Date: Dec 2012
Location: Charleston, SC today
Device: iPhone 11/X/6/iPad 1,2,Air & Air Pro/Surface Pro/Kindle PW & Fire
|
I still haven't dug into the ePub3 standard... What is their correction for Series and SeriesNumber? And does that mean I would need to go back and fix all the ePub2 books where I used the Calibre tags?
|
07-12-2016, 09:33 AM | #30 | |
Wizard
Posts: 4,520
Karma: 121692313
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-T1, Kobo Touch, Kobo Aura
|
Quote:
An example given in the documentation: <dc:title id="t1">The Fellowship of the Ring</dc:title> <meta refines="#t1" property="title-type">main</meta> <dc:title id="t2">The Lord of the Rings</dc:title> <meta refines="#t2" property="title-type">collection</meta> <dc:title id="t3">THE LORD OF THE RINGS, Part One: The Fellowship of the Ring</dc:title> <meta refines="#t3" property="title-type">expanded</meta> or another example: <dc:title id="t1" xml:lang="fr">Mon premier guide de cuisson, un Mémoire</dc:title> <meta refines="#t1" property="title-type">main</meta> <meta refines="#t1" property="display-seq">2</meta> <dc:title id="t2">The Great Cookbooks of the World</dc:title> <meta refines="#t2" property="title-type">collection</meta> <meta refines="#t2" property="display-seq">1</meta> <dc:title id="t3">The New French Cuisine Masters</dc:title> <meta refines="#t3" property="title-type">collection</meta> <meta refines="#t3" property="display-seq">3</meta> <dc:title id="t4">Special Anniversary Edition</dc:title> <meta refines="#t4" property="title-type">edition</meta> <meta refines="#t4" property="display-seq">4</meta> <dc:title id="t5">The Great Cookbooks of the World: Mon premier guide de cuisson, un Mémoire. The New French Cuisine Masters, Volume Two. Special Anniversary Edition</dc:title> <meta refines="#t5" property="title-type">expanded</meta> You can check it here. |
|
Tags |
edit, metadata, suggestion |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
New suggestions | mikapanja | Editor | 16 | 05-17-2014 08:30 AM |
Looking for suggestions | cvkemp | Android Devices | 5 | 01-14-2014 08:51 AM |
Suggestions, please | mediax | Reading Recommendations | 9 | 06-07-2013 01:03 PM |
Any suggestions? | Limmer | Kobo Reader | 1 | 09-14-2012 06:05 AM |
BD - suggestions... | pitolee | Sony Reader | 16 | 04-27-2007 10:08 PM |