View Single Post
Old 03-10-2023, 03:54 PM   #1727
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: 791
Karma: 1538394
Join Date: Sep 2013
Device: Kobo Sage
I'm moving this from that discussion in the Editor forum since this is the better location for it:

Quote:
Originally Posted by jackie_w View Post
@gbm and @JSWolf,

I don't use Modify Epub anymore but I took a quick look at the plugin code. I think the problem may be that the plugin is currently only looking for GBS anchors in their self-closing form
Code:
<a id="GBS..."/>
i.e. not
Code:
<a id="GBS..."></a>
ETA: If Beautify has been run all anchors will look like the latter.
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:
Quote:
Looking for pagemaps
Looking for Google Play pagemaps
It never actually does anything with them.
enuddleyarbl is offline   Reply With Quote