View Single Post
Old 07-29-2022, 11:28 AM   #7372
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,114
Karma: 77213681
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
Quote:
Originally Posted by culytera View Post
Also is there a way to remove redundant entries in AO3's metadata, namely when the author adds a relationship and friendship tag in Relationship with the same characters. So A/B, A & B but I'd like to only keep A/B in Relationships. Is it also possible to remove mentions of A and B in the Characters metadata if they're already mentioned in Relationships? If not it's fine.
Theoretically, it may be possible to do it with an exclude_metadate and a conditional, similar to this (mostly used for customizable video game player characters):

Code:
[defaults]
exclude_metadata_pre:
## Removes "CharacterName" if Male or Female CharacterName is already present.
 characters=~^CharacterName&&characters=~^(Male|Female) CharacterName
You'd need to be careful with the regexes though - an overly generic regex could go wrong and remove 'A & B' when 'C/D' is present.

Last edited by ownedbycats; 07-29-2022 at 11:31 AM.
ownedbycats is offline   Reply With Quote