03-10-2023, 02:17 PM | #1726 |
Resident Curmudgeon
Posts: 74,491
Karma: 129668758
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
|
03-10-2023, 03:54 PM | #1727 | ||
Guru
Posts: 734
Karma: 1077122
Join Date: Sep 2013
Device: Kobo Forma
|
I'm moving this from that discussion in the Editor forum since this is the better location for it:
Quote:
Code:
<a id="GBS.0007.01"/> I've also tried it after Beautifying the file (so the codes aren't self-closing): Code:
<a id="GBS.0007.01"></a> Modify Epub's log always says just: Quote:
|
||
Advert | |
|
03-10-2023, 05:24 PM | #1728 | |
Wizard
Posts: 2,087
Karma: 8796704
Join Date: Jun 2010
Device: Kobo Clara HD,Hisence Sero 7 Pro RIP, Nook STR, jetbook lite
|
Here is what I have found works after doing Beautify All Files in the editor:
For my first run of Modify epub I use these setting: This is the log file Code:
Modify ePubs version (1, 8, 1) Logfile for book ID 2810 (Furies of Calderon / Jim Butcher) Job details 2810 Modifying: /tmp/calibre_6.14.0_tmp_0jptokt3/s694gst1_modify_epub/2810.epub Parsing xml file: OEBPS/volume.opf Parsing xml file: OEBPS/toc.ncx Looking for redundant entries in manifest Looking for Adobe xpgt files and links to remove Looking for Adobe DRM meta tags to remove Looking for html files to remove charset meta tags/encode to utf-8 Switched to UTF-8 encoding for: OEBPS/navDoc.xhtml Switched to UTF-8 encoding for: OEBPS/xhtml/13_butc_9780441012688_oe.xhtml Switched to UTF-8 encoding for: OEBPS/xhtml/56_butc_9780441012688_oe.xhtml Switched to UTF-8 encoding for: OEBPS/xhtml/19_butc_9780441012688_oe.xhtml Switched to UTF-8 encoding for: OEBPS/xhtml/55_butc_9780441012688_oe.xhtml Switched to UTF-8 encoding for: OEBPS/xhtml/10_butc_9780441012688_oe.xhtml Switched to UTF-8 encoding for: OEBPS/xhtml/37_butc_9780441012688_oe.xhtml Switched to UTF-8 encoding for: OEBPS/xhtml/28_butc_9780441012688_oe.xhtml Switched to UTF-8 encoding for: OEBPS/xhtml/06_butc_9780441012688_oe.xhtml Switched to UTF-8 encoding for: OEBPS/xhtml/next-reads.xhtml Switched to UTF-8 encoding for: OEBPS/xhtml/30_butc_9780441012688_oe.xhtml Switched to UTF-8 encoding for: OEBPS/xhtml/32_butc_9780441012688_oe.xhtml Switched to UTF-8 encoding for: OEBPS/xhtml/38_butc_9780441012688_oe.xhtml Switched to UTF-8 encoding for: OEBPS/xhtml/51_butc_9780441012688_oe.xhtml Switched to UTF-8 encoding for: OEBPS/xhtml/01_butc_9780441012688_oe.xhtml Switched to UTF-8 encoding for: OEBPS/xhtml/29_butc_9780441012688_oe.xhtml Switched to UTF-8 encoding for: OEBPS/xhtml/17_butc_9780441012688_oe.xhtml Switched to UTF-8 encoding for: OEBPS/xhtml/41_butc_9780441012688_oe.xhtml Switched to UTF-8 encoding for: OEBPS/xhtml/27_butc_9780441012688_oe.xhtml Switched to UTF-8 encoding for: OEBPS/xhtml/04_butc_9780441012688_oe.xhtml Switched to UTF-8 encoding for: OEBPS/xhtml/39_butc_9780441012688_oe.xhtml Switched to UTF-8 encoding for: OEBPS/xhtml/23_butc_9780441012688_oe.xhtml Switched to UTF-8 encoding for: OEBPS/xhtml/22_butc_9780441012688_oe.xhtml Switched to UTF-8 encoding for: OEBPS/xhtml/52_butc_9780441012688_oe.xhtml Switched to UTF-8 encoding for: OEBPS/xhtml/26_butc_9780441012688_oe.xhtml Switched to UTF-8 encoding for: OEBPS/xhtml/03_butc_9780441012688_oe.xhtml Switched to UTF-8 encoding for: OEBPS/xhtml/35_butc_9780441012688_oe.xhtml Switched to UTF-8 encoding for: OEBPS/xhtml/15_butc_9780441012688_oe.xhtml Switched to UTF-8 encoding for: OEBPS/xhtml/12_butc_9780441012688_oe.xhtml Switched to UTF-8 encoding for: OEBPS/xhtml/48_butc_9780441012688_oe.xhtml Switched to UTF-8 encoding for: OEBPS/xhtml/24_butc_9780441012688_oe.xhtml Switched to UTF-8 encoding for: OEBPS/xhtml/44_butc_9780441012688_oe.xhtml Switched to UTF-8 encoding for: OEBPS/xhtml/34_butc_9780441012688_oe.xhtml Switched to UTF-8 encoding for: OEBPS/xhtml/33_butc_9780441012688_oe.xhtml Switched to UTF-8 encoding for: OEBPS/xhtml/50_butc_9780441012688_oe.xhtml Switched to UTF-8 encoding for: OEBPS/xhtml/53_butc_9780441012688_oe.xhtml Switched to UTF-8 encoding for: OEBPS/xhtml/25_butc_9780441012688_oe.xhtml Switched to UTF-8 encoding for: OEBPS/xhtml/31_butc_9780441012688_oe.xhtml Switched to UTF-8 encoding for: OEBPS/xhtml/47_butc_9780441012688_oe.xhtml Switched to UTF-8 encoding for: OEBPS/xhtml/46_butc_9780441012688_oe.xhtml Switched to UTF-8 encoding for: OEBPS/xhtml/14_butc_9780441012688_oe.xhtml Switched to UTF-8 encoding for: OEBPS/xhtml/20_butc_9780441012688_oe.xhtml Switched to UTF-8 encoding for: OEBPS/xhtml/05_butc_9780441012688_oe.xhtml Switched to UTF-8 encoding for: OEBPS/xhtml/36_butc_9780441012688_oe.xhtml Switched to UTF-8 encoding for: OEBPS/xhtml/40_butc_9780441012688_oe.xhtml Switched to UTF-8 encoding for: OEBPS/xhtml/21_butc_9780441012688_oe.xhtml Switched to UTF-8 encoding for: OEBPS/xhtml/02_butc_9780441012688_oe.xhtml Switched to UTF-8 encoding for: OEBPS/xhtml/07_butc_9780441012688_oe.xhtml Switched to UTF-8 encoding for: OEBPS/xhtml/09_butc_9780441012688_oe.xhtml Switched to UTF-8 encoding for: OEBPS/xhtml/45_butc_9780441012688_oe.xhtml Switched to UTF-8 encoding for: OEBPS/xhtml/54_butc_9780441012688_oe.xhtml Switched to UTF-8 encoding for: OEBPS/xhtml/43_butc_9780441012688_oe.xhtml Switched to UTF-8 encoding for: OEBPS/xhtml/11_butc_9780441012688_oe.xhtml Switched to UTF-8 encoding for: OEBPS/xhtml/42_butc_9780441012688_oe.xhtml Switched to UTF-8 encoding for: OEBPS/xhtml/49_butc_9780441012688_oe.xhtml Switched to UTF-8 encoding for: OEBPS/xhtml/16_butc_9780441012688_oe.xhtml Switched to UTF-8 encoding for: OEBPS/xhtml/08_butc_9780441012688_oe.xhtml Switched to UTF-8 encoding for: OEBPS/xhtml/18_butc_9780441012688_oe.xhtml Looking for inline javascript blocks to remove Looking for .js files to remove Stripping Kobo remnants Stripped Kobo spans in: OEBPS/xhtml/13_butc_9780441012688_oe.xhtml Stripped Kobo spans in: OEBPS/xhtml/56_butc_9780441012688_oe.xhtml Stripped Kobo spans in: OEBPS/xhtml/19_butc_9780441012688_oe.xhtml Stripped Kobo spans in: OEBPS/xhtml/55_butc_9780441012688_oe.xhtml Stripped Kobo spans in: OEBPS/xhtml/10_butc_9780441012688_oe.xhtml Stripped Kobo spans in: OEBPS/xhtml/37_butc_9780441012688_oe.xhtml Stripped Kobo spans in: OEBPS/xhtml/28_butc_9780441012688_oe.xhtml Stripped Kobo spans in: OEBPS/xhtml/06_butc_9780441012688_oe.xhtml Stripped Kobo spans in: OEBPS/xhtml/next-reads.xhtml Stripped Kobo spans in: OEBPS/xhtml/30_butc_9780441012688_oe.xhtml Stripped Kobo spans in: OEBPS/xhtml/32_butc_9780441012688_oe.xhtml Stripped Kobo spans in: OEBPS/xhtml/38_butc_9780441012688_oe.xhtml Stripped Kobo spans in: OEBPS/xhtml/51_butc_9780441012688_oe.xhtml Stripped Kobo spans in: OEBPS/xhtml/01_butc_9780441012688_oe.xhtml Stripped Kobo spans in: OEBPS/xhtml/29_butc_9780441012688_oe.xhtml Stripped Kobo spans in: OEBPS/xhtml/17_butc_9780441012688_oe.xhtml Stripped Kobo spans in: OEBPS/xhtml/41_butc_9780441012688_oe.xhtml Stripped Kobo spans in: OEBPS/xhtml/27_butc_9780441012688_oe.xhtml Stripped Kobo spans in: OEBPS/xhtml/04_butc_9780441012688_oe.xhtml Stripped Kobo spans in: OEBPS/xhtml/39_butc_9780441012688_oe.xhtml Stripped Kobo spans in: OEBPS/xhtml/23_butc_9780441012688_oe.xhtml Stripped Kobo spans in: OEBPS/xhtml/22_butc_9780441012688_oe.xhtml Stripped Kobo spans in: OEBPS/xhtml/52_butc_9780441012688_oe.xhtml Stripped Kobo spans in: OEBPS/xhtml/26_butc_9780441012688_oe.xhtml Stripped Kobo spans in: OEBPS/xhtml/03_butc_9780441012688_oe.xhtml Stripped Kobo spans in: OEBPS/xhtml/35_butc_9780441012688_oe.xhtml Stripped Kobo spans in: OEBPS/xhtml/15_butc_9780441012688_oe.xhtml Stripped Kobo spans in: OEBPS/xhtml/12_butc_9780441012688_oe.xhtml Stripped Kobo spans in: OEBPS/xhtml/48_butc_9780441012688_oe.xhtml Stripped Kobo spans in: OEBPS/xhtml/24_butc_9780441012688_oe.xhtml Stripped Kobo spans in: OEBPS/xhtml/44_butc_9780441012688_oe.xhtml Stripped Kobo spans in: OEBPS/xhtml/34_butc_9780441012688_oe.xhtml Stripped Kobo spans in: OEBPS/xhtml/33_butc_9780441012688_oe.xhtml Stripped Kobo spans in: OEBPS/xhtml/50_butc_9780441012688_oe.xhtml Stripped Kobo spans in: OEBPS/xhtml/53_butc_9780441012688_oe.xhtml Stripped Kobo spans in: OEBPS/xhtml/25_butc_9780441012688_oe.xhtml Stripped Kobo spans in: OEBPS/xhtml/31_butc_9780441012688_oe.xhtml Stripped Kobo spans in: OEBPS/xhtml/47_butc_9780441012688_oe.xhtml Stripped Kobo spans in: OEBPS/xhtml/46_butc_9780441012688_oe.xhtml Stripped Kobo spans in: OEBPS/xhtml/14_butc_9780441012688_oe.xhtml Stripped Kobo spans in: OEBPS/xhtml/20_butc_9780441012688_oe.xhtml Stripped Kobo spans in: OEBPS/xhtml/05_butc_9780441012688_oe.xhtml Stripped Kobo spans in: OEBPS/xhtml/36_butc_9780441012688_oe.xhtml Stripped Kobo spans in: OEBPS/xhtml/40_butc_9780441012688_oe.xhtml Stripped Kobo spans in: OEBPS/xhtml/21_butc_9780441012688_oe.xhtml Stripped Kobo spans in: OEBPS/xhtml/02_butc_9780441012688_oe.xhtml Stripped Kobo spans in: OEBPS/xhtml/07_butc_9780441012688_oe.xhtml Stripped Kobo spans in: OEBPS/xhtml/09_butc_9780441012688_oe.xhtml Stripped Kobo spans in: OEBPS/xhtml/45_butc_9780441012688_oe.xhtml Stripped Kobo spans in: OEBPS/xhtml/54_butc_9780441012688_oe.xhtml Stripped Kobo spans in: OEBPS/xhtml/43_butc_9780441012688_oe.xhtml Stripped Kobo spans in: OEBPS/xhtml/11_butc_9780441012688_oe.xhtml Stripped Kobo spans in: OEBPS/xhtml/42_butc_9780441012688_oe.xhtml Stripped Kobo spans in: OEBPS/xhtml/49_butc_9780441012688_oe.xhtml Stripped Kobo spans in: OEBPS/xhtml/16_butc_9780441012688_oe.xhtml Stripped Kobo spans in: OEBPS/xhtml/08_butc_9780441012688_oe.xhtml Stripped Kobo spans in: OEBPS/xhtml/18_butc_9780441012688_oe.xhtml Looking for files to remove: ['iTunesMetadata.plist', 'iTunesArtwork'] Looking for files to remove: ['META-INF/calibre_bookmarks.txt'] Looking for files to remove: ['.DS_Store', 'thumbs.db'] Looking for unused images Stripping spans ePub updated in 0.94 seconds this is the log file. Code:
Modify ePubs version (1, 8, 1) Logfile for book ID 2810 (Furies of Calderon / Jim Butcher) Job details 2810 Modifying: /tmp/calibre_6.14.0_tmp_0jptokt3/3ey61pz7_modify_epub/2810.epub Parsing xml file: OEBPS/volume.opf Parsing xml file: OEBPS/toc.ncx Looking for redundant entries in manifest Looking for Adobe xpgt files and links to remove Looking for pagemaps Looking for Google Play pagemaps Removed Google Play anchors from: OEBPS/xhtml/13_butc_9780441012688_oe.xhtml Removed Google Play anchors from: OEBPS/xhtml/56_butc_9780441012688_oe.xhtml Removed Google Play anchors from: OEBPS/xhtml/19_butc_9780441012688_oe.xhtml Removed Google Play anchors from: OEBPS/xhtml/55_butc_9780441012688_oe.xhtml Removed Google Play anchors from: OEBPS/xhtml/10_butc_9780441012688_oe.xhtml Removed Google Play anchors from: OEBPS/xhtml/37_butc_9780441012688_oe.xhtml Removed Google Play anchors from: OEBPS/xhtml/28_butc_9780441012688_oe.xhtml Removed Google Play anchors from: OEBPS/xhtml/06_butc_9780441012688_oe.xhtml Removed Google Play anchors from: OEBPS/xhtml/next-reads.xhtml Removed Google Play anchors from: OEBPS/xhtml/30_butc_9780441012688_oe.xhtml Removed Google Play anchors from: OEBPS/xhtml/32_butc_9780441012688_oe.xhtml Removed Google Play anchors from: OEBPS/xhtml/38_butc_9780441012688_oe.xhtml Removed Google Play anchors from: OEBPS/xhtml/51_butc_9780441012688_oe.xhtml Removed Google Play anchors from: OEBPS/xhtml/01_butc_9780441012688_oe.xhtml Removed Google Play anchors from: OEBPS/xhtml/29_butc_9780441012688_oe.xhtml Removed Google Play anchors from: OEBPS/xhtml/17_butc_9780441012688_oe.xhtml Removed Google Play anchors from: OEBPS/xhtml/41_butc_9780441012688_oe.xhtml Removed Google Play anchors from: OEBPS/xhtml/27_butc_9780441012688_oe.xhtml Removed Google Play anchors from: OEBPS/xhtml/04_butc_9780441012688_oe.xhtml Removed Google Play anchors from: OEBPS/xhtml/39_butc_9780441012688_oe.xhtml Removed Google Play anchors from: OEBPS/xhtml/23_butc_9780441012688_oe.xhtml Removed Google Play anchors from: OEBPS/xhtml/22_butc_9780441012688_oe.xhtml Removed Google Play anchors from: OEBPS/xhtml/52_butc_9780441012688_oe.xhtml Removed Google Play anchors from: OEBPS/xhtml/26_butc_9780441012688_oe.xhtml Removed Google Play anchors from: OEBPS/xhtml/03_butc_9780441012688_oe.xhtml Removed Google Play anchors from: OEBPS/xhtml/35_butc_9780441012688_oe.xhtml Removed Google Play anchors from: OEBPS/xhtml/15_butc_9780441012688_oe.xhtml Removed Google Play anchors from: OEBPS/xhtml/12_butc_9780441012688_oe.xhtml Removed Google Play anchors from: OEBPS/xhtml/48_butc_9780441012688_oe.xhtml Removed Google Play anchors from: OEBPS/xhtml/24_butc_9780441012688_oe.xhtml Removed Google Play anchors from: OEBPS/xhtml/44_butc_9780441012688_oe.xhtml Removed Google Play anchors from: OEBPS/xhtml/34_butc_9780441012688_oe.xhtml Removed Google Play anchors from: OEBPS/xhtml/33_butc_9780441012688_oe.xhtml Removed Google Play anchors from: OEBPS/xhtml/50_butc_9780441012688_oe.xhtml Removed Google Play anchors from: OEBPS/xhtml/53_butc_9780441012688_oe.xhtml Removed Google Play anchors from: OEBPS/xhtml/25_butc_9780441012688_oe.xhtml Removed Google Play anchors from: OEBPS/xhtml/31_butc_9780441012688_oe.xhtml Removed Google Play anchors from: OEBPS/xhtml/47_butc_9780441012688_oe.xhtml Removed Google Play anchors from: OEBPS/xhtml/46_butc_9780441012688_oe.xhtml Removed Google Play anchors from: OEBPS/xhtml/14_butc_9780441012688_oe.xhtml Removed Google Play anchors from: OEBPS/xhtml/20_butc_9780441012688_oe.xhtml Removed Google Play anchors from: OEBPS/xhtml/05_butc_9780441012688_oe.xhtml Removed Google Play anchors from: OEBPS/xhtml/36_butc_9780441012688_oe.xhtml Removed Google Play anchors from: OEBPS/xhtml/40_butc_9780441012688_oe.xhtml Removed Google Play anchors from: OEBPS/xhtml/21_butc_9780441012688_oe.xhtml Removed Google Play anchors from: OEBPS/xhtml/02_butc_9780441012688_oe.xhtml Removed Google Play anchors from: OEBPS/xhtml/07_butc_9780441012688_oe.xhtml Removed Google Play anchors from: OEBPS/xhtml/09_butc_9780441012688_oe.xhtml Removed Google Play anchors from: OEBPS/xhtml/45_butc_9780441012688_oe.xhtml Removed Google Play anchors from: OEBPS/xhtml/54_butc_9780441012688_oe.xhtml Removed Google Play anchors from: OEBPS/xhtml/43_butc_9780441012688_oe.xhtml Removed Google Play anchors from: OEBPS/xhtml/11_butc_9780441012688_oe.xhtml Removed Google Play anchors from: OEBPS/xhtml/42_butc_9780441012688_oe.xhtml Removed Google Play anchors from: OEBPS/xhtml/49_butc_9780441012688_oe.xhtml Removed Google Play anchors from: OEBPS/xhtml/16_butc_9780441012688_oe.xhtml Removed Google Play anchors from: OEBPS/xhtml/08_butc_9780441012688_oe.xhtml Removed Google Play anchors from: OEBPS/xhtml/18_butc_9780441012688_oe.xhtml Removing Google Play pagemap file: OEBPS/_page_map_.xml Manifest item removed: _page_map_.xml (_page_map_) Looking for Adobe DRM meta tags to remove Looking for html files to remove charset meta tags/encode to utf-8 Looking for inline javascript blocks to remove Looking for .js files to remove Stripping Kobo remnants Looking for files to remove: ['iTunesMetadata.plist', 'iTunesArtwork'] Looking for files to remove: ['META-INF/calibre_bookmarks.txt'] Looking for files to remove: ['.DS_Store', 'thumbs.db'] Looking for unused images Stripping spans ePub updated in 0.82 seconds If the first thing I do to an epub from google is run Modtify epub uning the second set of setting then all page marks are removed. bernie Quote:
|
|
03-10-2023, 06:42 PM | #1729 |
Guru
Posts: 734
Karma: 1077122
Join Date: Sep 2013
Device: Kobo Forma
|
I've attached my Modify Epub settings. Yes, they're different from yours. But, I can't see anything that would stop it from removing those Google Play page maps (again, I've tried all combinations of those two checkboxes). I've also included the top of one of the pages with the play map on it and the Modify Epub log for the run.
EDIT 1: I was also wondering if it might be an epub3 thing. But, since your files are xhtml, I'm assuming that book that you used is also an epub3 (just like the one I'm using). EDIT 2: And, I've just made another two runs with your first and second set of settings. No difference. Code:
<?xml version="1.0" encoding="utf-8"?> <html xmlns="http://www.w3.org/1999/xhtml" xmlns:epub="http://www.idpf.org/2007/ops" lang="en-us" xml:lang="en-us"> <head> <title>Chapter 1</title> <link rel="stylesheet" type="text/css" href="css/style.css"/> </head> <body> <a id="GBS.0007.01"/> <section role="doc-chapter" epub:type="chapter"> <h3>Chapter One</h3> <div class="chapquote"> ... Code:
Modify ePubs version (1, 8, 1) Logfile for book ID 1969 (Fixer Redux / Gene Doucette) Job details 1969 Modifying: C:\Users\Dave\AppData\Local\Temp\calibre_46q9x9yr\yj1641ug_modify_epub\1969.epub Updating metadata and cover Parsing xml file: OEBPS/volume.opf Parsing xml file: toc.ncx Looking for redundant entries in manifest Looking for unmanifested files Looking for broken links in the NCX ncx name: toc.ncx Looping over ncx entries Looking for Adobe xpgt files and links to remove Looking for pagemaps Looking for Google Play pagemaps Looking for Adobe DRM meta tags to remove Looking for legacy jackets Adding or updating jacket Current jacket removed: OEBPS/jacket.xhtml Manifest item removed: jacket.xhtml (calibre_jacket) Spine itemref removed: calibre_jacket Manifest item added: jacket.xhtml (calibre_jacket) Spine item inserted: calibre_jacket at pos: 1 Looking for html pages containing only broken image links Looking for non dc: elements in manifest Removing child: {http://www.idpf.org/2007/opf}meta Removing child: {http://www.idpf.org/2007/opf}meta Removing child: {http://www.idpf.org/2007/opf}meta Removing child: {http://www.idpf.org/2007/opf}meta Removing child: {http://www.idpf.org/2007/opf}meta Removing child: {http://www.idpf.org/2007/opf}meta Removing child: {http://www.idpf.org/2007/opf}meta Removing child: {http://www.idpf.org/2007/opf}meta Removing child: {http://www.idpf.org/2007/opf}meta Removing child: {http://www.idpf.org/2007/opf}meta Removing child: {http://www.idpf.org/2007/opf}meta Looking for html files to remove charset meta tags/encode to utf-8 Looking for embedded fonts Looking for css @font-face style declarations Looking for inline @font-face style declarations Looking for CSS margins Looking for inline javascript blocks to remove Looking for .js files to remove Stripping Kobo remnants Looking for files to remove: ['iTunesMetadata.plist', 'iTunesArtwork'] Looking for files to remove: ['META-INF/calibre_bookmarks.txt'] Looking for files to remove: ['.DS_Store', 'thumbs.db'] Looking for unused images Stripping spans ePub updated in 0.44 seconds Last edited by enuddleyarbl; 03-10-2023 at 06:49 PM. |
03-10-2023, 07:35 PM | #1730 |
Guru
Posts: 734
Karma: 1077122
Join Date: Sep 2013
Device: Kobo Forma
|
Are those <a id="GBS...."/> the actual Google Play page maps? I ask because I downloaded a free Google Play book (Bram Stoker's "Dracula"), added it to Calibre and ran Modify Epub on it. I've put the whole log, below, but for our purposes here, the important part is:
Code:
Looking for Google Play pagemaps Removing Google Play pagemap file: Ops/_page_map_.xml Manifest item removed: _page_map_.xml (_page_map_) This isn't the end of the world for me. If those kinds of tags get in my way, I can always run some easy regex to move or clean them out. But, what I'm seeing with Modify Epub isn't what I'm expecting. But, then, it could just be that I don't understand what's what. However, the help file says the option should remove both the files and the anchors. It doesn't seem to be doing that latter. Code:
Modify ePubs version (1, 8, 1) Logfile for book ID 967 (Dracula / Bram Stoker) Job details 967 Modifying: C:\Users\Dave\AppData\Local\Temp\calibre__mkrg5gl\wr0tmml8_modify_epub\967.epub Updating metadata and cover Parsing xml file: Ops/volume.opf Parsing xml file: Ops/toc.ncx Looking for redundant entries in manifest Looking for unmanifested files Looking for broken links in the NCX ncx name: Ops/toc.ncx Looping over ncx entries Looking for Adobe xpgt files and links to remove Looking for pagemaps Looking for Google Play pagemaps Removing Google Play pagemap file: Ops/_page_map_.xml Manifest item removed: _page_map_.xml (_page_map_) Looking for Adobe DRM meta tags to remove Looking for legacy jackets Adding or updating jacket Manifest item added: jacket.xhtml (calibre_jacket) Spine item inserted: calibre_jacket at pos: 1 Looking for html pages containing only broken image links Looking for non dc: elements in manifest Removing child: {http://www.idpf.org/2007/opf}meta Removing child: {http://www.idpf.org/2007/opf}meta Removing child: {http://www.idpf.org/2007/opf}meta Removing child: {http://www.idpf.org/2007/opf}meta Removing child: {http://www.idpf.org/2007/opf}meta Removing child: {http://www.idpf.org/2007/opf}meta Removing child: {http://www.idpf.org/2007/opf}meta Removing child: {http://www.idpf.org/2007/opf}meta Removing child: {http://www.idpf.org/2007/opf}meta Removing child: {http://www.idpf.org/2007/opf}meta Removing child: {http://www.idpf.org/2007/opf}meta Removing child: {http://www.idpf.org/2007/opf}meta Removing child: {http://www.idpf.org/2007/opf}meta Removing child: {http://www.idpf.org/2007/opf}meta Looking for html files to remove charset meta tags/encode to utf-8 Switched to UTF-8 encoding for: Ops/001.html Switched to UTF-8 encoding for: Ops/002.html Switched to UTF-8 encoding for: Ops/003.html Switched to UTF-8 encoding for: Ops/004.html Switched to UTF-8 encoding for: Ops/005.html Switched to UTF-8 encoding for: Ops/006.html Switched to UTF-8 encoding for: Ops/007.html Switched to UTF-8 encoding for: Ops/008.html Switched to UTF-8 encoding for: Ops/009.html Switched to UTF-8 encoding for: Ops/010.html Switched to UTF-8 encoding for: Ops/011.html Switched to UTF-8 encoding for: Ops/012.html Switched to UTF-8 encoding for: Ops/013.html Switched to UTF-8 encoding for: Ops/014.html Switched to UTF-8 encoding for: Ops/015.html Switched to UTF-8 encoding for: Ops/016.html Switched to UTF-8 encoding for: Ops/017.html Switched to UTF-8 encoding for: Ops/018.html Switched to UTF-8 encoding for: Ops/019.html Switched to UTF-8 encoding for: Ops/020.html Switched to UTF-8 encoding for: Ops/021.html Switched to UTF-8 encoding for: Ops/022.html Switched to UTF-8 encoding for: Ops/023.html Switched to UTF-8 encoding for: Ops/024.html Switched to UTF-8 encoding for: Ops/025.html Switched to UTF-8 encoding for: Ops/026.html Switched to UTF-8 encoding for: Ops/027.html Switched to UTF-8 encoding for: Ops/028.html Switched to UTF-8 encoding for: Ops/029.html Switched to UTF-8 encoding for: Ops/030.html Switched to UTF-8 encoding for: Ops/031.html Switched to UTF-8 encoding for: Ops/032.html Looking for embedded fonts Looking for css @font-face style declarations Looking for inline @font-face style declarations Looking for CSS margins Modified CSS margins in: Ops/cover.css Modified CSS margins in: Ops/style.css Looking for inline javascript blocks to remove Looking for .js files to remove Stripping Kobo remnants Stripped Kobo spans in: Ops/001.html Stripped Kobo spans in: Ops/002.html Stripped Kobo spans in: Ops/003.html Stripped Kobo spans in: Ops/004.html Stripped Kobo spans in: Ops/005.html Stripped Kobo spans in: Ops/006.html Stripped Kobo spans in: Ops/007.html Stripped Kobo spans in: Ops/008.html Stripped Kobo spans in: Ops/009.html Stripped Kobo spans in: Ops/010.html Stripped Kobo spans in: Ops/011.html Stripped Kobo spans in: Ops/012.html Stripped Kobo spans in: Ops/013.html Stripped Kobo spans in: Ops/014.html Stripped Kobo spans in: Ops/015.html Stripped Kobo spans in: Ops/016.html Stripped Kobo spans in: Ops/017.html Stripped Kobo spans in: Ops/018.html Stripped Kobo spans in: Ops/019.html Stripped Kobo spans in: Ops/020.html Stripped Kobo spans in: Ops/021.html Stripped Kobo spans in: Ops/022.html Stripped Kobo spans in: Ops/023.html Stripped Kobo spans in: Ops/024.html Stripped Kobo spans in: Ops/025.html Stripped Kobo spans in: Ops/026.html Stripped Kobo spans in: Ops/027.html Stripped Kobo spans in: Ops/028.html Stripped Kobo spans in: Ops/029.html Stripped Kobo spans in: Ops/030.html Stripped Kobo spans in: Ops/031.html Stripped Kobo spans in: Ops/032.html Looking for files to remove: ['iTunesMetadata.plist', 'iTunesArtwork'] Looking for files to remove: ['META-INF/calibre_bookmarks.txt'] Looking for files to remove: ['.DS_Store', 'thumbs.db'] Looking for unused images Stripping spans ePub updated in 0.47 seconds Last edited by enuddleyarbl; 03-10-2023 at 07:37 PM. |
Advert | |
|
03-11-2023, 10:52 AM | #1731 | |
Resident Curmudgeon
Posts: 74,491
Karma: 129668758
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
|
|
03-11-2023, 10:54 AM | #1732 | |
Resident Curmudgeon
Posts: 74,491
Karma: 129668758
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
|
|
03-11-2023, 01:21 PM | #1733 |
Guru
Posts: 734
Karma: 1077122
Join Date: Sep 2013
Device: Kobo Forma
|
Modify ePub changed all those <a></a> pairs to self-closing anchors. The next run of ME still didn't delete the (now) self-closing anchors.
|
03-11-2023, 01:41 PM | #1734 | |
Resident Curmudgeon
Posts: 74,491
Karma: 129668758
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
I've tried it and yes, it does work. Last edited by JSWolf; 03-11-2023 at 01:45 PM. |
|
03-11-2023, 08:00 PM | #1735 |
Guru
Posts: 734
Karma: 1077122
Join Date: Sep 2013
Device: Kobo Forma
|
I'm taking a guess that when it looks for page map stuff to delete, it first looks for the Google Play pagemap file (Ops/_page_map_.xml) and the Manifest items (_page_map_.xml (_page_map_)) and either pulls the GBS anchors out based on those or looks for the self-closing tags itself. But, once it removes the pagemap file and manifest items, later runs (when the non-self-closing anchors have been self-closinized) will say "no such pagemap/manifest objects exist, therefore no GBS anchors exist. And it quits. Total WAG on my part. But, it seems to explain the behavior.
So, as you say, the work-around is to not use the "remove page map" options until after doing a run and getting those tags self-closed. |
03-12-2023, 06:16 AM | #1736 | |
Resident Curmudgeon
Posts: 74,491
Karma: 129668758
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
|
|
03-16-2023, 10:34 PM | #1737 |
Guru
Posts: 734
Karma: 1077122
Join Date: Sep 2013
Device: Kobo Forma
|
I'm not sure if this is from this plugin or from something in the Calibre Editor. Normally, I like to have my chapters (files) in an epub in the following order:
|
03-16-2023, 10:43 PM | #1738 |
Well trained by Cats
Posts: 29,924
Karma: 55705602
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
The OPF sets the order.
Most people use the editor to reorder. IIRC Modify does offer to Slam the TOC to the end (but not send to front) Only flatten |
03-16-2023, 11:59 PM | #1739 |
Guru
Posts: 734
Karma: 1077122
Join Date: Sep 2013
Device: Kobo Forma
|
With the pointer to look at the opf, I found some information that the spine in the opf sets the order. So, I dragged the jacket from its 3rd place location in this troublesome book and watched its entry change position in the spine to reflect that.
Saved and quit, then re-opened. Still good. Quit and ran Modify ePub, reopened and the jacket had been moved back down to its 3rd place location in both the file list and in the spine. EDIT: I guess I shouldn't say it "moved it" -- I've got the "Add/replace metadata jacket" option on, so I guess it's deleting the old one from the 2nd place location and creating a new on in the 3rd place location /EDIT. It's not the end of the world. But, I just don't understand where Modify ePub is getting its information to move the jacket to that 3rd place in a few books. Usually, it leaves it in the 2nd place location. Last edited by enuddleyarbl; 03-17-2023 at 12:02 AM. |
03-17-2023, 10:15 AM | #1740 | |
Resident Curmudgeon
Posts: 74,491
Karma: 129668758
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
1. Cover 2. Titlepage That's why the jacket is being put 3rd. So out in your Cover correctly as 1. |
|
Tags |
modify epub |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[GUI Plugin] Quality Check | kiwidude | Plugins | 1184 | 04-17-2024 06:17 PM |
[GUI Plugin] Open With | kiwidude | Plugins | 403 | 04-01-2024 08:39 AM |
[GUI Plugin] Manage Series | kiwidude | Plugins | 166 | 02-13-2024 11:31 AM |
Modify ePub plugin dev thread | kiwidude | Development | 346 | 09-02-2013 05:14 PM |
[GUI Plugin] Plugin Updater **Deprecated** | kiwidude | Plugins | 159 | 06-19-2011 12:27 PM |