Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old Yesterday, 08:43 AM   #1
readabit
Enthusiast
readabit could sell banana peel slippers to a Deveel.readabit could sell banana peel slippers to a Deveel.readabit could sell banana peel slippers to a Deveel.readabit could sell banana peel slippers to a Deveel.readabit could sell banana peel slippers to a Deveel.readabit could sell banana peel slippers to a Deveel.readabit could sell banana peel slippers to a Deveel.readabit could sell banana peel slippers to a Deveel.readabit could sell banana peel slippers to a Deveel.readabit could sell banana peel slippers to a Deveel.readabit could sell banana peel slippers to a Deveel.
 
Posts: 39
Karma: 3034
Join Date: Mar 2012
Device: Boox Note Air 2 Plus, Samsung Galaxy S23 (base), Samsung Galaxy Tab S3
Question Way to Embed/Save Metadata and Cover to EMPTY EPub (for cataloging physical books)?

I already using Calibre for my digital library, and I'm exploring using it for cataloging my physical books. I use Calibre in conjunction with BookFusion (which is only focused on digital media), so I'd like to be able to easly create an "empty" EPub for each physical book that would embed the cover and whatever metadata is in Calibre. What I'm observing so far is that using the built-in Add Empty Book feature (with selecting EPub format) doesn't seem to allow for embedding anything into the empty file ("Embed Metadata" doesn't do anything).

Has anyone found a way to do the above (where you end up with a simple EPub containing the Cover and Metadata), or should I maybe request this as a feature request?

Edit: I should note that I don't mean exclusively EPub -- I may want to experiment with some of the other formats, so I really mean any of the ebook formats that normally support embedding cover and metadata (so not txt files, of course). And it is also occurring to me that what I'm probably actually needing is a way to easily create a "mini" EPub, AZW3, etc that is a complete ebook file (though still empty), as that (in theory) should then support the Embed Metadata feature actually working. I think maybe the reason the "empty" EPub, etc doesn't support the Embed Metadata is that it is not enough of a complete EPub (or other format) for the Embed Metadata plugin to add anything to (though that is just my hunch).

Thank you in advance for any assistance!

Last edited by readabit; Yesterday at 09:20 AM.
readabit is offline   Reply With Quote
Old Yesterday, 11:31 AM   #2
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: 31,191
Karma: 60406678
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
There are 900+ 'Empty Book' in my Library. That was the first real task I did with Calibre and my trusty (keyboard wedge) barcode scanner.

I used Add from ISBN (right click the Add Books icon) for books that had ISBN codes. Do small batches (10-20) and resolve any issues (bad cover, not found...) Add from ISBN also allows a 'Tag' to be includes in the entry (<in paper Library> was mine ) . It took me almost a year, doing a batch or 2 after work. Many had no ISBN (books from the 60's that needed Google and other help, Some needed my flat bed scanner for the 'correct' cover.

You don't need a barcode scanner to use Add from ISBN, but it does speed things up if you don't do 10key .
IIRC Add from ISBN attempts to fetch covers and metadata from your configured sources. Have good Internet while doing.

Do this in a 'Intake' Library, Fix whatever needed, then
use 'Copy To Library' (delete): to move to the Main Library. This allows corrections without contaminating the existing metadata with bad case.

Add Empty Book Starts with a form
( do a group of books by Author +series in order. The one thing this does not allow is the Start of a Series numbering if a series is used. )
theducks is online now   Reply With Quote
Advert
Old Yesterday, 11:46 AM   #3
readabit
Enthusiast
readabit could sell banana peel slippers to a Deveel.readabit could sell banana peel slippers to a Deveel.readabit could sell banana peel slippers to a Deveel.readabit could sell banana peel slippers to a Deveel.readabit could sell banana peel slippers to a Deveel.readabit could sell banana peel slippers to a Deveel.readabit could sell banana peel slippers to a Deveel.readabit could sell banana peel slippers to a Deveel.readabit could sell banana peel slippers to a Deveel.readabit could sell banana peel slippers to a Deveel.readabit could sell banana peel slippers to a Deveel.
 
Posts: 39
Karma: 3034
Join Date: Mar 2012
Device: Boox Note Air 2 Plus, Samsung Galaxy S23 (base), Samsung Galaxy Tab S3
Thanks much for all those details! Can you speak to my main question, though, which is how to get an "empty" EPub, AZW3, etc that can embed the cover and metadata (so that I can upload it to BookFusion to be able to see my physical library there, alongside my digital library)?
readabit is offline   Reply With Quote
Old Yesterday, 12:09 PM   #4
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: 31,191
Karma: 60406678
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A

'Polish' (the hand broom icon) the empty format (Update the cover, Update the metadata, ticked)
theducks is online now   Reply With Quote
Old Yesterday, 12:27 PM   #5
readabit
Enthusiast
readabit could sell banana peel slippers to a Deveel.readabit could sell banana peel slippers to a Deveel.readabit could sell banana peel slippers to a Deveel.readabit could sell banana peel slippers to a Deveel.readabit could sell banana peel slippers to a Deveel.readabit could sell banana peel slippers to a Deveel.readabit could sell banana peel slippers to a Deveel.readabit could sell banana peel slippers to a Deveel.readabit could sell banana peel slippers to a Deveel.readabit could sell banana peel slippers to a Deveel.readabit could sell banana peel slippers to a Deveel.
 
Posts: 39
Karma: 3034
Join Date: Mar 2012
Device: Boox Note Air 2 Plus, Samsung Galaxy S23 (base), Samsung Galaxy Tab S3
Quote:
Originally Posted by theducks View Post

'Polish' (the hand broom icon) the empty format (Update the cover, Update the metadata, ticked)
That is awesome -- thank you!! I was not familiar with that function (I had to add it to my toolbar), but it does indeed do what I need!

I don't suppose there are any ways to further automate that? Though I suppose if I'm doing batches it doesn't really matter...and I'm just now noticing it retains the checkmarks from the last run, which further helps.

This really is fantastic -- thank you so much!
readabit is offline   Reply With Quote
Advert
Old Yesterday, 12:38 PM   #6
chaley
Grand Sorcerer
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
Posts: 12,522
Karma: 8065528
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
I did it using the following steps:
  • Create an empty book with an EPUB format. I set the title, authors, and series correctly
    Click image for larger version

Name:	Clipboard01.jpg
Views:	10
Size:	43.9 KB
ID:	218313
  • Edit metadata to set tags and a cover.
    Before download metadata I see the following, no cover, no tags, no comments.
    Click image for larger version

Name:	Clipboard02.jpg
Views:	12
Size:	198.6 KB
ID:	218314
    After download metadata I see
    Click image for larger version

Name:	Clipboard03.jpg
Views:	9
Size:	335.9 KB
ID:	218315
  • Do and EPUB-to-EPUB conversion, which embeds the metadata and cover.
    Click image for larger version

Name:	Clipboard04.jpg
Views:	7
Size:	253.6 KB
ID:	218316
  • Use calibre's viewer to look at the book. I see the cover.
    Click image for larger version

Name:	Clipboard05.jpg
Views:	6
Size:	198.2 KB
ID:	218317
  • Use calibre's viewer to look at the book's metadata.
    Click image for larger version

Name:	Clipboard06.jpg
Views:	12
Size:	189.5 KB
ID:	218318

I didn't try using "Polish" instead of the EPUB-to-EPUB conversion.
chaley is offline   Reply With Quote
Old Yesterday, 12:40 PM   #7
chaley
Grand Sorcerer
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
Posts: 12,522
Karma: 8065528
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Quote:
Originally Posted by readabit View Post
I don't suppose there are any ways to further automate that? Though I suppose if I'm doing batches it doesn't really matter...and I'm just now noticing it retains the checkmarks from the last run, which further helps.
You can automate some or all the steps using the Action Chains plugin.
chaley is offline   Reply With Quote
Old Yesterday, 01:47 PM   #8
readabit
Enthusiast
readabit could sell banana peel slippers to a Deveel.readabit could sell banana peel slippers to a Deveel.readabit could sell banana peel slippers to a Deveel.readabit could sell banana peel slippers to a Deveel.readabit could sell banana peel slippers to a Deveel.readabit could sell banana peel slippers to a Deveel.readabit could sell banana peel slippers to a Deveel.readabit could sell banana peel slippers to a Deveel.readabit could sell banana peel slippers to a Deveel.readabit could sell banana peel slippers to a Deveel.readabit could sell banana peel slippers to a Deveel.
 
Posts: 39
Karma: 3034
Join Date: Mar 2012
Device: Boox Note Air 2 Plus, Samsung Galaxy S23 (base), Samsung Galaxy Tab S3
Quote:
Originally Posted by chaley View Post
I didn't try using "Polish" instead of the EPUB-to-EPUB conversion.
Quote:
Originally Posted by chaley View Post
You can automate some or all the steps using the Action Chains plugin.
Very cool -- thank you much for both of these (and such an illustrative, detailed set of instructions/steps)! It had not occurred to me that the EPUB-to-EPUB conversion route would work in this case, though it seems obvious in retrospect.
readabit is offline   Reply With Quote
Old Yesterday, 04:49 PM   #9
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: 21,921
Karma: 30277294
Join Date: Mar 2012
Location: Sydney Australia
Device: none
EPUB→EPUB conversion changes the style sheets and the text files:

Click image for larger version

Name:	style.jpg
Views:	11
Size:	351.6 KB
ID:	218321 Click image for larger version

Name:	text.jpg
Views:	12
Size:	476.6 KB
ID:	218322

If you only check Update metadata in the book files in Polish books it will only change the .opf file.

BR
BetterRed is online now   Reply With Quote
Old Yesterday, 04:55 PM   #10
readabit
Enthusiast
readabit could sell banana peel slippers to a Deveel.readabit could sell banana peel slippers to a Deveel.readabit could sell banana peel slippers to a Deveel.readabit could sell banana peel slippers to a Deveel.readabit could sell banana peel slippers to a Deveel.readabit could sell banana peel slippers to a Deveel.readabit could sell banana peel slippers to a Deveel.readabit could sell banana peel slippers to a Deveel.readabit could sell banana peel slippers to a Deveel.readabit could sell banana peel slippers to a Deveel.readabit could sell banana peel slippers to a Deveel.
 
Posts: 39
Karma: 3034
Join Date: Mar 2012
Device: Boox Note Air 2 Plus, Samsung Galaxy S23 (base), Samsung Galaxy Tab S3
Quote:
Originally Posted by BetterRed View Post
EPUB→EPUB conversion changes the style sheets and the text files:

If you only check Update metadata in the book files in Polish books it will only change the .opf file.

BR
Good to know, thank you!
readabit is offline   Reply With Quote
Old Yesterday, 05:36 PM   #11
chaley
Grand Sorcerer
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
Posts: 12,522
Karma: 8065528
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Quote:
Originally Posted by BetterRed View Post
EPUB→EPUB conversion changes the style sheets and the text files:
BR
Why does this matter for an empty EPUB created by calibre?
chaley is offline   Reply With Quote
Old Today, 06:56 AM   #12
readabit
Enthusiast
readabit could sell banana peel slippers to a Deveel.readabit could sell banana peel slippers to a Deveel.readabit could sell banana peel slippers to a Deveel.readabit could sell banana peel slippers to a Deveel.readabit could sell banana peel slippers to a Deveel.readabit could sell banana peel slippers to a Deveel.readabit could sell banana peel slippers to a Deveel.readabit could sell banana peel slippers to a Deveel.readabit could sell banana peel slippers to a Deveel.readabit could sell banana peel slippers to a Deveel.readabit could sell banana peel slippers to a Deveel.
 
Posts: 39
Karma: 3034
Join Date: Mar 2012
Device: Boox Note Air 2 Plus, Samsung Galaxy S23 (base), Samsung Galaxy Tab S3
Quote:
Originally Posted by chaley View Post
Why does this matter for an empty EPUB created by calibre?
I think they were mentioning this because my stated goal was that wanted the EPUB to be changed, so they were clarifying the conditions in which using Polish would not result in a changed file.
readabit is offline   Reply With Quote
Old Today, 08:11 AM   #13
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: 21,921
Karma: 30277294
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Quote:
Originally Posted by readabit View Post
I think they were mentioning this because my stated goal was that wanted the EPUB to be changed, so they were clarifying the conditions in which using Polish would not result in a changed file.
No - if the Update metadata in the book files is checked Polish books will update the metadata section of the opf file within EPUB… which I assume is what BookFusion uses.

@chaley is right, in your particular use case because the EPUB has no substantive content there is no style sheet to calibre-ise in an EPUB→EPUB conversion. But I would argue that the baseline Polish books feature has the advantage of being a scalpel whereas a conversion is a chain-saw.

N.B. The metadata.opf files in the book files are updated whenever metadata is changed, their only purpose is to enable restoration of a corrupted library database.

BR
BetterRed is online now   Reply With Quote
Old Today, 09:03 AM   #14
readabit
Enthusiast
readabit could sell banana peel slippers to a Deveel.readabit could sell banana peel slippers to a Deveel.readabit could sell banana peel slippers to a Deveel.readabit could sell banana peel slippers to a Deveel.readabit could sell banana peel slippers to a Deveel.readabit could sell banana peel slippers to a Deveel.readabit could sell banana peel slippers to a Deveel.readabit could sell banana peel slippers to a Deveel.readabit could sell banana peel slippers to a Deveel.readabit could sell banana peel slippers to a Deveel.readabit could sell banana peel slippers to a Deveel.
 
Posts: 39
Karma: 3034
Join Date: Mar 2012
Device: Boox Note Air 2 Plus, Samsung Galaxy S23 (base), Samsung Galaxy Tab S3
Ah, okay, that is helpful -- than you much for all the clarification!

Appreciate all the help, everyone -- I think I'm good to go!
readabit is offline   Reply With Quote
Old Today, 11:24 AM   #15
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 80,346
Karma: 148951763
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by BetterRed View Post
EPUB→EPUB conversion changes the style sheets and the text files:

Attachment 218321 Attachment 218322

If you only check Update metadata in the book files in Polish books it will only change the .opf file.

BR
My suggestion is to use the Modify ePub plugin. It's goal is to make as little changes to the code as possible. It will make less changes when it embeds the metadata then calibre will using polish.

And in the editor, it defaults to updating the metadata when you use it. So I suggest to disable that. The way to do it is to load an ePub into the editor. Then go to Edit > Preferences > Integration with calibre. Uncheck Update metadata embedded in the book when opening. That way the code will be not be changed at all if you use the editor. And when you exit out of the editor do not save the eBook.

Last edited by JSWolf; Today at 11:31 AM.
JSWolf is online now   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Can't embed metadata or save pdf to disk MarjaE Library Management 0 03-11-2018 05:56 PM
Physical book cataloging, design choices -- experiences? suggestions? lairdb Library Management 4 03-16-2017 10:06 AM
Using Calibre for physical library cataloging. Possible to pull Amazon price info? toddmp Plugins 4 09-21-2014 08:00 PM
Save cover in metadata? cliver Library Management 25 03-05-2012 05:58 PM
New Metadata class (empty books) and custom columns kiwidude Development 14 03-12-2011 06:47 AM


All times are GMT -4. The time now is 05:37 PM.


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