Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Sigil

Notices

Reply
 
Thread Tools Search this Thread
Old 02-11-2022, 04:08 PM   #1
z537815
Enthusiast
z537815 began at the beginning.
 
Posts: 27
Karma: 10
Join Date: Aug 2019
Device: Lenovo TB-X704F
Sigil 1.8.0 and Epub 3.0 metadata

Greetings.

I may very well be overlooking something, but here it goes.

If I want to add metadata to an Epub 3.0 file, Sigil 1.8.0 presents me with a different set of possible metadata than for an Epub 2.x file. I assume this is "works as designed".

I'd like to add calibre's series-support to an Epub 3.0 file: calibre:series and calibre:series_index. Which metadata-tags do I use?

Thx.
z537815 is offline   Reply With Quote
Old 02-11-2022, 04:38 PM   #2
BeckyEbook
Guru
BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.
 
BeckyEbook's Avatar
 
Posts: 839
Karma: 2657572
Join Date: Jan 2017
Location: Poland
Device: Various
Look here.
BeckyEbook is offline   Reply With Quote
Advert
Old 02-11-2022, 04:43 PM   #3
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: 8,745
Karma: 5706256
Join Date: Nov 2009
Device: many
You only need calibre:series and calibre:series_ index for epub2. Epub3 has its own official way to handle series and series_index:

Here is a snippet from the opf showing how to do that.

Code:
<meta id="seriesid" property="belongs-to-collection">NAMEOFSERIES</meta>
<meta refines="#seriesid" property="collection-type">series</meta>
<meta refines="#seriesid" property="group-position">INDEXVALUE</meta>

In Sigil's metadata editor you do the following:

1. Add an Element and select "Belongs to Collection", fill in series name
2. Add a Property to that Element and select "Collection is a Series"
3. Add a Property to that Element and select "Position in Group", fill in series index

Sigil's MetaEditor will properly create the seriesid and all the refines needed.

Why the epub3 spec took something so simple and made it so complex is anyone's guess!
KevinH is offline   Reply With Quote
Old 02-11-2022, 06:19 PM   #4
DiapDealer
Grand Sorcerer
DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.
 
DiapDealer's Avatar
 
Posts: 28,551
Karma: 204127028
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
Quote:
Originally Posted by BeckyEbook View Post
Look here.
Yes. It would appear that nothing much has changed on the Sigil/Epub3 front regarding calibre series metadata in the two years that have passed since the OP last asked.
DiapDealer is offline   Reply With Quote
Old 02-12-2022, 09:27 AM   #5
z537815
Enthusiast
z537815 began at the beginning.
 
Posts: 27
Karma: 10
Join Date: Aug 2019
Device: Lenovo TB-X704F
Quote:
Originally Posted by BeckyEbook View Post
Look here.
Thx. I guess I ran into this before. Again, I'm dealing with how Aldiko Next processes these tags.

Found something new, though. The Metadata-editor has this list of tags. The list for Epub 3.x contains something called custom element, which seems to be something I could use because it allows me to actually specify the tag I'd like to include.

So I select custom element, specify calibre:series in the next box, and, sure enough, that tag does appear in the epub's metadata. I then specify the value, do the same with calibre:series_index and save the epub.

Much to my surprise, when I open the epub again, these tags have disappeared! The metadata-editor doesn't list them, and, of course, neither do they show up in the OPF.

Custom element does not support just any tag? everything seems to be OKE, until I save the epub. No messages.
z537815 is offline   Reply With Quote
Advert
Old 02-12-2022, 11:21 AM   #6
Doitsu
Grand Sorcerer
Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.
 
Doitsu's Avatar
 
Posts: 5,725
Karma: 24031401
Join Date: Dec 2010
Device: Kindle PW2
Quote:
Originally Posted by z537815 View Post
So I select custom element, specify calibre:series in the next box, and, sure enough, that tag does appear in the epub's metadata. I then specify the value, do the same with calibre:series_index and save the epub.
Unless Aldiko Reader requires Calibre metadata entries, simply follow KevinH's instructions.
Doitsu is offline   Reply With Quote
Old 02-12-2022, 12:21 PM   #7
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: 8,745
Karma: 5706256
Join Date: Nov 2009
Device: many
Based on a web search Aldiko and "epub3" there is very little info. Aldiko appears to be quite quite old and may only support epub2 and epub2 metadata with very limited font and css support. There was some talk of Aldiko adopting the Readium 2 SDK in an Aldiko update.

If they did adopt Readium 2, then my instructions are correct. If not, you might want to think about moving to a more modern e-book reader that has better css, font, and epub3 support. Perhaps Thorium.
KevinH is offline   Reply With Quote
Reply

Tags
epub 3.0, meta data, sigil 1.8.0


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Sigil 0.9.17 and Epub 3.0 Metadata z537815 Sigil 7 08-24-2019 08:50 AM
Sigil's support for EPUB 3.1 specs, metadata Chang Sigil 11 09-19-2017 08:15 AM
Epub crashes on Sigil for Mac, OK on Sigil for PC crystamichelle Sigil 6 08-14-2013 02:52 PM
Multiple files, *-tmp.epub, are left in /tmp/Sigil/scratchpad after closing Sigil Ahmad Samir Sigil 8 11-28-2012 04:27 AM
Metadata in Sigil bertn33 Android Devices 0 04-21-2011 02:24 PM


All times are GMT -4. The time now is 02:18 AM.


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