Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 07-12-2014, 01:02 PM   #1
webipsum
Member
webipsum began at the beginning.
 
Posts: 10
Karma: 10
Join Date: Jul 2014
Device: Kindle PaperWhite WiFi
How do I save changes made in the metadata of epub?

Doubt Calibre:
How do I save changes made in the metadata of epub?
Because: I change the metadata in "Edit metadata", but does not change the epub file.
Grateful.
webipsum is offline   Reply With Quote
Old 07-12-2014, 01:12 PM   #2
Adoby
Handy Elephant
Adoby ought to be getting tired of karma fortunes by now.Adoby ought to be getting tired of karma fortunes by now.Adoby ought to be getting tired of karma fortunes by now.Adoby ought to be getting tired of karma fortunes by now.Adoby ought to be getting tired of karma fortunes by now.Adoby ought to be getting tired of karma fortunes by now.Adoby ought to be getting tired of karma fortunes by now.Adoby ought to be getting tired of karma fortunes by now.Adoby ought to be getting tired of karma fortunes by now.Adoby ought to be getting tired of karma fortunes by now.Adoby ought to be getting tired of karma fortunes by now.
 
Adoby's Avatar
 
Posts: 1,737
Karma: 26785684
Join Date: Dec 2009
Location: Southern Sweden, far out in the quiet woods
Device: Samsung Galaxy Tab S8 Ultra
If you change metadata in the GUI it is not written to the epub file, but only stored in the database.

If you use any of the functions to send or save the epub outside the calibre library, then the metadata is written to the epub file. The same if you do any conversion or polish on the epub.

This behavior is intentional. It means that calibre can be used to store the original epub without ever modifying it. But when you send the epub to device, save it to disk or convert to other formats, then the copy is updated. Also it makes it faster to update metadata.
Adoby is offline   Reply With Quote
Advert
Old 07-12-2014, 06:15 PM   #3
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,660
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
@webipsum - Polish does EPUB and AZW3, the optional Modify plugin can also do it for EPUB's only.

There's a new feature 'Embed Metadata' - it will embed metadata into formats EPUB, AZW3, and other formats eg PDF, RTF etc. Its 'simpler' to use than Polish or Modify because its single purpose, and its a bit faster. You may have to add it to your tool/menu bars. It doesn't have a keyboard shortcut, I gave it Ctrl/E.

BR
BetterRed is offline   Reply With Quote
Old 07-12-2014, 07:27 PM   #4
webipsum
Member
webipsum began at the beginning.
 
Posts: 10
Karma: 10
Join Date: Jul 2014
Device: Kindle PaperWhite WiFi
Solved! 'Embed Metadata'.
Thank you BetterRed.

Please.
Still about metadata:
When I add a book in Calibre that has accents in the title, eg: "Associação". Calibre changes the filename to "Associacao".
How to configure Calibre to put in the file name, the same the contents of the Title - Author?
Tks.

Last edited by webipsum; 07-12-2014 at 07:43 PM.
webipsum is offline   Reply With Quote
Old 07-12-2014, 08:19 PM   #5
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: 79,408
Karma: 145491800
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 Adoby View Post
If you change metadata in the GUI it is not written to the epub file, but only stored in the database.

If you use any of the functions to send or save the epub outside the calibre library, then the metadata is written to the epub file. The same if you do any conversion or polish on the epub.

This behavior is intentional. It means that calibre can be used to store the original epub without ever modifying it. But when you send the epub to device, save it to disk or convert to other formats, then the copy is updated. Also it makes it faster to update metadata.

But you do not want to have Calibre always updating the metadata when you send or save the eBook because it does a conversion and does mess with some of your code and that means when there is no metadata update, you still get the conversion. Check in the options to turn off this metadata update on a save or send so this won't happen. Use polish as then you can update only the eBooks you want updated and not all of them.
JSWolf is offline   Reply With Quote
Advert
Old 07-12-2014, 08:23 PM   #6
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: 30,939
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Quote:
Originally Posted by webipsum View Post
Solved! 'Embed Metadata'.
Thank you BetterRed.

Please.
Still about metadata:
When I add a book in Calibre that has accents in the title, eg: "Associação". Calibre changes the filename to "Associacao".
How to configure Calibre to put in the file name, the same the contents of the Title - Author?
Tks.
Pure ASCII file names are OS safe
but when Save To Disk, there is a preference (is default) to convert non-english characters to English
theducks is offline   Reply With Quote
Old 07-12-2014, 09:26 PM   #7
webipsum
Member
webipsum began at the beginning.
 
