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 10-27-2023, 02:50 PM   #9046
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,988
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
Not really. Turn off include_images for that story is about it.

Is this a common thing that users see? It seems pretty niche.
JimmXinu is offline   Reply With Quote
Old 10-27-2023, 03:00 PM   #9047
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: 11,027
Karma: 75555555
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
Not sure, I searched the thread for tinypic but the only posts I found were a few years before it shut down.
ownedbycats is offline   Reply With Quote
Advert
Old 10-29-2023, 02:12 PM   #9048
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: 11,027
Karma: 75555555
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
What is the command used to download custom CSS on AO3 without manually adding it to the output CSS? I'm having trouble searching in defaults.
ownedbycats is offline   Reply With Quote
Old 10-29-2023, 03:22 PM   #9049
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,988
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
use_workskin:
Code:
## Some works on AO3 ship with an author-defined CSS sheet.
## By default, do not include it.
#use_workskin:false
JimmXinu is offline   Reply With Quote
Old 11-01-2023, 12:49 PM   #9050
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,988
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
New Version Released

Version 4.29.0 - 2023-11-01
- Update translations.
- Retry Calibre metadata update when it fails due to conflicting program(Windows File Explorer)
- adapter_asianfanficscom: Fix for 'friend only' stories initially giving 404
- Change bs4.find(text=) to string= for deprecation change.
- Add use_flaresolverr_proxy:directimages experimental for #1007
- Add base_adapter.img_url_trans() for adapter_fictionlive image URLs #1004
- Update six.py to 1.16 for Python 3.12 compatibility. #1006
- ConfigParser.read_file added in py3.2, readfp removed in py3.12, only used in plugin #1006
JimmXinu is offline   Reply With Quote
Advert
Old 11-03-2023, 08:52 PM   #9051
bigwoof
Connoisseur
bigwoof began at the beginning.
 
Posts: 88
Karma: 18
Join Date: Jun 2020
Device: Boox Note Air3, don't use my kindle anymore
> - Add use_flaresolverr_proxy:directimages experimental for #1007

Thank for this! I'm testing it with scribblehub and it seems to work if I connect to a US network via a VPN. fails on my home (Asian country) network.

also as mentioned in your issue log, you need to set an agent tag or it does not work. e.g.

user_agent:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:83.0) Gecko/20100101 Firefox/83.0


Finally, what's the best way to get fanficfare to redownload the covers? it does not seem to do it when there are no updates or when you ask it to update the metadata or when you delete the existing cover and update. my "hack" is to go in and delete the last chapter of each epub I want a new cover for. but that's kind of slow.. any faster way?

Thanks! :-)
bigwoof is offline   Reply With Quote
Old 11-03-2023, 09:14 PM   #9052
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,988
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
Quote:
Originally Posted by bigwoof View Post
Finally, what's the best way to get fanficfare to redownload the covers? it does not seem to do it when there are no updates or when you ask it to update the metadata or when you delete the existing cover and update. my "hack" is to go in and delete the last chapter of each epub I want a new cover for. but that's kind of slow.. any faster way?
'Update Epub Always' mode should work for you.
JimmXinu is offline   Reply With Quote
Old 11-03-2023, 09:53 PM   #9053
bigwoof
Connoisseur
bigwoof began at the beginning.
 
Posts: 88
Karma: 18
Join Date: Jun 2020
Device: Boox Note Air3, don't use my kindle anymore
Quote:
Originally Posted by JimmXinu View Post
'Update Epub Always' mode should work for you.
Thanks! I thought that would re-download the whole book. awesome!
bigwoof is offline   Reply With Quote
Old 11-03-2023, 10:04 PM   #9054
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,988
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
That's 'Overwrite Always'. There's a wiki page for Update Modes.
JimmXinu is offline   Reply With Quote
Old 11-03-2023, 11:23 PM   #9055
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: 11,027
Karma: 75555555
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
Alongside updating the titlepage (mentioned on the wiki), 'update always' will refresh the ToC if you change the chapter number settins.
ownedbycats is offline   Reply With Quote
Old 11-04-2023, 07:30 AM   #9056
veviara
Junior Member
veviara began at the beginning.
 
Posts: 7
Karma: 10
Join Date: Dec 2021
Device: Kobo Libra 2
Around a year ago I was here asking this question:

Quote:
Originally Posted by veviara View Post
Is there any way to use an already captured group in the conditional for replace_metadata? Or a workaround that I'm missing?

What I'm looking for is something that would allow me to capture a group and then modify it if that same group is also present in another tag.
And got the answer that my best bet was probably combining the entries and then cleaning, which seemed very sensible and v e r y annoying. (I forgot to say thanks back then but thanks for the help!)

