![]() |
#16 |
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
|
To be honest, I don't think the plugin should handle cases where the eBook fails epubcheck. If the plugin fails when the eBook passes epubcheck, sure, fix it. But not if the eBook fails to validate.
|
![]() |
![]() |
![]() |
#17 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 24,905
Karma: 47303824
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
But, one of the points of ScrambleEbook is to be able to share broken books with others to work out what is wrong with them. And there are plenty of books that fail epubcheck that will work fine on lots of ereaders.
|
![]() |
![]() |
Advert | |
|
![]() |
#18 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,251
Karma: 16539642
Join Date: Sep 2009
Location: UK
Device: ClaraHD, Forma, Libra2, Clara2E, LibraCol, PBTouchHD3
|
ScrambleEbook upgrade 0.4.5
Plugin should now work with both calibre current production version (v4.15) and calibre python3 beta versions v4.99.x. If any problems, please report them here. |
![]() |
![]() |
![]() |
#19 |
Zealot
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 141
Karma: 2382428
Join Date: Feb 2013
Location: California
Device: OnePlus 6 phone, Kobo Clara HD, Libra H2O
|
I notice that some of the metadata in the opf file of an epub does not get scrambled.
Code:
<dc:creator id="id">... ...</dc:creator> <dc:identifier>isbn:...</dc:identifier> <dc:identifier>google:...</dc:identifier> <dc:identifier>goodreads:...</dc:identifier> <dc:identifier>amazon:...</dc:identifier> <dc:identifier>kobo:...</dc:identifier> <dc:identifier>calibre:...</dc:identifier> <dc:identifier>uuid:...-...-...-...-...</dc:identifier> <dc:identifier id="uid">...</dc:identifier> <dc:source id="src-id">urn:isbn:...</dc:source> <dc:description>*removed*</dc:description> <dc:publisher>... </dc:publisher> Anyway, I thought I'd point it out. Had I not looked within the file, I'd have unintentionally posted unscrambled identifying data. I'd vote for scrambling the <dc:description> content instead of removing it, at least if the amount of work is not disproportional to the value of preserving that data. No need for anyone to do any of this on my account, of course. Mainly I wanted to alert people that opf content may not get scrambled, so be aware. |
![]() |
![]() |
![]() |
#20 |
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
|
Not scrambining OPF content is not a problem.
|
![]() |
![]() |
Advert | |
|
![]() |
#21 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,251
Karma: 16539642
Join Date: Sep 2009
Location: UK
Device: ClaraHD, Forma, Libra2, Clara2E, LibraCol, PBTouchHD3
|
Quote:
They did request that some calibre metadata was removed including calibre custom metadata and description to be on the safe side. Here are a couple of relevant Mod posts: https://www.mobileread.com/forums/sh...5&postcount=63 https://www.mobileread.com/forums/sh...&postcount=120 If you run the plugin from the commandline there is an option to set stricter rules for metadata removal. In all honesty I'm not sure how many users ever do this. Last edited by jackie_w; 12-21-2020 at 04:33 PM. |
|
![]() |
![]() |
![]() |
#22 | |
Zealot
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 141
Karma: 2382428
Join Date: Feb 2013
Location: California
Device: OnePlus 6 phone, Kobo Clara HD, Libra H2O
|
Quote:
|
|
![]() |
![]() |
![]() |
#23 | |
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 21,730
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Quote:
Curious - what are the options for stricter rules, I don't have the PI installed. BR |
|
![]() |
![]() |
![]() |
#24 | ||
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,251
Karma: 16539642
Join Date: Sep 2009
Location: UK
Device: ClaraHD, Forma, Libra2, Clara2E, LibraCol, PBTouchHD3
|
Quote:
Quote:
The boxes already checked in the [Change rules*] pop-up widget are the default "MR scramble rules". The [View metadata *] button lets you peek at the OPF's content for <package> tag and <metadata> section, Before vs. After scrambling. |
||
![]() |
![]() |
![]() |
#25 |
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 21,730
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
I used the old standalone scrambler a bit in calibre 3 times, and I'd forgotten you had to scrap it when calibre 4 was released - I assumed there'd be cmdline options.
There was an inkling of an idea behind wanting know about the options. Looks like if I uncheck everything, except "Remove some descriptive metadata", it might get rid of dc:description, dc:subject and dc:identifiers, but leave the the book unscrambled - which is what I was hoping for. BR |
![]() |
![]() |
![]() |
#26 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,251
Karma: 16539642
Join Date: Sep 2009
Location: UK
Device: ClaraHD, Forma, Libra2, Clara2E, LibraCol, PBTouchHD3
|
Quote:
Having said that ... Did you try temporarily installing the plugin and running it from the commandline using a test book with edited scramble rules as per your inkling? Did it give you a modified OPF which you'd be happy with? If so, there is still some standalone residual code in the plugin which could be very simply hacked in your personal copy of the plugin's scrambleebook.py file to permanently remember your new personal scramble rules. If you want to pursue this then let me know and I can tell you what needs to be done. However, IMHO, if you wanted to go down the hack-an-existing-plugin route I suspect hacking one of Modify Epub's metadata options might be more fruitful, especially if you want to bulk modify OPFs. |
|
![]() |
![]() |
![]() |
#27 |
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 21,730
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Thanks, I'll install the PI in a portable to see if it behaves as I suggested, but I won't be hacking it or Modify. Hacks and elaborate customisation are yet more clutter I don't need.
Truth is, I will probably continue to do what I do now: delete the superfluous DC metadata (description, subjects etc) with Sigil's metadata editor when I'm doing final edits. BR |
![]() |
![]() |
![]() |
#28 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,251
Karma: 16539642
Join Date: Sep 2009
Location: UK
Device: ClaraHD, Forma, Libra2, Clara2E, LibraCol, PBTouchHD3
|
Unfortunately, due to unexpected issues at home, I am unable to provide any support for this plugin for the forseeable future.
Hopefully the current version will continue to work OK in calibre 5.xx |
![]() |
![]() |
![]() |
#29 |
Junior Member
![]() Posts: 4
Karma: 10
Join Date: May 2022
Device: Boox Onyx Note Air
|
Does there happen to be a GitHub repo I can sent PRs to? I want to add support for CJK scrambling (which should be fairly trivial -- you just have to handle which Unicode blocks are which kind of CJK character and then just pick one from the same block). Since jackie_w said they're unable to work on this for the forseeable future maybe it should be put somewhere where more than one person can try to work on it?
|
![]() |
![]() |
![]() |
#30 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,528
Karma: 78910202
Join Date: Nov 2007
Location: Toronto
Device: Libra H2O, Libra Colour
|
Or you can just edit the plugin you've downloaded from here... A plugin is just a zip file of the source code.
Sent from my Pixel 4a using Tapatalk |
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
[GUI Plugin] KindleUnpack - The Plugin | DiapDealer | Plugins | 523 | 07-15-2025 06:45 PM |
[GUI Plugin] DjVuMaker - converts Postscript books to Djvu | TheWizard | Plugins | 24 | 05-29-2025 04:57 PM |
How to get a list of books corresponding to the selected tag in the GUI plugin? | esvorontsov | Development | 6 | 09-29-2015 10:06 AM |
[GUI Plugin] Plugin Updater **Deprecated** | kiwidude | Plugins | 159 | 06-19-2011 12:27 PM |