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

Go Back   MobileRead Forums > E-Book Software > Calibre > Library Management

Notices

Reply
 
Thread Tools Search this Thread
Old 09-17-2012, 09:56 PM   #1
rrvult
Junior Member
rrvult began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Sep 2012
Device: Kindle Touch
Problem with editing metadata

I just discovered that all of the metadata editing I have been doing has been in vain because non of it took.

When I go to "edit metadata", and change the title of a book (for instance to number a series), after I hit ok at the bottom then open the ebook in calibre's viewer, the title remains as the old title. The title and the title sort fields are the same.

For example: I have book titled "Book X", and I want to change it to "Series 01 - Book X" . I edit the metadata to reflect that, hit the arrow to change title sort as well, and hit ok at the bottom. I open the ebook in calibre's viewer, or on my kindle and it still reads "Book X".

What I have to end up doing is converting the book to the same type of file (epub --> epub) just to change the title. You can imagine that this gets really annoying on nearly 1K books.

These books are without DRM, if that matters.

Any help is appreciated! If this is in the wrong forum, feel free to move it. Also, I tried to search the forum for a thread with the same question, but couldn't find one. Sorry if this is a repeat somehow.
rrvult is offline   Reply With Quote
Old 09-17-2012, 10:14 PM   #2
unboggling
Wizard
unboggling ought to be getting tired of karma fortunes by now.unboggling ought to be getting tired of karma fortunes by now.unboggling ought to be getting tired of karma fortunes by now.unboggling ought to be getting tired of karma fortunes by now.unboggling ought to be getting tired of karma fortunes by now.unboggling ought to be getting tired of karma fortunes by now.unboggling ought to be getting tired of karma fortunes by now.unboggling ought to be getting tired of karma fortunes by now.unboggling ought to be getting tired of karma fortunes by now.unboggling ought to be getting tired of karma fortunes by now.unboggling ought to be getting tired of karma fortunes by now.
 
Posts: 1,065
Karma: 858115
Join Date: Jan 2011
Device: Kobo Clara, Kindle Paperwhite 10
Instead of prepending series to title manually in the column Title in the calibre library, you can use Metadata Plugboards (Preferences - Import/Export) to do that automatically whenever you Send a book to Kindle or other device. These are my Metadata Plugboard settings for Kindle:

To prepend Series and Series Index to Title in destination field title:
Code:
{series}{series_index:0>2s| | - }{title}
To sort author correctly; in destination field authors:
Code:
{author_sort}
If you really want the metadata updated in the ePub format that remains in the library, you can use the third-party plugin Modify ePub to update the metadata in the ePub format of a selected book without doing a conversion. In the plugin uncheck everything except the last option, Update Metadata.

Last edited by unboggling; 09-17-2012 at 10:17 PM.
unboggling is offline   Reply With Quote
Old 09-18-2012, 02:49 AM   #3
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 rrvult View Post
I just discovered that all of the metadata editing I have been doing has been in vain because non of it took.
It all "took" you are just a little confused about what you were changing. You were changing the metadata in calibre not the book. The metadata gets updated in the book a few different ways. If you do any of the following:

Save to disk
Send to device
Download (epub or mobi) from Content server.
Email (epub or mobi) via calibre's email feature.
Convert a file, as you found out epub to epub conversion works fine.
Use the Modify ePub plugin to update your books metadata.

Essentially anytime you export a book out of calibre the metadata gets updated.

I agree with unboggling leave your Titles as titles in calibre and use the metadata plugboard to insert series info in front of the title when you send it to your device.
DoctorOhh is offline   Reply With Quote
Old 09-18-2012, 06:52 AM   #4
unboggling
Wizard
unboggling ought to be getting tired of karma fortunes by now.unboggling ought to be getting tired of karma fortunes by now.unboggling ought to be getting tired of karma fortunes by now.unboggling ought to be getting tired of karma fortunes by now.unboggling ought to be getting tired of karma fortunes by now.unboggling ought to be getting tired of karma fortunes by now.unboggling ought to be getting tired of karma fortunes by now.unboggling ought to be getting tired of karma fortunes by now.unboggling ought to be getting tired of karma fortunes by now.unboggling ought to be getting tired of karma fortunes by now.unboggling ought to be getting tired of karma fortunes by now.
 
Posts: 1,065
Karma: 858115
Join Date: Jan 2011
Device: Kobo Clara, Kindle Paperwhite 10
Quote:
Originally Posted by DoctorOhh View Post
Save to disk
Send to device
Download (epub or mobi) from Content server.
Email (epub or mobi) via calibre's email feature.
Convert a file, as you found out epub to epub conversion works fine.
Use the Modify ePub plugin to update your books metadata.

