View Single Post
Old 08-28-2024, 06:10 AM   #9852
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,188
Karma: 77777777
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
Quote:
Originally Posted by Clem2605 View Post
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.

Last edited by ownedbycats; 08-28-2024 at 06:18 AM.
ownedbycats is offline   Reply With Quote