-
Notifications
You must be signed in to change notification settings - Fork 171
MetadataManagement
This page is for users to share their metadata settings with others.
Some users spend considerable time normalizing metadata using replace_metadata
and include/exclude_metadata_pre/post
ini settings.
When adding content to this page, please start with a level 3 header (### Title), a description and then use a code block (indent each line with spaces or one tab) for the ini settings. If those settings are for a specific site, include the appropriate [section]
to indicate that.
You should also separate settings for different functions / fandoms so users can pick and choose more easily.
When taking content from here for your own use, it's up to you to correctly add and combine them to your personal.ini
settings. However, here are a few common pointers.
There are other wiki pages for the details of using replace_metadata
and include/exclude_metadata_pre/post
.
Using add_to_replace_metadata
instead of replace_metadata
lets you do exactly that--add to the replace_metadata
instead of overriding it. That way you can use add_to_replace_metadata
in both site sections and [defaults]
and have both included. Otherwise replace_metadata
from [fanfiction.net]
(for example) will override replace_metadata
from [defaults]
(Using add_to_
with include/exclude_metadata_pre/post
is more complex.)
If you have questions, the best place to ask is the FanFicFare Calibre Plugin Forum.
My Kindle Voyage doesn't correctly list books with Japanese characters. Since I include tags with category
in my title plugboard (search for Calibre Plugboards), I like to remove those characters.
[defaults]
add_to_replace_metadata:
# kindle voyage doesn't list books with extended chars correctly.
/ハイスクールD×D=>
マクロス Frontier [|] =>
<?/?[一-龠々ぁ-んーァ-ヾ★!]+(&[一-龠々ぁ-んーァ-ヾ★!]+)?>?=>
I don't find AO3's non-warnings and 'Tags To Be Added' tag to be useful. This removes them.
[archiveofourown.org]
exclude_metadata_pre:
freeformtags,genre==Other Additional Tags to Be Added
warnings==Creator Chose Not To Use Archive Warnings
warnings==No Archive Warnings Apply
Normalizing the data a bit so that filtering actually works.
category=> (- All Media Types|- Fandom|\(Movies\)|\(Movie [0-9]+\)|\(Comics\)|\(TV\))$=>
characters=>\(mentions of\) =>
characters=> \([Ch]haracter\)=>
characters=> ?\((cameo|briefly|if you squint|sort of)\)=>
characters=> - Character=>
characters=>^Other mentions$=>
ships=>(.*)[/&](.*) \(?[Ff]riendship(?: only)\)?=>\1 & \2
ships=> - Relationship=>
No one has ever said 'I'm looking for a story with exactly one OC, but no more!'
ships_CHARS,characters=>^OC(s|)$=>Original Character
ships_CHARS,characters=>^OFC(s|)$=>Original Female Character
ships_CHARS,characters=>^OMC(s|)$=>Original Male Character
ships_CHARS,characters=>^Original (.*)Character(\(s\)|s|)$=>Original \1Character