View Single Post
Old 06-17-2022, 02:20 AM   #1651
dragoworld235
Enthusiast
dragoworld235 began at the beginning.
 
Posts: 30
Karma: 10
Join Date: Oct 2012
Device: kobo libra 2
Quote:
Originally Posted by BetterRed View Post
You don't need to use the book editor's S&R feature to remove a metadata element from an EPUB. Open the EPUB's OPF file (in the book editor), delete the entire element (in this case dc:description) in the code window, and save the EPUB.

If you don't want to 'mess' with editing the OPF code, you can use Sigil's Metadata Editor tool to remove individual metadata elements with the click of a button?

FWIW: I move the text from the Comments column to a Blurb custom column using calibre's Metadata Editor (in bulk via its S&R tool, or cut and paste for an individual book). This allows me to edit Blurb from the book list, and remove it from the EPUB with this plugin.

BR
I use the editor to "clean" epub: updating it to epub3 if needed, optimizing images, removing unneeded css, beautifying the html…
My editor was set to update the metadata from calibre to the epub when saving the modifications, thus saving to the epub things like custom columns.
This is now fixed.

The comment I'm talking about are not in the opf but directly in the html files for each pages. I try to buy books without drm when I can (or else kobo store + obok dedrm) but I clean the watermarks that my book shop set as html comments containing identifying data (e-mail, customer id, transaction timestamp, etc.). I'm using the editor search and replace feature to remove them ATM. But as I also have to check the opf for identifying metadata and sometimes xml comments in it or the toc, I will keep doing it with the editor.
dragoworld235 is offline   Reply With Quote