View Single Post
Old 03-05-2016, 05:10 PM   #1127
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 firefoxxy View Post
...
The replace_metadata is not working well for this story and I can't figure out what the problem is.

While it does change Canon Snape and Injured Snape correctly it doesn't work with Depressed Snape, Colleague Snape and Harry, Snape Equal status to Harry.

I tried using category instead of genre, but that didn't help either. The rest is the same as in the personal.ini above.
...
Are you aware that you don't have to have a && clause?

Code:
replace_metadata:
# You only want to change this when it's a 'Kid Fic'?
 takesplaces=>^0 - Pre Hogwarts.*$=>0 - Pre Hogwarts&&category=>Kid Fic
# Ditto 'Anger'.
 snapeflavours=>^Angry Snape$=>Angry Severus&&category=>Anger
# Are you sure you wouldn't rather do that across the board?
 snapeflavours=>Snape=>Severus
 snapeflavours=>^Comforting Snape$=>Comforting Severus&&category=>Hurt-Comfort
 snapeflavours=>^Depressed Snape$=>Depressed Severus&&category=>Drama
 snapeflavours=>^Desperate Snape$=>Desperate Severus&&category=>Drama
 snapeflavours=>^Kind Snape$=>Kind Severus&&category=>Fluff
 snapeflavours=>^Loving Snape$=>Loving Severus&&category=>Fluff
 snapeflavours=>^Overly-protective Snape$=>Overly-protective Severus&&category=>Protectiveness
# Again, why the && clause?  The story you mentioned doesn't list that ship.
 category=>Colleague Snape and Harry=>Colleagues&&ships=>Harry & Severus
 category=>^Guardian Snape$=>Guardian/Mentor&&ships=>Harry & Severus
# Missing >
 category=>Snape Equal Status to Harry=>Harry Equal Status to Severus

Last edited by JimmXinu; 03-05-2016 at 05:11 PM. Reason: Want, not what.
JimmXinu is online now   Reply With Quote