Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 06-01-2010, 03:57 AM   #1
Theeo123
Member
Theeo123 began at the beginning.
 
Posts: 17
Karma: 10
Join Date: Apr 2010
Device: Kindle DX
Saving Meta-data to Books without conversion

this has possibly been answered elsewhere but I can't seem to find it

I love being able to update the metadata for my books, downloading covers etc. but this info doesn't seem to get saved to the file unless i convert it. sadly many books i download are already in a format I like, some in a format that Calibre, doesn't output to (azw, and yes i know i could use mobi)

is there way to save the meta-data to a book without having to convert it?

this would be especially useful with PDF as many of the ones i have don't convert to other formats very cleanly

The book covers don't show up n my Kindle, but it's nice to know its there, there rest of the info though, would be nice to have
Theeo123 is offline   Reply With Quote
Old 06-01-2010, 05:13 AM   #2
Dopedangel
Wizard
Dopedangel ought to be getting tired of karma fortunes by now.Dopedangel ought to be getting tired of karma fortunes by now.Dopedangel ought to be getting tired of karma fortunes by now.Dopedangel ought to be getting tired of karma fortunes by now.Dopedangel ought to be getting tired of karma fortunes by now.Dopedangel ought to be getting tired of karma fortunes by now.Dopedangel ought to be getting tired of karma fortunes by now.Dopedangel ought to be getting tired of karma fortunes by now.Dopedangel ought to be getting tired of karma fortunes by now.Dopedangel ought to be getting tired of karma fortunes by now.Dopedangel ought to be getting tired of karma fortunes by now.
 
Dopedangel's Avatar
 
Posts: 1,759
Karma: 30063305
Join Date: Dec 2006
Location: Singapore
Device: Boyue
Quote:
Originally Posted by Theeo123 View Post
this has possibly been answered elsewhere but I can't seem to find it

I love being able to update the metadata for my books, downloading covers etc. but this info doesn't seem to get saved to the file unless i convert it. sadly many books i download are already in a format I like, some in a format that Calibre, doesn't output to (azw, and yes i know i could use mobi)

is there way to save the meta-data to a book without having to convert it?

this would be especially useful with PDF as many of the ones i have don't convert to other formats very cleanly

The book covers don't show up n my Kindle, but it's nice to know its there, there rest of the info though, would be nice to have
When you use save to option the book saved would have updated metadata
but it does not work with some formats. Then replace your old book with the new one
Dopedangel is offline   Reply With Quote
Advert
Old 06-01-2010, 05:41 AM   #3
Worldwalker
Curmudgeon
Worldwalker ought to be getting tired of karma fortunes by now.Worldwalker ought to be getting tired of karma fortunes by now.Worldwalker ought to be getting tired of karma fortunes by now.Worldwalker ought to be getting tired of karma fortunes by now.Worldwalker ought to be getting tired of karma fortunes by now.Worldwalker ought to be getting tired of karma fortunes by now.Worldwalker ought to be getting tired of karma fortunes by now.Worldwalker ought to be getting tired of karma fortunes by now.Worldwalker ought to be getting tired of karma fortunes by now.Worldwalker ought to be getting tired of karma fortunes by now.Worldwalker ought to be getting tired of karma fortunes by now.
 
Posts: 3,085
Karma: 722357
Join Date: Feb 2010
Device: PRS-505
Whether you can save the metadata to the book depends on whether that particular book is in a format which supports metadata. For example, if you have a book as a txt file, obviously there's no support for metadata outside of calibre; if it's an epub, there is; for other formats, the existence and level of support varies.
Worldwalker is offline   Reply With Quote
Old 06-01-2010, 06:37 AM   #4
Theeo123
Member
Theeo123 began at the beginning.
 
Posts: 17
Karma: 10
Join Date: Apr 2010
Device: Kindle DX
I am slightly confused, perhaps my question needs clarification.

as it stands now, if I download a book, any format, as ive tried multiple, including text,pdf,html,azw and lets say, for instance, the title an author are incorrect (wrong order for instance) I have a book H.G.Wells - The Time machine.

