View Single Post
Old 05-11-2014, 07:49 PM   #2655
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,024
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
Quote:
Originally Posted by Snow Sciles View Post
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.
JimmXinu is offline