|
|
#16 |
|
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 64,324
Karma: 104254653
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Aura H2O, PRS-650, PRS-T1, nook STR, iPad 4, iPhone SE 2020, 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: 23,231
Karma: 41975128
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.
|
|
|
|
|
|
#18 |
|
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5,795
Karma: 14403489
Join Date: Sep 2009
Location: UK
Device: Kobo: H2O, GloHD, KA1, ClaraHD, Forma
|
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: 138
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: 64,324
Karma: 104254653
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Aura H2O, PRS-650, PRS-T1, nook STR, iPad 4, iPhone SE 2020, PW3
|
Not scrambining OPF content is not a problem.
|
|
|
|
|
|
#21 | |
|
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5,795
Karma: 14403489
Join Date: Sep 2009
Location: UK
Device: Kobo: H2O, GloHD, KA1, ClaraHD, Forma
|
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 05:33 PM. |
|
|
|
|
|
|
#22 | |
|
Zealot
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 138
Karma: 2382428
Join Date: Feb 2013
Location: California
Device: OnePlus 6 phone, Kobo Clara HD, Libra H2O
|
Quote:
|
|
|
|
|
|
|
#23 | |
|
null operator
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 17,691
Karma: 20473671
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: 5,795
Karma: 14403489
Join Date: Sep 2009
Location: UK
Device: Kobo: H2O, GloHD, KA1, ClaraHD, Forma
|
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
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 17,691
Karma: 20473671
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: 5,795
Karma: 14403489
Join Date: Sep 2009
Location: UK
Device: Kobo: H2O, GloHD, KA1, ClaraHD, Forma
|
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
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 17,691
Karma: 20473671
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: 5,795
Karma: 14403489
Join Date: Sep 2009
Location: UK
Device: Kobo: H2O, GloHD, KA1, ClaraHD, Forma
|
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 |
|
|
|
![]() |
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| [GUI Plugin] KindleUnpack - The Plugin | DiapDealer | Plugins | 471 | Today 05:56 PM |
| [GUI Plugin] DjVuMaker - converts Postscript books to Djvu | TheWizard | Plugins | 7 | 01-30-2021 08:19 AM |
| How to get a list of books corresponding to the selected tag in the GUI plugin? | esvorontsov | Development | 6 | 09-29-2015 11:06 AM |
| [GUI Plugin] Plugin Updater **Deprecated** | kiwidude | Plugins | 159 | 06-19-2011 01:27 PM |