I download it, say as text, or Mobi, whatever, pick your format, I Calibri it shows up as HG wells being the title, and the time machine, being the author

I click the button to edit meta data, and make the necessary changes, click ok
then without converting the book send it to my kindle
upon turning on my kindle, it still shows with the improper title and author.


if what your telling me, is that i must right-click each book, and select save to disk ,and then re-import it to Calibri before sending to my Kindle, then I'm going to be very displeased. Also if I must convert the book, that's already in the format I want, simple to get the meta data to write.. this also seems less than efficient.

Can the Edit meta data dialog simple not write the meta data to supported formats when you click "ok"

If that's what's supposed to be happening, I assure you that on my installation, it is not
Theeo123 is offline   Reply With Quote
Old 06-01-2010, 06:45 AM   #5
itimpi
Wizard
itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.
 
Posts: 4,552
Karma: 950151
Join Date: Nov 2008
Device: Sony PRS-950, iphone/ipad (Marvin/iBooks/QuickReader)
It is not meant to update the file as soon as you edit the metadata. As a design policy Calibre does not change files inside its library until you do a Conversion.

However it should be updating the metadata when you export the file by using the "Save to Disk" or "Send to Device" commands unless you have elected to disable the relevant plugin for the format/device in question
itimpi is offline   Reply With Quote
Advert
Old 06-01-2010, 07:32 AM   #6
Theeo123
Member
Theeo123 began at the beginning.
 
Posts: 17
Karma: 10
Join Date: Apr 2010
Device: Kindle DX
It seems to do so if I Save to disk, but not when I send to device

Last edited by Theeo123; 06-01-2010 at 07:35 AM.
Theeo123 is offline   Reply With Quote
Old 06-01-2010, 06:03 PM   #7
Stinger
Asha'man
Stinger has learned how to read e-booksStinger has learned how to read e-booksStinger has learned how to read e-booksStinger has learned how to read e-booksStinger has learned how to read e-booksStinger has learned how to read e-booksStinger has learned how to read e-books
 
Stinger's Avatar
 
Posts: 335
Karma: 844
Join Date: May 2010
Location: Canada
Device: Kobo
Quote:
Originally Posted by Theeo123 View Post
It seems to do so if I Save to disk, but not when I send to device
Are you sure?

I've noticed that some eReaders cache metadata for books in their own internal database (or some other scheme). So if you just changed metadata for a book already on your device, and then just replaced the file, the device might not reprocess that book to change this cached data.

On my Kobo, I've noticed this happen a couple times. Removing the book from the device, and then re-adding it (rather then just overwriting the file already on the device) forced the Kobo to reprocess that file, and the updated Metadata did indeed show.
Stinger is offline   Reply With Quote
Old 06-01-2010, 11:37 PM   #8
DoctorOhh
US Navy, Retired
DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.
 
DoctorOhh's Avatar
 
Posts: 9,864
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Nexus 7
Quote:
Originally Posted by Stinger View Post
Quote:
Originally Posted by Theeo123 View Post
It seems to do so if I Save to disk, but not when I send to device
Are you sure?

I've noticed that some eReaders cache metadata for books in their own internal database (or some other scheme). So if you just changed metadata for a book already on your device, and then just replaced the file, the device might not reprocess that book to change this cached data.
That's a good point the book should be deleted from the device then the updated book should be sent to the device.

Another mistake some people make is thinking that using explorer or other file manager to drag the file to the device is the same as Send to device, it is not the same. Send to device from within Calibre will update the metadata, dragging the file will not.
DoctorOhh is offline   Reply With Quote
Old 06-02-2010, 11:50 AM   #9
Theeo123
Member
Theeo123 began at the beginning.
 
Posts: 17
Karma: 10
Join Date: Apr 2010
Device: Kindle DX
I'm not using explorer to drag the files, and the files were not on the device in the first place.

