Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Plugins

Notices

Reply
 
Thread Tools Search this Thread
Old 02-19-2023, 09:45 PM   #8086
JimmXinu
Plugin Developer
JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.
 
JimmXinu's Avatar
 
Posts: 6,973
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
Quote:
Originally Posted by ownedbycats View Post
Is there any practical limit to the number of story-url sections in personal.ini? I've found myself using them often (all sorts of various reasons).
See: https://docs.python.org/3/library/configparser.html

Googling python configparser sections limit doesn't come up with any complaints, so I presume not.

Quote:
Originally Posted by ownedbycats View Post
Bug report?

Code:
[https://archiveofourown.org/works/44088169]
always_reload_first_chapter:true
add_category_when_multi_category:false
never_make_cover:true
When downloading as new book or overwriting, I get a "Cannot insert None into a tag" unless I comment always_reload_first_chapter. It doesn't happen when updating.

EDIT: Another story by the same author instead gets a 'NoneType' object has no attribute 'find' error when I attempt to overwrite with always_reload.
always_reload_first_chapter:true was only really tested with base_xenforoforum sites where it used to be common for authors to include a manually combined TOC/index.

I do see the first error. It's a conflict between the AO3 only use_view_full_work option, AO3 chapter/story summary/notes processing and always_reload_first_chapter.

To make always_reload_first_chapter work reliably, we have to sacrifice some of the performance benefits of use_view_full_work and re-process the HTML every chapter because I'm not rewriting all the AO3 chapter processing.

I don't see the second error. Need at least a code line number.
JimmXinu is offline   Reply With Quote
Old 02-19-2023, 09:46 PM   #8087
JimmXinu
Plugin Developer
JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.
 
JimmXinu's Avatar
 
Posts: 6,973
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
New Test Version Posted

2023-02-19
- AO3: Re-soup full_work on every chapter to avoid problems with soup changes. Found with always_reload_first_chapter:true
JimmXinu is offline   Reply With Quote
Old 02-20-2023, 03:50 PM   #8088
ownedbycats
Custom User Title
ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.
 
ownedbycats's Avatar
 
Posts: 10,974
Karma: 75337983
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
Thanks
ownedbycats is online now   Reply With Quote
Old 02-22-2023, 02:26 PM   #8089
Amalthia
Wizard
Amalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beauty
 
Amalthia's Avatar
 
Posts: 1,185
Karma: 32196
Join Date: Jan 2007
Location: Anchorage, AK
Device: Sony Reader PRS-505, PRS-650, PRS-T3, Pocketbook HD2
Hello,

I have a bit of a puzzle.

I'm trying to exclude specific freeformtags from my genre column. The warnings are excluded, but not the genre information.

Here is the code I'm using in my personal.ini.

Code:
exclude_metadata_pre:
 warnings==Author Chose Not To Use Archive Warnings
 warnings==No Archive Warnings Apply
 warnings==Graphic Depictions Of Violence
 warnings==Creator Chose Not To Use Archive Warnings
 warnings==Additional Warnings In Author's Note
 genre==Other Additional Tags to Be Added
 genre==Additional Warnings in Author's Note

custom_columns_settings:
 comments=>#reviewcount,r
 collections=>#fandomchallenges,r
 kudos=>#kudoscount,r
 ao3categories=>#categories,r
 chapterslashtotal=>#chapterslashtotal,r
 restricted=>#restricted,r
 genre=>#newgenre,r
I've tried this for the genre:

Code:
 freeformtags==Other Additional Tags to Be Added
 freeformtags==Additional Warnings in Author's Note
and I tried this:

Code:
 freeformtags,genre==Other Additional Tags to Be Added
 freeformtags,genre==Additional Warnings in Author's Note
None of my attempts have worked to excluded the specified metadata.

Here is a story link that includes the "Additional Warnings in Author's Note" in the author's additional tag metadata from AO3.

https://archiveofourown.org/works/30875318

I'd appreciate any and all help in adjusting my settings to exclude these tags from the metadata.

Thanks,
Amalthia
Amalthia is offline   Reply With Quote
Old 02-22-2023, 02:51 PM   #8090
JimmXinu
Plugin Developer
JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.
 
JimmXinu's Avatar
 
Posts: 6,973
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
Quote:
Originally Posted by Amalthia View Post
I have a bit of a puzzle.
...
Code:
exclude_metadata_pre:
 # ...
 genre==Other Additional Tags to Be Added
 genre==Additional Warnings in Author's Note
"Additional Warnings in Author's Note" doesn't work because the author actually used "Additional Warnings In Author's Note". Note the i vs I.

"Other Additional Tags to Be Added" is excluded fine for me as is.
JimmXinu is offline   Reply With Quote
Old 02-22-2023, 03:07 PM   #8091
ownedbycats
Custom User Title
ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.
 
ownedbycats's Avatar
 
Posts: 10,974
Karma: 75337983
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
If they use regexes, you can proably use Additional Warnings (I|i)n Author's Note
ownedbycats is online now   Reply With Quote
Old 02-22-2023, 03:08 PM   #8092
Amalthia
Wizard
Amalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beauty
 
Amalthia's Avatar
 
Posts: 1,185
Karma: 32196
Join Date: Jan 2007
Location: Anchorage, AK
Device: Sony Reader PRS-505, PRS-650, PRS-T3, Pocketbook HD2
Quote:
Originally Posted by JimmXinu View Post
"Additional Warnings in Author's Note" doesn't work because the author actually used "Additional Warnings In Author's Note". Note the i vs I.

"Other Additional Tags to Be Added" is excluded fine for me as is.
Good catch! Thanks for helping.
Amalthia is offline   Reply With Quote
Old 02-22-2023, 03:13 PM   #8093
Amalthia
Wizard
Amalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beauty
 
Amalthia's Avatar
 
Posts: 1,185
Karma: 32196
Join Date: Jan 2007
Location: Anchorage, AK
Device: Sony Reader PRS-505, PRS-650, PRS-T3, Pocketbook HD2
Quote:
Originally Posted by ownedbycats View Post
If they use regexes, you can proably use Additional Warnings (I|i)n Author's Note
Hi,

Is there a regex that can exclude any genre that starts with "Additional?"

Thanks,
Amalthia
Amalthia is offline   Reply With Quote
Old 02-22-2023, 03:19 PM   #8094
ownedbycats
Custom User Title
ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.
 
ownedbycats's Avatar
 
Posts: 10,974
Karma: 75337983
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
Try ^Additional .*

Unless the question mark being inside the quote wasn't a mistake, then use ^Additional\? .*
ownedbycats is online now   Reply With Quote
Old 02-22-2023, 04:11 PM   #8095
Amalthia
Wizard
Amalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beauty
 
Amalthia's Avatar
 
Posts: 1,185
Karma: 32196
Join Date: Jan 2007
Location: Anchorage, AK
Device: Sony Reader PRS-505, PRS-650, PRS-T3, Pocketbook HD2
Quote:
Originally Posted by ownedbycats View Post
Thanks for the fast response! I tried it out and sadly the regex didn't work.

I also tried ^Additional.*

May have to experiment...

Thanks,
Amalthia

p.s. I meant to only have "Additional" no question mark.
Amalthia is offline   Reply With Quote
Old 02-22-2023, 04:38 PM   #8096
Amalthia
Wizard
Amalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beauty
 
Amalthia's Avatar
 
Posts: 1,185
Karma: 32196
Join Date: Jan 2007
Location: Anchorage, AK
Device: Sony Reader PRS-505, PRS-650, PRS-T3, Pocketbook HD2
Quote:
Originally Posted by ownedbycats View Post
Try ^Additional .*

Unless the question mark being inside the quote wasn't a mistake, then use ^Additional\? .*
I think I figured it out.

Here is what worked:

Quote:
freeformtags,genre=~Additional.*
I'm not sure what =~ means but I know != excluded all genre's except the ones that started with Additional.

I'm going through the calibre regex reference guide to see if there is a list of these selectors.

Amalthia
Amalthia is offline   Reply With Quote
Old 02-22-2023, 04:39 PM   #8097
ownedbycats
Custom User Title
ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.
 
ownedbycats's Avatar
 
Posts: 10,974
Karma: 75337983
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
Oops, I forgot to mention the tilde Tilde means regex match, == is exact match.
ownedbycats is online now   Reply With Quote
Old 02-22-2023, 05:53 PM   #8098
Amalthia
Wizard
Amalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beauty
 
Amalthia's Avatar
 
Posts: 1,185
Karma: 32196
Join Date: Jan 2007
Location: Anchorage, AK
Device: Sony Reader PRS-505, PRS-650, PRS-T3, Pocketbook HD2
Quote:
Originally Posted by ownedbycats View Post
Oops, I forgot to mention the tilde Tilde means regex match, == is exact match.
It's all good, I was able to figure it out.

I'm going through the "tag browser" using the "category editor" to see what else I can exclude and I kind of want to shake my head at what people are adding to tags in AO3, so much of it is nonsense, with only one person using that tag. I had over 60k tags in genre alone. I'm mass deleting everything with 1 tag, especially anything that starts with an author's "I" "will" "also" "I'm" and other awful tags that add nothing to the reader's understanding of what is in the fic.

I'm crossing my fingers that someday AO3 will limit the amount of freeformtags an author can use. I think no more than 10 will really cut down on the amount of useless metadata.

Thanks for your help!
Amalthia
Amalthia is offline   Reply With Quote
Old 02-22-2023, 06:04 PM   #8099
ownedbycats
Custom User Title
ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.
 
ownedbycats's Avatar
 
Posts: 10,974
Karma: 75337983
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
They actually did! Limit of 75 tags now, after that incident with the story using literally thousands of tags and outright crashing browsers. But older works with more than that will keep the tags (until the author tries to update, then it'll make them delete some).

Last edited by ownedbycats; 02-22-2023 at 06:08 PM.
ownedbycats is online now   Reply With Quote
Old 02-22-2023, 06:17 PM   #8100
Amalthia
Wizard
Amalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beauty
 
Amalthia's Avatar
 
Posts: 1,185
Karma: 32196
Join Date: Jan 2007
Location: Anchorage, AK
Device: Sony Reader PRS-505, PRS-650, PRS-T3, Pocketbook HD2
Quote:
Originally Posted by ownedbycats View Post
They actually did! Limit of 75 tags now, after that incident with the story using literally thousands of tags and outright crashing browsers. But older works with more than that will keep the tags (until the author tries to update, then it'll make them delete some).
I guess 75 tags is a start, I bet some author's feel like that still isn't enough. I can assure them after looking at all these nonsense tags, it's more than enough.

I somehow missed seeing the "sexy times" fic while browse AO3 when this happened. I think this is what happens when you find fic through bookmarks or rec lists.
Amalthia is offline   Reply With Quote
Reply

Tags
fanfiction


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[GUI Plugin] KindleUnpack - The Plugin DiapDealer Plugins 523 07-15-2025 06:45 PM
[GUI Plugin] Open With kiwidude Plugins 404 02-21-2025 05:42 AM
[GUI Plugin] Marvin XD Philantrop Plugins 126 01-29-2017 12:48 PM
[GUI Plugin] KiNotes -axel- Plugins 0 07-14-2013 06:39 PM
[GUI Plugin] Plugin Updater **Deprecated** kiwidude Plugins 159 06-19-2011 12:27 PM


All times are GMT -4. The time now is 10:16 AM.


MobileRead.com is a privately owned, operated and funded community.