View Single Post
Old 10-08-2011, 06:21 PM   #57
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,897
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Kindle PaperWhite SE 11th Gen
I see your problem and I should have paid closer attention to your images in sequence previously. You are doing a search and replace to update the author name in the header, then you open the epub and look at the header to prove it is there. The problem is what you show in the ePub has nothing to do with metadata in a ePub. Metadata in a ePub is contained in the content.opf file.

The whole search and replace step your doing is a waste of time. You need to update the author's name in the library view. This field is used when creating the metadata and your cover in your ePub.

Quote:
Originally Posted by citac View Post
I just sent that one particular book to disk, and when I open the epub in the internal vievwer, it still showed me the same cover.
This cover is only generated during a conversion, see epub output during conversion. Save to disk etc... will update the metadata and only update the cover (IE. replace a cover in the book with a new one you add/show to calibre's library view) when a properly set cover already exists in the epub.

It has literally been years since I had calibre generate a cover during conversion to epub so I forgot about this feature.

Quote:
Originally Posted by citac View Post
A question: if I chose Send only EPUB to disk, why is there an opf file with it? What is its purpose? Can I delete it if I don't want it on my reader?
You can delete that file and avoid sending it by deselecting the option to Save metadata in opf file under Preferences - Saving books to disk. While in the area uncheck save cover separately.

Is there a reason you didn't use Send to device or Connect to folder to send books to your reader?

Quote:
Originally Posted by citac View Post
Another question: should I just forget about having calibre read metadata from file and keep it reading it from the title? Because if I'm having these problems now, what's gonna happen when I start importing my old txt files from 2004? They have no metadata inside the file, no html tags for calibre to use.
If you are adding text then you should not read metadata from file on adding books read from filename instead.

Quote:
Originally Posted by citac View Post
This is really annoying. I don't understand why it won't correct the author. I just went and extracted the contents of the epub, and looked inside the html files where the meta information in the head tag is corrected. Yet even though that's true, calibre still creates a cover containing wrong data. I don't understand what I need to do to make it stop.
Again I apologize for not catching this sooner but you are jumping through hoops that aren't accomplishing anything. The metadata is created in the epub via the fields in the calibre library and are stored in the content.opf file in the epub. In Sigil use F8 to open the metadata editor to view the metadata in the epub.

Last edited by DoctorOhh; 10-08-2011 at 06:29 PM.
DoctorOhh is offline   Reply With Quote