View Single Post
Old 02-04-2021, 03:02 AM   #5349
FiendfyreSnake
Member
FiendfyreSnake began at the beginning.
 
Posts: 19
Karma: 10
Join Date: Feb 2021
Location: West Coast Canada
Device: None
Okay so I setup http://test1.com?sid=12345

Code:
[test1.com]
extracharacters:Harry P.,N. Tonks,Daphne G.,Hermione G.
Code:
custom_columns_settings: 
characterlist=>#calibre_cust_charecters

replace_metadata: 
## Fix and standardize your character names first
 characters=>Harry P\.=>Harry Potter
 characters=>N\. Tonks=>Nymphadora Tonks

## If you'd like, any characters not listed here can be grouped under "minor characters"
characterlist=>^(?!.*(Harry Potter|Nymphadora Tonks)).*$=>Minor Characters

## Then use a conditional to prefix the fandom - you'll need to do each one individually 
## It may also cause weirdness with crossovers
characterlist=>^(.*)$=>Harry Potter.\1&&category==(Harry Potter)

# 'add_to_' concats on to existing param, thus the leading comma
add_to_extra_valid_entries:,characterlist

#characterlist is a copy category for Fandom.character
include_in_characterlist:characters

"#calibre_cust_charecters" is what my column apears as under "Show Calibre Column names" in the fanficfare settings

However what you have there still renames the characters on the title page. So I'll continue to play around

Could the characterlist work in replace metadata?

Code:
replace_metadata: 
## Fix and standardize your character names first
 characterlist=>Harry P\.=>Harry Potter
 characterlist=>N\. Tonks=>Nymphadora Tonks
FiendfyreSnake is offline   Reply With Quote