![]() |
#5221 |
Custom User Title
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 10,998
Karma: 75337983
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
Here's a screenshot of the location.
|
![]() |
![]() |
![]() |
#5222 | |
Enthusiast
![]() Posts: 45
Karma: 10
Join Date: Jan 2021
Device: Kindle Paperwhite 4
|
That's what I tried to use, but for some reason returned me a similarly random list of characters instead of error msg. Although I only tested it with one link, so I need to check it out further, to fully understand what I did wrong. What should the error output look like?
Second thing: Quote:
Code:
replace_metadata: category=>^.*$=>xx category=>^xx$=>yy\,zz |
|
![]() |
![]() |
Advert | |
|
![]() |
#5223 | ||
Plugin Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,980
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
|
Quote:
![]() Characters like ABcd or Harry, Ron, Hermione? One sounds like you are assigning Characters to it, the other sounds like you broke something. ![]() Error output is the same as the messages in the View Log when an update/download finishes. Quote:
When you do a \, split, FFF runs each resulting entry back through the replace_metadata again, so when yy & zz hit the first line, they get changed back into xx. But then the infinite recursion check on the second line bails out, leaving xx, xx which dedups to xx. This is deliberate so that if you have something like: Code:
replace_metadata: freeformtags=>^(.*)/(.*)$=>\1\,\2 freeformtags=>Bob=>Robert freeformtags=>Bill=>William I've added a note about that to the wiki page: https://github.com/JimmXinu/FanFicFa...eplaceMetadata |
||
![]() |
![]() |
![]() |
#5224 |
Custom User Title
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 10,998
Karma: 75337983
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
A question: when dragging and dropping an AO3 "[author] posted chapter X of [fic]" email into Download from URLs, the story link appears twice. Is this expected?
|
![]() |
![]() |
![]() |
#5225 |
Plugin Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,980
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
|
When the email contains both HTML and text MIME types, which is typical.
Drag and drop is less stringent about de-duping than fetch from imap. Try a SpaceBattles email--that will give you four. |
![]() |
![]() |
Advert | |
|
![]() |
#5226 |
Custom User Title
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 10,998
Karma: 75337983
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
Makes sense. I've been subscribing to all my stories for the notifications but realized that drag-and-drop is less fuss than a separate email.
|
![]() |
![]() |
![]() |
#5227 | |
Member
![]() Posts: 12
Karma: 10
Join Date: May 2020
Device: Android Phone
|
Quote:
Alright, I've been testing some things with my "replace_metadata" Problem: It doesn't lie with the brackets, but with something else. An example fic that I used was: https://archiveofourown.org/works/21428569 It has the fandoms "Marvel Cinematic Universe", "Iron Man (Movies)", "The Avengers (Marvel Movies)". My .ini has already lines to replace the last two with the first: replace_metadata: (space)category=>Iron Man \(Movies\)=>Marvel Cinematic Universe (space)category=>The Avengers \(Marvel Movies\)=>Marvel Cinematic Universe The first line works without a problem. But the thing that I don't understand is: The second one replaces the fandom with "Marvel Cinematic Universe (Marvel Cinematic Universe Movies)". I tried fixing it by adding: (space)category=>Marvel Cinematic Universe \(Marvel Cinematic Universe Movies\)=>Marvel Cinematic Universe I removed the lines and added them one-by-one, too. But that doesn't help either. So I tried some more URLs which have several fandoms with brackets, including "The Avengers (Marvel Movies)": https://archiveofourown.org/works/17981474 ("Marvel Cinematic Universe", "Spider-Man: Homecoming (2017)", "The Avengers (Marvel Movies)") https://archiveofourown.org/works/15578055 ("Spider-Man - All Media Types", "Spider-Man: Homecoming (2017)", "Iron Man (Movies)", "The Avengers (Marvel Movies)", "Marvel Cinematic Universe") Again, everything works, except the Avengers one. (My replace_metadata is in the same format as above.) Any Ideas why? |
|
![]() |
![]() |
![]() |
#5228 | |
Plugin Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,980
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
|
Quote:
I can put (only) those two lines in and get the expected behavior. I suspect that you have a line somewhere for "Marvel=>Marvel Cinematic Universe" or something like that that you've forgotten or it's in a different section. When you want to match and replace exactly and only a particular string (and not substrings), put '^' and '$' around the pattern to indicate string beginning and end. IE, this will only replace "Marvel" alone and not inside any other string: Code:
replace_metadata: ^Marvel$=>Marvel Cinematic Universe |
|
![]() |
![]() |
![]() |
#5229 | ||
Enthusiast
![]() Posts: 45
Karma: 10
Join Date: Jan 2021
Device: Kindle Paperwhite 4
|
Quote:
Quote:
|
||
![]() |
![]() |
![]() |
#5230 | |
Member
![]() Posts: 12
Karma: 10
Join Date: May 2020
Device: Android Phone
|
Quote:
Adding ^$ worked! I put it around the problematic fandom and everything's fine now. Thank you! ![]() |
|
![]() |
![]() |
![]() |
#5231 |
Zealot
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 106
Karma: 4486
Join Date: Mar 2020
Location: Netherlands
Device: i-pad
|
Hey Guys,
Okay I’m trying to workout the AO3 tagging mess, and I thought I had the solution but nope. I’ve tried the whole =>^.*[Aa}bcd.*|.*[Bb]aaa.*$=>ABCD thing but it just ends up changing things I don’t want changed. So instead I just want to adjust entire tags, let me give you an example of what I’ve done: So first I make sure to tackle the random naming of the fandoms: category=>^the 100|The 100 \(TV\)|Clexa \(Madi\)|clexa - Fandom|The 100\(Tv Series\)$=>the 100 so far so good Next up characters: characters=>^Abigail "Abby" Griffin$|^Abby$|^Abby Griffin$=>Abigail "Abby" Griffin&&category==the 100 Abby Griffin –e Changes into Abigail "Abby" Griffin which correct (example stories) Spoiler:
But at the same time, this fails: Abby Griffin – Does not change (example stories) Spoiler:
It just all seems so completely random to me, one changes and the other doesn’t. The only clear difference I see is the fandom, but I tackled that one first. So please tell me what am I not getting here? |
![]() |
![]() |
![]() |
#5232 | ||
Plugin Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,980
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
|
Quote:
I will help with specific problems, but I choose not to plow the sea. Quote:
|
||
![]() |
![]() |
![]() |
#5233 | |
Zealot
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 106
Karma: 4486
Join Date: Mar 2020
Location: Netherlands
Device: i-pad
|
![]() Quote:
I've searched and read the thread many times, it how I got as far as I got tbh. And I completely agree with you on the random tagging, how people see it as a positive thing is beyond me. I'd never put my whole .ini file up here it would drive any sane person nuts. But being the OCD type I am I can't help myself but try to create some order into this mess. And I've designed the excel sheet that convert a whole bunch of random bits of text into lines I can put into my .ini file. It kinda works for me. I've just been overlooking the fact I only had " the 100" and not " The 100" (I use both seperately because when I copy in a new one, I have Excel check for duplicate input). I'd been looking for a few days now, between my regular work and homereno in and I just couldn't spot it. So ![]() ![]() |
|
![]() |
![]() |
![]() |
#5234 | |
Custom User Title
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 10,998
Karma: 75337983
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
Quote:
![]() |
|
![]() |
![]() |
![]() |
#5235 | |
Enthusiast
![]() Posts: 45
Karma: 10
Join Date: Jan 2021
Device: Kindle Paperwhite 4
|
Quote:
However, I do think that fandom and character tags should be more structurized, cuz we don't need 10k tags stating same tv show name, just spelled differently. Also, I think there should be character limit on tags, to prevent ppl using them as basically summaries or space for random comments. I mean tags like: "I only finished X the night before getting the idea for this fic, I'm trying, this might be bad, Apologies, I decided to go for it anyway though because why not" are cancer. Needless to say in Calibre I chose limited number of tags that are important for me and excluded everything else. |
|
![]() |
![]() |
![]() |
Tags |
fanfiction |
|
![]() |
||||
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 |