Essentially anytime you export a book out of calibre the metadata gets updated.
To supplement DoctorOhh's response and perhaps clarify which formats get operated on by what:

AFAIK, with the exception of Modify ePub, all of those operations update the metadata in the generated format, but not in the original format the conversion or copy was generated from. Modify ePub updates the original ePub format in the library when the option Update Metadata is applied to a selected book (in the library) that has an ePub format. And Modify ePub does not [edit]touch update metadata in[/edit] any other formats.

Last edited by unboggling; 09-18-2012 at 08:43 AM.
unboggling is offline   Reply With Quote
Old 09-18-2012, 03:52 PM   #5
rrvult
Junior Member
rrvult began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Sep 2012
Device: Kindle Touch
Looks like I was being a total noob trying to change the titles individually! Thanks for the information about the metadata plugboard, it is now doing exactly what I wanted.

Last edited by rrvult; 09-18-2012 at 04:33 PM.
rrvult is offline   Reply With Quote
Old 09-18-2012, 05:03 PM   #6
unboggling
Wizard
unboggling ought to be getting tired of karma fortunes by now.unboggling ought to be getting tired of karma fortunes by now.unboggling ought to be getting tired of karma fortunes by now.unboggling ought to be getting tired of karma fortunes by now.unboggling ought to be getting tired of karma fortunes by now.unboggling ought to be getting tired of karma fortunes by now.unboggling ought to be getting tired of karma fortunes by now.unboggling ought to be getting tired of karma fortunes by now.unboggling ought to be getting tired of karma fortunes by now.unboggling ought to be getting tired of karma fortunes by now.unboggling ought to be getting tired of karma fortunes by now.
 
Posts: 1,065
Karma: 858115
Join Date: Jan 2011
Device: Kobo Clara, Kindle Paperwhite 10
Quote:
Originally Posted by rrvult View Post
Looks like I was being a total noob trying to change the titles individually! Thanks for the information about the metadata plugboard, it is now doing exactly what I wanted.
We were all noobs once. I did the same thing when I started with calibre. Asking questions is good. I'm still a noob in lots of ways and still ask questions.
unboggling is offline   Reply With Quote
Old 11-06-2012, 03:28 AM   #7
jenrar
Connoisseur
jenrar began at the beginning.
 
Posts: 61
Karma: 10
Join Date: Nov 2011
Device: none
I think this thread is going along with my question, so instead of posting a new thread, I figured I'd post here. I like to have my books sort title-wise differently than the generic sort. For books like: The Surprise Birthday Party, instead of it sorting like: Surprise Birthday Party, The (where it shows in the list using Surprise as the first word), I have the first word as The. (Same goes for A Surprise Birthday Party, for example.) I've changed the metadata on all my books in calibre, but after I sent them to my Kindle, it's still sorting them like Surprise Birthday Party, The.

Help please?
jenrar is offline   Reply With Quote
Old 11-06-2012, 04:20 AM   #8
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: 20,534
Karma: 26944418
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Quote:
Originally Posted by DoctorOhh View Post
It all "took" you are just a little confused about what you were changing. You were changing the metadata in calibre not the book. The metadata gets updated in the book a few different ways. If you do any of the following:

Save to disk
Send to device
Download (epub or mobi) from Content server.
Email (epub or mobi) via calibre's email feature.
Convert a file, as you found out epub to epub conversion works fine.
Use the Modify ePub plugin to update your books metadata.

Essentially anytime you export a book out of calibre the metadata gets updated.

I agree with unboggling leave your Titles as titles in calibre and use the metadata plugboard to insert series info in front of the title when you send it to your device.
What is the recommended process to "inject' the metadata into PDF and RTF formats ?

RTF->RTF conversion, PDF->PDF conversion and write to disk do not update author if it's not empty, and the PDF->PDF conversion will more often than not produce output that's not fit for purpose.

BR
BetterRed is online now   Reply With Quote
Old 11-06-2012, 04:38 AM   #9
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 BetterRed View Post
What is the recommended process to "inject' the metadata into PDF and RTF formats ?
For the PDF files simply Saving to disk or Sending to device will embed the title and author in the title and author metadata fields of the PDF and it will place the tags in the keywords metadata field.

I have no idea if the RTF format has any standard for metadata.
DoctorOhh is offline   Reply With Quote
Old 11-06-2012, 08:16 PM   #10
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: 20,534
Karma: 26944418
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Quote:
Originally Posted by DoctorOhh View Post
For the PDF files simply Saving to disk or Sending to device will embed the title and author in the title and author metadata fields of the PDF and it will place the tags in the keywords metadata field.
DrOhh. I was hoping you'd have a magic cure... as I've already said elsewhere, twice I think