it's important to note that I'm taking a PDF for instance, adding meta-data/changing title author ,etc, and then sending to device, still as PDf. (or mobi or whatever) so at no point is a conversion of any sort taking place, not sure if that makes a difference.

my kindle, doesn't support 90% of the meta-data to be honest it's mainly the author-title I'm worried about as I very regularly seem to get books where the title & author are swapped.
Theeo123 is offline   Reply With Quote
Old 06-02-2010, 12:04 PM   #10
Starson17
Wizard
Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.
 
Posts: 4,004
Karma: 177841
Join Date: Dec 2009
Device: WinMo: IPAQ; Android: HTC HD2, Archos 7o; Java:Gravity T
Quote:
Originally Posted by Theeo123 View Post
I'm taking a PDF for instance, adding meta-data/changing title author ,etc, and then sending to device, still as PDf. (or mobi or whatever) so at no point is a conversion of any sort taking place, not sure if that makes a difference.
As others have posted, Calibre will try to update the metadata in the pdf when you use Send to Device to send the pdf. That said, pdf format is the most troublesome when trying to update internal metadata. Possibly you have pdf files that just won't allow the metadata to be updated. It may be worth starting calibre with calibre-debug -g to see if there are any errors during the Send process.
Starson17 is offline   Reply With Quote
Old 06-02-2010, 12:15 PM   #11
Theeo123
Member
Theeo123 began at the beginning.
 
Posts: 17
Karma: 10
Join Date: Apr 2010
Device: Kindle DX
I know I know, PDf is just the first that came to mind, as said I've experienced this issue with several formats. Another thought that comes to mind, though i'd have to look more into it. I'm not sure How the kindle reads it's title and author info for various formats, perhaps if metadata is being updated but the actual filename itself isn't changed, is it possible the kindle DX gives filename priority over metadata in certain instances?

then again shouldn't Calibre be changing the original file-name in the first place?

I think as a test I'm going to create a regular text file, name it 12345.txt and then import it into calibre, change the name-author through the metadata screen then try to send-to device without conversion & see what pops up, then perhaps repeat the process with few other versions & see what happens, perhaps narrow the issue down a bit more
Theeo123 is offline   Reply With Quote
Old 12-08-2010, 10:25 PM   #12
craig8128
Member
craig8128 has a complete set of Star Wars action figures.craig8128 has a complete set of Star Wars action figures.craig8128 has a complete set of Star Wars action figures.craig8128 has a complete set of Star Wars action figures.
 
Posts: 17
Karma: 382
Join Date: May 2010
Location: Austin, Texas
Device: iPad
I'm bumping this thread because I'm having the same kind of issue but haven't seen a good resolution.

Here's the deal: I have a few hundred epub format documents and I'd like to "regularize" the meta info (make author names consistent and add cover pictures). But I'm finding that I seem to need to run an epub-to-epub conversion to update the meta info in each .epub file. This seems rather inefficient and also takes a long time (some files take 30+ minutes).

Is there a way to do this better / faster in calibre? Simply saving to disk doesn't do the job.

Thanks!

Craig
craig8128 is offline   Reply With Quote
Old 12-09-2010, 05:06 AM   #13
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: 11,731
Karma: 6690881
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Quote:
Originally Posted by craig8128 View Post
I'm bumping this thread because I'm having the same kind of issue but haven't seen a good resolution.

Here's the deal: I have a few hundred epub format documents and I'd like to "regularize" the meta info (make author names consistent and add cover pictures). But I'm finding that I seem to need to run an epub-to-epub conversion to update the meta info in each .epub file. This seems rather inefficient and also takes a long time (some files take 30+ minutes).

Is there a way to do this better / faster in calibre? Simply saving to disk doesn't do the job.
The problem is the definition of metadata. Calibre (and most others) define metadata as that which goes into the OPF file. Metadata is descriptive information, not considered part of the book, which explains why it is called 'meta'data (data about data). The cover is considered part of the book, shown when looking at the book, so it isn't descriptive, and therefore not metadata. Calibre's save/send functions update the metadata (descriptive information) but do not touch the 'book'. That is why the cover is not updated.

