Quote:
Originally Posted by Snow Sciles
It now works! But the first one doesn't do exactly what I want.
Here is one of the fics
http://archiveofourown.org/works/114...apters/2313663
I want to make anything tagged with Angel or Buffy, be Buffyverse. It currently just turns the Angel tag to Buffyverse, but leaves the Buffy tag there.
|
That story has two category values "Buffy the Vampire Slayer" and "Angel: the Series" The replace_metadata feature operates on each value independently. So while you've replaced Angel, you haven't done anything to the original Buffy category. You want something like this:
Code:
replace_metadata:
category=>Angel: the Series=>Buffyverse
category=>Buffy:? [tT]he Vampire Slayer=>Buffyverse
The second regular expression will match all of these:
Buffy: the Vampire Slayer
Buffy: The Vampire Slayer
Buffy the Vampire Slayer
Buffy The Vampire Slayer
It may or may not be necessary for AO3, but some sites aren't terribly consistent.