Quote:
Originally Posted by Clem2605
Hello!
I'm currently in the process of trying to use the 'replace metadata' function to it's full potential, but I have a small question:
Does the order in which FFF replaces the metadata matter for the conditional expressions? And if it does, what is the order?
|
Yes. In the order they're listed. Keep in mind the
section precedence if you put specific replaces under a specific site. Here's an example:
Code:
replace_metadata:
category=>^(Mass Effect - Various Authors|Mass Effect: Paragon Lost|Mass Effect \d|Mass Effect - All Media Types)$=>Mass Effect
category=>^Mass Effect$=>Mass Effect: Andromeda&&characters=~(Ryder|Jaal Ama Darav)
category=>^Mass Effect$=>Mass Effect Trilogy&&characters=~(Garrus|Shepard|Oriana Lawson|Kaidan Alenko|Normandy Crew)
category=>^Mass Effect$=>Mass Effect Trilogy&&publisher==FanFiction.net
Note that the first one combines several AO3 categories into a 'Mass Effect', which is also used by ffnet and older pre-Andromeda AO3 fics.
The next two then splits that 'Mass Effect' into Trilogy and Andromeda depending on characters.
The last one then has any ffnet fics fall back to Trilogy. However, most of the time, they've already been caught by the two character-conditionals replaces.
Your example should work as expected, I think.