Quote:
Originally Posted by ownedbycats
Also: Without feeding a custom category into a temp column, is there any way to see what it outputs? I'm trying to troubleshoot a tagcategory issue (fics keep ending up in Fanfiction.Other rather than Fanfiction.Disney and I'm not sure what step it's breaking down).
|
Also this is something I'm a little stumped on.
Here's a fic.
Code:
replace_metadata:
category=>^Rescuers$=>The Rescuers
## Sorts anything other than a few selected categories into "Fanfiction.Other"
tagscategory=>^(?!.*(Half-Life|Portal|Mass Effect|The Elder Scrolls|Disney|Crossover)).*$=>Other
## Adds Fanfiction. to the beginning of tagcategory
tagscategory=>^(.*)$=>Fanfiction.\1
## Some more tagcategory standardization
## Note that I had more than one fandom in here, I just temporarily removed them to check regexes
tagscategory=>(The Rescuers)=>Disney
# 'add_to_' concats on to existing param, thus the leading comma
add_to_extra_valid_entries:,tagscategory
# tagscategory is a copy category for Fanfiction.category in tags
include_in_tagscategory:category
include_subject_tags: tagscategory
I tracked it down to specifically the line:
tagscategory=>^(?!.*(Half-Life|Portal|Mass Effect|The Elder Scrolls|Disney|Crossover)).*$=>Other
Commenting that out makes it sort into Fanfiction.Disney. However, that line works perfectly fine for all the other listed categories. Any idea why it's breaking down just for Disney?