Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Sigil

Notices

Reply
 
Thread Tools Search this Thread
Old 07-05-2016, 08:27 AM   #16
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: 7,647
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
KevinH is offline   Reply With Quote
Old 07-05-2016, 06:07 PM   #17
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 20,575
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
BetterRed is offline   Reply With Quote
Advert
Old 07-05-2016, 06:48 PM   #18
Hitch
Bookmaker & Cat Slave
Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.
 
Hitch's Avatar
 
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:
Originally Posted by BetterRed View Post
@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
And, just because sometimes, a picture is worth a thousand words:

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
Attached Thumbnails
Click image for larger version

Name:	Open_ePUB_1.png
Views:	213
Size:	92.8 KB
ID:	149924   Click image for larger version

Name:	2-Locate_the_OPF.png
Views:	201
Size:	151.9 KB
ID:	149925   Click image for larger version

Name:	3-There_is_the_Metadata.png
Views:	212
Size:	360.3 KB
ID:	149926  
Hitch is offline   Reply With Quote
Old 07-06-2016, 01:36 AM   #19
Jack_Graham
Junior Member
Jack_Graham began at the beginning.
 
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
Jack_Graham is offline   Reply With Quote
Old 07-06-2016, 05:15 AM   #20
Hitch
Bookmaker & Cat Slave
Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.
 
Hitch's Avatar
 
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:
Originally Posted by Jack_Graham View Post
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
The guys here are the best! They'll see you right. Best of luck.

Hitch
Hitch is offline   Reply With Quote
Advert
Old 07-11-2016, 10:24 AM   #21
eschwartz
Ex-Helpdesk Junkie
eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.
 
eschwartz's Avatar
 
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:
Originally Posted by jackie_w View Post
Just FYI - Kobos can also display Series, Comments, Published date, ISBN, Language
I seem to remember hearing that at least the series in particular (for sideloaded books) requires manual insertion into the device database via a calibre plugin.

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.
eschwartz is offline   Reply With Quote
Old 07-11-2016, 11:49 AM   #22
jackie_w
Grand Sorcerer
jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.
 
Posts: 6,212
Karma: 16534894
Join Date: Sep 2009
Location: UK
Device: Kobo: KA1, ClaraHD, Forma, Libra2, Clara2E. PocketBook: TouchHD3
Quote:
Originally Posted by eschwartz View Post
I seem to remember hearing that at least the series in particular (for sideloaded books) requires manual insertion into the device database via a calibre plugin.

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.
For sideloaded books the database can be manipulated by both the standard calibre Kobo device driver and by calibre plugins.

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
jackie_w is offline   Reply With Quote
Old 07-11-2016, 12:08 PM   #23
eschwartz
Ex-Helpdesk Junkie
eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.
 
eschwartz's Avatar
 
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.
eschwartz is offline   Reply With Quote
Old 07-11-2016, 01:05 PM   #24
jackie_w
Grand Sorcerer
jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.
 
Posts: 6,212
Karma: 16534894
Join Date: Sep 2009
Location: UK
Device: Kobo: KA1, ClaraHD, Forma, Libra2, Clara2E. PocketBook: TouchHD3
When KevinH commented
Quote:
I know of no other reader besides Calibre that shows much of anything other that title, authors, and date but ...
I merely responded - hopefully in a polite manner - with a bit of info which may have been of minor interest.

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.
jackie_w is offline   Reply With Quote
Old 07-11-2016, 03:38 PM   #25
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: 7,647
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:
Originally Posted by jackie_w View Post
When KevinH commented

I merely responded - hopefully in a polite manner - with a bit of info which may have been of minor interest.

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.
KevinH is offline   Reply With Quote
Old 07-11-2016, 03:47 PM   #26
eschwartz
Ex-Helpdesk Junkie
eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.
 
eschwartz's Avatar
 
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...
eschwartz is offline   Reply With Quote
Old 07-11-2016, 09:54 PM   #27
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 29,809
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
theducks is offline   Reply With Quote
Old 07-12-2016, 02:28 AM   #28
Toxaris
Wizard
Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.
 
Toxaris's Avatar
 
Posts: 4,520
Karma: 121692313
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-T1, Kobo Touch, Kobo Aura
Quote:
Originally Posted by theducks View Post
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
I agree, at least it is fixed for ePUB3. That is one thing they did right.
Toxaris is offline   Reply With Quote
Old 07-12-2016, 08:30 AM   #29
Turtle91
A Hairy Wizard
Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.
 
Turtle91's Avatar
 
Posts: 3,095
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?
Turtle91 is offline   Reply With Quote
Old 07-12-2016, 09:33 AM   #30
Toxaris
Wizard
Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.
 
Toxaris's Avatar
 
Posts: 4,520
Karma: 121692313
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-T1, Kobo Touch, Kobo Aura
Quote:
Originally Posted by Turtle91 View Post
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?
With the metadata in ePUB3 you can do a lot with series, series numbers and anthologies. Of course this is not backwards compatible with Calibre, no way that the IDPF will use Calibre tags. Also, you can enter more information than with the Calibre tags.

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.
Toxaris is offline   Reply With Quote
Reply

Tags
edit, metadata, suggestion


Forum Jump

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


All times are GMT -4. The time now is 02:23 PM.


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