Not if the existing PDF file Author already contains text. If it is not empty then the existing value is not overwritten, it retains the old value. The Title is always overwritten, as one would expect.

Quote:
Originally Posted by DoctorOhh View Post
I have no idea if the RTF format has any standard for metadata.
Maybe there are no de-jure standards, but there are some well known & understood 'conventions'. AFAIK they are as per the attached screen shot - I can edit them in MS Word and Open Office Writer - or at least I can with the versions I use. As for the data, what form it takes, and where it is - I think its XML packed into a zip somewhere near the top of the file - how original.

Whats more these conventions are known to and used by Calibre - in respect of Author and Title.

When I add an RTF (or a PDF) to Calibre it will extract the Title and Author from the metadata. Note : I have Read metadata from file contents rather than file name checked, I prefer to retain the original source file names.

When I save an RTF to disk or do an RTF->RTF conversion the Author will only be updated if the Author field in the current file is empty - which is exactly the same as PDF's.

I get around the problem by clearing Author field in the RTF and PDF files before adding it to Calibre - but I often forget. I also make errors entering Author names, which are often foreign names, from languages that use non Latin scripts - so error detection is often slow - i.e. months later.

I've reported the problem @ launchpad

The 'it doesn't matter because its in the Calibre database' argument doesn't wash, I want the metadata to be available to the content indexing IFilters.

BR
Attached Thumbnails
Click image for larger version

Name:	Capture.JPG
Views:	275
Size:	41.6 KB
ID:	95616  

Last edited by BetterRed; 11-06-2012 at 08:21 PM.
BetterRed is online now   Reply With Quote
Old 11-06-2012, 08:34 PM   #11
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 BetterRed View Post
Not if the existing PDF file Author already contains text. If it is not empty then the existing value is not overwritten, it retains the old value. The Title is always overwritten, as one would expect.
...
I've reported the problem @ launchpad
Good info, I rarely use PDF (1 in 9000) but many moons ago it worked. Smart move submitting a problem report.

Quote:
Originally Posted by BetterRed View Post
The 'it doesn't matter because its in the Calibre database' argument doesn't wash
An odd statement to conclude with. You are obviously correct, but I don't see anyone arguing otherwise.
DoctorOhh is offline   Reply With Quote
Old 11-06-2012, 09:14 PM   #12
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: 20,534
Karma: 26944418
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Quote:
Originally Posted by DoctorOhh View Post
An odd statement to conclude with. You are obviously correct, but I don't see anyone arguing otherwise.
A statement designed to stop anyone putting that argument, as has been put on this and similar issues I've raised in other threats - not by the good DrOhh I hasten to add.

For me Calibre is just a convenience tool - its a bit like my electric screwdriver, which is also handy for drilling small holes in awkward locations, but useless for banging in a 20cm 7mm nail into an iron wood gate post

BR
BetterRed is online now   Reply With Quote
Old 11-06-2012, 10:06 PM   #13
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 BetterRed View Post
A statement designed to stop anyone putting that argument, as has been put on this and similar issues I've raised in other threats - not by the good DrOhh I hasten to add.
I see, a preemptive strike.
DoctorOhh is offline   Reply With Quote
Old 11-07-2012, 12:51 AM   #14
jenrar
Connoisseur
jenrar began at the beginning.
 
Posts: 61
Karma: 10
Join Date: Nov 2011
Device: none
No one has any thought on my post?
jenrar is offline   Reply With Quote
Old 11-07-2012, 03:40 AM   #15
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: 20,534
Karma: 26944418
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Quote:
Originally Posted by jenrar View Post
No one has any thought on my post?
Sadly I cant help you jenrar, other than to say I suspect what you want to do can be achieved via templates and/or plugboards - but I could also be totally wrong.

If you don't an answer soon, I suggest you start a new thread

Quote:
Originally Posted by DoctorOhh View Post
I see, a preemptive strike.
I would have said a shot across the bows' with a crossbow, whilst a predator waits over the horizon

Can you help jenrar

BR
BetterRed is online now   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
Using Calibre 8.38 - Problem after editing metadata mitch13 Library Management 2 03-01-2012 10:57 PM
Editing Metadata? steve_bham Library Management 7 05-07-2011 10:59 AM
Problem editing metadata of books from Mobile Read Alison C Calibre 14 01-13-2011 03:42 AM
Metadata editing Problem with PRC barry Calibre 4 12-01-2009 08:21 PM
Editing metadata dande Calibre 2 07-02-2009 08:17 AM


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


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