View Single Post
Old 05-16-2015, 06:16 PM   #160
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: 6,999
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
Quote:
Originally Posted by firefoxxy View Post
So I am going to add into the personal.ini
Code:
replace_metadata:
 freeformtags=>memory loss=>amnesia
 genre=>.*has issues=>Drama
 freeformtags=>Jotun!Loki=>Jötunn!Loki
Is that right?

I'll just experiment, but I wouldn't want to blow up my ini-file...
Trying it out and experimenting is how I do it. But you consider using a separate test library.

You might also consider adding ^ and $ so that it only matches those strings, eg:
Code:
replace_metadata:
 freeformtags=>^memory loss$=>amnesia
 genre=>^.*has issues$=>Drama
Otherwise, a tag Bob has issues with authority could become Drama with authority

All of this is only needed because AO3 lets anybody assign any tag they want.

I've been debating adding a feature to look up (and cache) AO3's tag hierarchy, since they've started equating random tags with more general ones (see Humor for example). But it would be quite a database.
JimmXinu is offline   Reply With Quote