After being distracted for a measly year I came back to try and organize my fic library and ran into the same issue and because I still do not like cleanup I came up with something different. My use case is attaching character "specializations" in freeform tags on AO3 to character tags e.g. if there is a freeform tag "dark Harry Potter" and a character tag "Harry Potter" then I would want the freeform tag gone and the character tag to be "Harry Potter.dark".

Instead of messing around with fanficfare for this, I found the Actions Chains plugin and chained together two actions:
  1. Single field edit on character tags, where I compare each character against each tag. If a character is mentioned in a tag I subtract all mentions of the character from that string (essentially/hopefully leaving only the "specialization") and append that string to the character tag.
  2. Single field edit on freeform tags, compare each character and each tag, if a character is mentioned in a tag, remove that tag.

I made it a bit (a lot) more complicated to make it more robust/handle edge cases and it's probably not the cleanest code in the world, but so far it works, I'm pretty happy with the result and I'm posting both to say "case closed" and if anybody else is having a similar issue maybe they can find some inspiration here.

Again, thanks for the help last time and thanks for the plugin in general, it's great.

(As a sidenote: I'm very aware that the time complexity on this thing is... not good. But as I'm only torturing my own computer and not AO3's servers I figure it's a fair tradeoff to the manual work I'd have to do otherwise )
veviara is offline   Reply With Quote
Old 11-04-2023, 08:51 PM   #9057
bigwoof
Connoisseur
bigwoof began at the beginning.
 
Posts: 88
Karma: 18
Join Date: Jun 2020
Device: Boox Note Air3, don't use my kindle anymore
Quote:
Originally Posted by veviara View Post
Around a year ago I was here asking this question:

Instead of messing around with fanficfare for this, I found the Actions Chains plugin and chained together two actions:
I did something very similar myself. Except I wrote AC templates instead of doing single edit chains.

Basically my template
- first combines the tags, relationships, characters, and comments meta data fields into a single temp variable
- runs a bunch of code to extract whatever I want from that single combined variable. e.g. checking if there is an OC mentioned with something like

oc = contains(characters, '\ oc\ |\ oc,|,oc\ |\ oc\.|\(oc\)|original character', ',Type: Original Character', '');

I basically decided a set of about 50 tags (with a few variants for some tags)I actually care about and ignore everything else. Also have a bunch of tags to fix all the ratings and publishers to a set of consistent values and if-then-else clauses to create tags based on book sizes assigned to buckets (>200K, >500K, <10K etc.).

Made it much easier to find books by specific tags on my phone where the previous unstructured literally 100,000 tags (thank you AO3!) was unmanagable.

Thank you once again @capink (author of AC) for providing the chain iterator python code to run an AC over a very large library by breaking the selections into groups of 10 to 100 (you decide) and processing them bit by bit.
bigwoof is offline   Reply With Quote
Old 11-05-2023, 07:29 PM   #9058
Egeria
Junior Member
Egeria began at the beginning.
 
Egeria's Avatar
 
Posts: 2
Karma: 10
Join Date: Aug 2023
Device: Kobo Clara E2
Is there any way to preserve hyperlinks when using FFF with AO3? AO3's native download option (which uses a calibre command to write the epub) results in preserved and select-able links in tags, author ships, etc. But with FFF it's only the text, no link preserved.

TIA,
Egeria
Egeria is offline   Reply With Quote
Old 11-05-2023, 07:38 PM   #9059
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,988
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
No. Well, story URL and author URL are, and series URL when it's there.

I'd have to do some substantial rearchitecting to put links on other metadata types.

And it would really only save you one click--story link, then click the tag.
JimmXinu is offline   Reply With Quote
Old 11-06-2023, 10:07 AM   #9060
culytera
Zealot
culytera ought to be getting tired of karma fortunes by now.culytera ought to be getting tired of karma fortunes by now.culytera ought to be getting tired of karma fortunes by now.culytera ought to be getting tired of karma fortunes by now.culytera ought to be getting tired of karma fortunes by now.culytera ought to be getting tired of karma fortunes by now.culytera ought to be getting tired of karma fortunes by now.culytera ought to be getting tired of karma fortunes by now.culytera ought to be getting tired of karma fortunes by now.culytera ought to be getting tired of karma fortunes by now.culytera ought to be getting tired of karma fortunes by now.
 
Posts: 125
Karma: 295674
Join Date: Jul 2021
Device: iPhone
Got the error "StartTag: invalid element name" on the cover page of a fic because the series name has "<3" and Calibre was getting confused by the "<" and then "</a>". First time I've had to use replace_metadata on seriesHTML to change the characters into a heart HTML code.
culytera 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 08:45 AM.


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