Posts: 10
Karma: 10
Join Date: Jul 2014
Device: Kindle PaperWhite WiFi
theducks.
It worked, but Calibre puts the title sort field rather than the title field, so the file name: "Um Navio - Author," appears as "Navio, Um - Author".
Tips?
Tks.
webipsum is offline   Reply With Quote
Old 07-12-2014, 10:13 PM   #8
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: 30,939
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Quote:
Originally Posted by webipsum View Post
theducks.
It worked, but Calibre puts the title sort field rather than the title field, so the file name: "Um Navio - Author," appears as "Navio, Um - Author".
Tips?
Tks.
There is a Tweak that may help
Save_Template_title_series_sorting

If you us 'library_order', you get the {title_sort} as you have seen
theducks is offline   Reply With Quote
Old 07-12-2014, 10:13 PM   #9
davidfor
Grand Sorcerer
davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.
 
Posts: 24,905
Karma: 47303824
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
Quote:
Originally Posted by JSWolf View Post
But you do not want to have Calibre always updating the metadata when you send or save the eBook because it does a conversion and does mess with some of your code and that means when there is no metadata update, you still get the conversion. Check in the options to turn off this metadata update on a save or send so this won't happen. Use polish as then you can update only the eBooks you want updated and not all of them.
No it doesn't. During a Save to disk or send to device, calibre does NOT do a conversion. Calibre only updates the metadata and replaces the cover image if it can find it. It doesn't make any other changes to the book. The update that calibre does during the send/save is less intrusive than Polish books.
davidfor is offline   Reply With Quote
Old 07-12-2014, 10:21 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: 21,660
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
redundant

BR
BetterRed is offline   Reply With Quote
Old 07-12-2014, 11:01 PM   #11
webipsum
Member
webipsum began at the beginning.
 
Posts: 10
Karma: 10
Join Date: Jul 2014
Device: Kindle PaperWhite WiFi
Quote:
Originally Posted by theducks View Post
There is a Tweak that may help
Save_Template_title_series_sorting
If you us 'library_order', you get the {title_sort} as you have seen
Default: {author_sort}/{title}/{title} - {authors} don't work.
Example: "The Good" save "Good, The".

Last edited by webipsum; 07-12-2014 at 11:51 PM.
webipsum is offline   Reply With Quote
Old 07-13-2014, 01:37 AM   #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: 21,660
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
@webisum Check Preferences->Tweaks->Save_Template_title_series_sorting

Quote:
Control how title and series names are formatted when saving to disk/sending to device.

The behaviour depends on the field being processed. If processing title, then if this tweak is set to 'library_order', the title will be replaced with title_sort. If it is set to 'strictly_alphabetic', then the title will not be changed.

If processing series, then if set to 'library_order', articles such as 'The' and 'An' will be moved to the end. If set to 'strictly_alphabetic', the series will be sent without change.

For example, if the tweak is set to library_order, "The Lord of the Rings" will become "Lord of the Rings, The". If the tweak is set to strictly_alphabetic, it would remain "The Lord of the Rings".

Note that the formatter function raw_field will return the base value for title and series regardless of the setting of this tweak.
The default value is 'library_order', try changing it 'strictly_alphabetic' - see screen shot

BR

BTW if you're Brazilian - commiserations
Attached Thumbnails
Click image for larger version

Name:	Capture.JPG
Views:	436
Size:	170.1 KB
ID:	125303  

Last edited by BetterRed; 07-13-2014 at 01:38 AM. Reason: attachment
BetterRed is offline   Reply With Quote
Old 07-13-2014, 08:25 PM   #13
webipsum
Member
webipsum began at the beginning.
 
Posts: 10
Karma: 10
Join Date: Jul 2014
Device: Kindle PaperWhite WiFi
Quote:
Originally Posted by BetterRed View Post
@webisum Check Preferences->Tweaks->Save_Template_title_series_sorting
The default value is 'library_order', try changing it 'strictly_alphabetic' - see screen shot.
>>>> Thank you. Perfect. Screen Portuguese. You are special and generous!
BR
BTW if you're Brazilian - commiserations
>>> Thank you, BetterRed. :-)
Solved. Wonderful!
webipsum is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Save the Metadata to the Libary files/change filename to the Metadata RyuujiTakasu Calibre 10 03-19-2014 02:01 PM
In Calibre scan one save ebooks with notes made - as a backup? hermes Devices 4 10-25-2013 05:46 PM
Save to disk, metadata and covers Pepin33 Library Management 6 09-19-2012 11:57 PM
Save cover in metadata? cliver Library Management 25 03-05-2012 05:58 PM
Save metadata in eBook tinonino Calibre 5 08-15-2010 02:42 PM


All times are GMT -4. The time now is 06:17 AM.


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