![]() |
Embedding metadata into epub files
First of all, I am new to the forum. Big thanks to the development of Calibre. I have been an active user and really love it. It's an excellent tool, which I use for tagging.
My ebooks (largely epub, some pdf) are all tagged using Calibre. I use the goodreads plugin and my metadata is complete. I only use Calibre for metadata scraping, but a different tool to serve the ebooks via opdf to my IOS devices. That's my preferred workflow. I have a few questions: 1) Is it possible to embed the metadata within the epub file rather than in a separate opf file (or both)? I did quite some googling and it seems that the "Polish books" plugin is supposed to do so? I installed this, but doesn't seem to work (getting an error message that epub not supported). Any thoughts how I can embed the metadata within an epub file? 2) It seems that Calibre uses a a custom tag for series (<meta content="xxx" name="calibre:series"/>). This does not seem to be the official tag per epub specification (should be "belongs-to-collection"). Is there a way to add the epub tag "belongs-to-collection". This will be better supported as it is in line with official specification. 3) I'd like to change the "title" tag to combine "calibre:series" and "calibre:series_index" (i.e., Title tag reads "series name [series number]". Is there a way for me to create / override this tag and embed it in the epub file? |
1) Preferences->Toolbars->add the embed metadata tool
2) EPUB 2 has no series metadata. For EPUB 3 calibre does use spec compliant series metadata 3) Preferemces->Metadata plugboards-> create a plugboard for the content server and get your books on your device via the content server |
Thanks for your quick reply.
Are you saying that I am using epub 2? If so, can I convert all my ebooks automatically to epub 3? Is there a way not to do #3 via the content server, but create a revised tag that is embedded within the epub 3 format. |
The polish books tool has an option to auto-convert to epub 3. And no, the embed metadata tool will embed the same metadata as is in calibre into the file.
|
When using the plugin on an ebook, I get the message "calibre, version 5.21.0
ERROR: Cannot polish: Polishing is only supported for books in the AZW3 or EPUB formats. Convert to one of those formats before polishing". |
Quote:
If you think the file is already in epub for example, you might want to try opening it in calibre's editor and error checking it. I'd recommend installing the epubcheck plugin for the editor and use it instead of the builtin error check. Another choice might be to do an epub to epub conversion which will often clear up many errors. |
Also Calibre can not polish DRM infested books. You need to be sure they are clear.
|
Thanks for your help. I got the issue now. Somehow, Calibre does not longer see my books (at least not most of them). I may have changed the folder or something? It's very odd though as the covers are shown and I can see the metadata. Also when I click "Path - click to open", I am brought to the right folder with the epub inside. Any ideas?
calibre, version 5.21.0 ERROR: Cannot view: xxx has no available formats. |
When I try to open the book, I get the error message "has no available formats". There is a epub file though in the folder (and I can open it manually with the viewer).
|
Use the library maintenance tool
|
I just did and no errors were found. Any other idea?
|
Oh no :-( Now Calibre deleted by books...
I ran the libary tool and selected "delete extra book formats". And now the epub files are all gone and no trace of my ebooks left (except the jpg and opf files). Also nothing in my trash. Can this be undone or the ebooks otherwise recovered? |
If you tell it to delete the extra books, it will do just that. And no there is no way to recover if you dont have a backup of your library.
|
Ok... That's a pity. I still have the ofp files though, so I hope I don't need to rescrape the metadata? I just copy the ebook file back into the folder?
|
Quote:
That is probably what got you in this mess to begin with. OTOH since you DO have your metadata set (as you wanted): Open the metadata editor: Drop the (correct) file into the FORMATS section and move on to the next. |
| All times are GMT -4. The time now is 09:26 PM. |
Powered by: vBulletin
Copyright ©2000 - 3.8.5, Jelsoft Enterprises Ltd.
MobileRead.com is a privately owned, operated and funded community.