Quote:
Originally Posted by JimmXinu
You should have a leading comma(,) in add_to_extra_valid_entries, otherwise mycharacters will be falsely concatenated with whatever is before it. That, I believe, is why it isn't showing up in your custom column.
Code:
[defaults]
add_to_extra_valid_entries:,mycharacters,mytags,mystatus
You are splitting ships, when I suspect you mean to be splitting mycharacters:
Code:
[defaults]
...
replace_metadata:
mycharacters=>(.*)[/&](.*)=>\1 \, \2
...
"Tenth Doctor" isn't becoming "The Doctor.Tenth" for you because you are looking for exactly "Tenth Doctor", which isn't going to match " Tenth Doctor " (note spaces added when you did the mycharacters split) or the Doctor part of "Tenth Doctor/Rose Tyler". Instead I suggest limiting it to mycharacters and ships only, and allowing for "The " in front of it so you don't end up with "The The Doctor.Tenth":
Code:
replace_metadata:
...
mycharacters,ships=>(The )?Tenth Doctor=>The Doctor.Tenth
As for freeformtags "Alternate Universe.Human" vs "Alternate Universe", that's tricky. If you wanted to remove "Alternate Universe.Human" in favor of keeping "Alternate Universe" it would be easy. I can't find a AO3 story by searching for such a tag. Can you provide an example?
All changes together:
|
Thank you for your prompt response!
The lines that I posted from my personal.ini are exactly as they appear in Calibre. I took nothing out except the lines in between. Is it even possible for mycharacters be concatenated with add_to_extra_valid_entries?
Regardless, I tried adding the comma, selected both Characters and nothing in the pull down box on the Custom Columns tab, but I still got the same result as before.
Ships, specifically is the name I'm using to access the Relationship tag on AO3. I'm trying to, first, make it a Character entry; second, split it in two, "Tenth Doctor" and "Rose Tyler"; and, third, change "Tenth Doctor" to "The Doctor.Tenth". I made the changes you suggested, but had no different result.
As for a story with redundant tags, here is an example:
http://archiveofourown.org/works/4057936
which uses both the "Alternate Universe" tag and the "Alternate Universe - All Human" tag.