(Edit: I just found that calibre does update the cover for epubs when saving to disk/sending to device.)

You can use tweak_epub and do the work yourself. First save to disk, then copy the resulting epub back to the library. This will update the metadata. Second, 'Tweak', copy the right cover into the folder, then rebuild the epub. This process does not touch the book's text (html), css, or other visible data.

Some have argued that for epub, it would be easy to automate the above process; update the metadata and cover without changing the rest of the book. This is true, and there have been discussions about adding some kind of function to do it. Usually the same people lump jacket information into the same easy-to-change category, which is somewhat more problematic because jackets aren't an epub standard item. I don't know the status of these ideas or if anyone is working on them. (edit: it has been done for send to device, but not yet done in place)

Last edited by chaley; 12-09-2010 at 10:41 AM. Reason: new information
chaley is offline   Reply With Quote
Old 12-09-2010, 09:56 AM   #14
craig8128
Member
craig8128 has a complete set of Star Wars action figures.craig8128 has a complete set of Star Wars action figures.craig8128 has a complete set of Star Wars action figures.craig8128 has a complete set of Star Wars action figures.
 
Posts: 17
Karma: 382
Join Date: May 2010
Location: Austin, Texas
Device: iPad
Thanks Chaley!

FWIW, I ended up messing around with it more last night, and I wound up with what seems to be at least a partial solution: I had already entered all of my meta info changes into Calibre (I'm backlevel on 0.6.54, btw). I went into Preferences -> Add/Save -> Saving Books and unchecked "Save cover separately" and "Save metadata in OPF file". I checked "Update metadata in saved copies", and also changed "File formats to save" to "epub" (this last might be optional). I then hit OK and then restarted Calibre.

Long story short: when Calibre came back up I selected all of the books and did a "Save to disk" into an empty directory (ie, I didn't try to overwrite any previously existing versions of the books; I'm not sure why but this seemed to make a difference). About 75% of the books seemed to have updated their meta info.

This was not a perfect solution and I'm still investigating why. I'm using iBooks on the iPad and I've got about 1250 books on the devices and it may be that I'm hitting some kind of limit on the number of covers that can be rendered. When I inspect the contents of the misc calibre-saved books, some seem to have saved the cover inside of the .epub file (yet it's not rendering on the iPad). And some calibre-saved books *don't* include their covers (even though a cover was specified when I edited the meta info). I'm still scratching my head.

As I said, it's not a perfect solution but at least it's drastically reduced the number of "problem" books -- I guess I can attempt an epub-to-epub conversion on those and see if it helps at all.

Craig

Last edited by craig8128; 12-09-2010 at 10:01 AM.
craig8128 is offline   Reply With Quote
Old 12-09-2010, 07:42 PM   #15
digital_steve
Muppet
digital_steve has a complete set of Star Wars action figures.digital_steve has a complete set of Star Wars action figures.digital_steve has a complete set of Star Wars action figures.digital_steve has a complete set of Star Wars action figures.digital_steve has a complete set of Star Wars action figures.
 
digital_steve's Avatar
 
Posts: 240
Karma: 442
Join Date: Jul 2010
Location: Tasmania
Device: Kobo Aura HD, Sony PRS-650
This is interesting to me, as i have 4 books that just will not save the cover thumbnail i supply when i put them on my sony, no matter what i do.
I may have to look at those 'save to disk' options and have a play
digital_steve is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
ePub meta data brudigia ePub 4 07-26-2010 12:58 PM
Add books - Meta Data format wwaldo Calibre 2 03-17-2010 07:38 PM
set meta data with ebook-meta and ebook-convert krischik Calibre 6 01-19-2010 11:40 AM
Meta data problems melhall Sony Reader 1 03-31-2008 10:58 PM
PRS-500 Meta Data in Vista not available Gamgee72 Sony Reader Dev Corner 2 09-12-2007 05:12 PM


All times are GMT -4. The time now is 08:41 PM.


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