View Single Post
Old 07-18-2023, 10:29 AM   #8660
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: 7,045
Karma: 4604637
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
Quote:
Originally Posted by chicleeblair View Post
What I’d like is this:
1. If a fic has both ships a/b and a&b, I’d like to only have a/b show up.

2. if ships are A/B and B&c, I’d want a/b, c in the tags
I sort of know how to start this one. if you replace the “&" with “," you get a/b, b, c. I’d still have to go in and take out the duplicate b.
As described, I think that may be beyond FFF's capability.

For 1 the best I can think of is to not differentiate / and & ships anymore. Replace & with / (or both with a different char).

Anything operating on ships_LIST bumps into the issue of a/b and a&b possibly having a&c appear in between.

For 2 your partial actually gives you "a/b", "b , c". (Internally, metadata entries are lists of strings until saved.)

It's only by an accident of alphabetization that the 'b's are adjacent. "a/x", "b/c", "x&y" => "a/x", "b/c", "x , y"

Quote:
Originally Posted by chicleeblair View Post
I’ve figured out excluding character tags if they are already in ships, which is wonderful.
That case, if you assume that every char mentioned in ships is also in characters, wouldn't you get basically what you want by just eliminating all & ships?
JimmXinu is offline   Reply With Quote