View Single Post
Old 03-10-2023, 05:24 PM   #1728
gbm
Wizard
gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.
 
Posts: 2,191
Karma: 8888888
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:
Click image for larger version

Name:	Screenshot from 2023-03-10 17-13-43.png
Views:	400
Size:	135.5 KB
ID:	200239

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
For my second run of Modify epub I use these setting:
Click image for larger version

Name:	Screenshot from 2023-03-10 17-15-04.png
Views:	208
Size:	135.6 KB
ID:	200240

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:
Originally Posted by enuddleyarbl View Post
I'm moving this from that discussion in the Editor forum since this is the better location for it:



I can't get Modify Epub to remove those Google Play page maps no matter what I do. I've pulled up one of my epub3 books with:
Code:
<a id="GBS.0007.01"/>
(self-closing) sitting right at the top of a file (immediately after the <body> statement). I've run Modify Epub against it with every variation of checking the Remove Page Maps and Remove ONLY Google Play Page Maps. The <a></a> pair doesn't go away.

I've also tried it after Beautifying the file (so the codes aren't self-closing):
Code:
<a id="GBS.0007.01"></a>
with the same result (codes not removed, though they do get converted to the self-closing variety).

Modify Epub's log always says just:

It never actually does anything with them.
gbm is offline   Reply With Quote