epub-metadata-editor icon indicating copy to clipboard operation
epub-metadata-editor copied to clipboard

[BUG?] "belongs-to-collection" metadata in epub3 is not used (preventing some software from creating series)

Open VegethB opened this issue 2 years ago • 2 comments

When an epub3 is edited, the "series" and "series_index" fields are inserted as in the example below. (Even using the batch mode)

This software:

      <meta name="calibre:series" content="Monogatari Series"/>
      <meta name="calibre:series_index" content="1.0"/>
screens:

Inked194876788-eda4eb26-0e78-4153-a442-3d562ec6aa46

Unfortunately this prevents certain software from creating the series view. I am referring specifically to the Kavita software.

https://wiki.kavitareader.com/en/guides/managing-your-files/ebooks

Editing the same epub with Caliber, it seems that the correct tag/metadata for the epub3 is used which is recognized by the software (Kavita) and then creates the series in the software.

Calibre edit:

    <meta property="belongs-to-collection" id="id-3">Monogatari Series</meta>
    <meta refines="#id-3" property="collection-type">series</meta>
    <meta refines="#id-3" property="group-position">1.0</meta>
screens:

image image Inked194875286-f06cb78d-4c21-4ba8-a9f8-99e9becb1628

Starter e-book Monogatari Series - Volume 01 - Bakemonogatari (Part 1)  Vertical Monogatari Series - Volume 01 5 - Bakemonogatari (Part 2)  Vertical

VegethB avatar Oct 10 '22 13:10 VegethB

The way EPUB Metadata Editor implements series dates from EPUB2 days and followed Calibre's method of the time. But I have not updated this code for EPUB3. To be honest, it would be a lot of coding for very little result. I don't have as much coding time as I used to, sorry!

benchen71 avatar Oct 12 '22 06:10 benchen71

The way EPUB Metadata Editor implements series dates from EPUB2 days and followed Calibre's method of the time. But I have not updated this code for EPUB3. To be honest, it would be a lot of coding for very little result. I don't have as much coding time as I used to, sorry!

I understand, I can't do batches at the moment but I can easily add metadata with the editor (better than nothing). So thanks anyway for the software (which is better than calibre which clears my metadata and inserts "unknown").

VegethB avatar Oct 12 '22 13:10 VegethB

The new version will include the EPUB3 way of handling series information.

benchen71 avatar Dec 16 '22 10:12 benchen71

The new version will include the EPUB3 way of handling series information.

Thanks, as soon as I find the time, I'll get behind it and check. I'll probably get something done next week Also because with certain epubs the .net crash and I had to do it manually with 7zip (it goes wrong when you save), maybe now with the epub3 support it won't happen again.

VegethB avatar Dec 16 '22 11:12 VegethB