![]() |
#1261 | |||
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,760
Karma: 9918418
Join Date: Feb 2013
Location: Here on the perimeter, there are no stars
Device: Kobo H2O, iPad mini 3, Kindle Touch
|
Quote:
Quote:
Quote:
Last edited by Rev. Bob; 10-04-2019 at 09:30 AM. |
|||
![]() |
![]() |
![]() |
#1262 | |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 79,758
Karma: 145864619
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
|
|
![]() |
![]() |
Advert | |
|
![]() |
#1263 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,760
Karma: 9918418
Join Date: Feb 2013
Location: Here on the perimeter, there are no stars
Device: Kobo H2O, iPad mini 3, Kindle Touch
|
Quote:
However, I’m also aware that Fork 3 was briefly released as a usable plugin, containing the patch I mentioned as well as some enhancements that introduced fatal flaws, and therefore I have to allow for the possibility that some people obtained it during that window and are still using it. I don’t know what version number it was given; it could very well be called 1.3.14 (especially if it was built from Fork 2 without a version bump). On top of all that, it’s possible that I overlooked a Fork 4, Fork 5, or Fork 217 somewhere that might also call itself 1.3.14. This is precisely why I’m referring to the known versions as “fork X from source Y” instead of using their internal version numbers. So far as I’m aware, the most recent canonized “official version” is the one in the first post, which according to the version history there should be 1.3.13. |
|
![]() |
![]() |
![]() |
#1264 |
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 21,725
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
![]() @Rev.Bob - attached is what I downloaded on Apr 30 at 22:30ish UTC from 1209 (not 1208) - its branded 1.3.14. I'm pretty sure it was the last one posted here - removed since. You could do a diff with what you have. BR |
![]() |
![]() |
![]() |
#1265 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,760
Karma: 9918418
Join Date: Feb 2013
Location: Here on the perimeter, there are no stars
Device: Kobo H2O, iPad mini 3, Kindle Touch
|
Quote:
The only desirable new feature I’m aware of in this is the patch to the routine which removes sets of files (Apple, calibre bookmarks, etc.), and I’ve already got that code squirreled away to be merged in. That code, I believe, was posted in #1208. Are there any other positive changes in this fork? |
|
![]() |
![]() |
Advert | |
|
![]() |
#1266 | |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 79,758
Karma: 145864619
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
|
|
![]() |
![]() |
![]() |
#1267 | |
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 21,725
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Quote:
BR |
|
![]() |
![]() |
![]() |
#1268 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,760
Karma: 9918418
Join Date: Feb 2013
Location: Here on the perimeter, there are no stars
Device: Kobo H2O, iPad mini 3, Kindle Touch
|
Okay, then. Here's where things stand right this moment.
I've taken the four versions - 1.3.13, 1.3.14 (most official), my beta, and JimmXinu's patch for the file-list-removal bug - and sorted out the differences. At least, I think I got all of the dependencies right. The result at present is a complete but so far untested beta of 1.4.0 which should have all three new features working in harmony: the bugfix, the pagemap removal routine, and the under-the-hood enhancements I was working on. The top of the changelog now looks like this: Spoiler:
It is possible that since the Google Play pagemap removal overlaps in functionality with the dedicated pagemap removal feature, something unusual could happen if both switches are active at once. I don't think so, since the Kobo/GP switch is processed first and should simply result in the dedicated removal routine not finding anything, but it's worth checking. Also of note, speaking of pagemaps: The two routines operate differently. The one I wrote looks for any pagemap file (determined by MIME type) regardless of name, but only removes it if it fits the qualifiers I defined, since I generally like pagemaps. The other looks for one specific filename, although it's set up to work from a list of them. I should probably consider rewriting the list-based option to use the type-based logic, but I cannot brain right now. So, in sum... The pieces have been put together, but the resulting plugin needs some testing before I feel comfortable calling it an official release. I've attached the beta here so adventurous souls can take a whack at it, but please do not treat it as a true release yet, as I may have overlooked some errors during the merge process. I am particularly interested in hearing from people who have Google Play ebooks and can test how the two pagemap functions interact on them. EDIT: Removed outdated build, see message 1296. Last edited by Rev. Bob; 10-11-2019 at 11:12 AM. |
![]() |
![]() |
![]() |
#1269 |
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 21,725
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
I 'get' why the "Rename .html file .xhtml" option is not in 1.4. But:
I don't get why "Add spine rtl" and Remove spine rtl" are not there, I never used them but I assume someone did/does. And nor why Cleanup: isn't there - I didn't request this feature but I have used it on an adhoc basis a couple of times. Perhaps this is the feature you mentioned in post 1265 as something you've you've got squirreled away. I have tested my three 'saved settings' - no problems. BR |
![]() |
![]() |
![]() |
#1270 | ||
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,760
Karma: 9918418
Join Date: Feb 2013
Location: Here on the perimeter, there are no stars
Device: Kobo H2O, iPad mini 3, Kindle Touch
|
Quote:
Longer answer: LTR and RTL aren’t things that should be blindly added to or removed from a book. If they're needed, they’re extremely likely to already be specified, and if they’re specified, it’s best to make damned sure it’s safe to remove them before doing so. Either situation calls for manual judgment. Quote:
EDIT: If you’re talking about the “remove files with these names” function, I regard that as extremely dangerous and steered way the hell away from it. It’s all too easy for a novice with a little bit of knowledge to create a lot of damage that way. Last edited by Rev. Bob; 10-06-2019 at 03:49 AM. |
||
![]() |
![]() |
![]() |
#1271 | |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 31,062
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
I cringe when I hear a newbie make 'blanket' statements, like replaced the stylesheet with my favorite. Remove all xyz... Without understandin or considering the code used in that book, it is a style disaster waiting to be ugly. I would love a Selective, Remove fonts just the files (found in a user generated control list) , include The @font-face from the CSS. |
|
![]() |
![]() |
![]() |
#1272 |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 79,758
Karma: 145864619
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
I've loaded the 1.4.0 beta and I will give it a go.
|
![]() |
![]() |
![]() |
#1273 |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 79,758
Karma: 145864619
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
I just tested the 1.4.0 beta on an ePub from Google Play Books and it worked. It removed the page map, the anchors, the .xgpt file and the links to it. It worked as it should.
|
![]() |
![]() |
![]() |
#1274 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,760
Karma: 9918418
Join Date: Feb 2013
Location: Here on the perimeter, there are no stars
Device: Kobo H2O, iPad mini 3, Kindle Touch
|
For that test, did you have both the deKobo and pagemap removal routines active, or only the former?
|
![]() |
![]() |
![]() |
#1275 | |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 79,758
Karma: 145864619
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
This is what I have selected when I use Modify ePub... All in Know Artifacts All in Adobe except Remove margins from adobe .xpgt files Flatten broken TOC entries in NCX file Encode HTML in UTF-8 Remove inline javascript and files Remove all metadata jackets Remove legacy metadata jackets |
|
![]() |
![]() |
![]() |
Tags |
modify epub |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
[GUI Plugin] Quality Check | kiwidude | Plugins | 1251 | 07-07-2025 09:13 PM |
[GUI Plugin] Open With | kiwidude | Plugins | 404 | 02-21-2025 05:42 AM |
[GUI Plugin] Manage Series | kiwidude | Plugins | 167 | 07-28-2024 03:07 PM |
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 |