View Single Post
Old 03-10-2023, 07:35 PM   #1730
enuddleyarbl
Guru
enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.
 
enuddleyarbl's Avatar
 
Posts: 792
Karma: 1538394
Join Date: Sep 2013
Device: Kobo Sage
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_)
It found and removed the page map file and manifest item, but did nothing about those anchor tags. The book is in epub2 format (not epub3) and the anchors are non-self-closing. But, after the run, they got converted to self-closing and another run of Modify Epub still didn't do anything with the tags.

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.
enuddleyarbl is offline   Reply With Quote