View Single Post
Old 12-09-2024, 12:37 PM   #10106
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: 7,043
Karma: 4604637
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
And I'm not getting MR notifications again. Joy.

Quote:
Originally Posted by Lemur4000 View Post
DailyAlice, I've been trying to implement this but to no success. What sections do I put each change in?
Thanks,
Sophie
I've deleted the irrelevant items from my personal.ini. I want to try to show how I have it set up. I am trying to feed the fulltags column into clean tags, with the cleantags column using the cleaned up parameters.
First, use [code] tags to preserve spacing when posting here. Some spacing matters.

I've tried to clean up your posted INI code and comment why:
Code:
[defaults]
[archiveofourown.org]

##extra_valid_entries:fandoms, freeformtags, freefromtags,  ao3categories, tags, cleantags, fulltags 
## This basically removes a bunch of other AO3 entries from defaults.ini
## Instead only add your new metadata entries:
add_to_extra_valid_entries:tags, cleantags, fulltags 
## Although it doesn't look like fulltags is used.

cleantags_label:Clean Tags
fulltags_label:Full Tags

## Keeping in order may not work when you get to a Calibre column,
## several kinds auto-sort.
keep_in_order_freeformtags:true
keep_in_order_ships:true

add_to_custom_columns_settings:
 freeformtags=>#fulltags
 fulltags=>#fulltags
 cleantags=>#cleantags

sort_ships:true

## removed 'tags', doesn't appear to be used, 
## and you don't need to worry about freefromtags.
replace_metadata:
#this replaces metadata with what I want
 category,genre,freeformtags=>^[Ff]luff [Aa]nd [Aa]ngst$=>Fluff\,Angst
 category,genre,freeformtags=>^[Aa]ngst [Aa]nd [Hh]umo(u)?r$=>Humor\,Angst


##[defaults]
## Keep in [archiveofourown.org] -- freeformtags and cleantags aren't 
## defined for most sites.  add_to_ in case you have other custom_columns_settings in 
## [defaults].
add_to_custom_columns_settings: 
 freeformtags=>#fulltags
 cleantags=>#cleantags

##include_in_cleantags:fulltags
##I assume you meant to populate full tags:
include_in_fulltags:freeformtags
include_in_cleantags:freeformtags

add_to_exclude_metadata_pre:
##category,genre==Other Additional Tags to Be Added
 warnings==Creator Chose Not To Use Archive Warnings
 warnings==No Archive Warnings Apply
 category,genre,cleantags==Other Additional Tags to Be Added
 category,genre,cleantags=~^I .*
 category,genre,cleantags=~^[Aa]dditional.*
 category,genre,cleantags=~^[Aa]uthor.*
 
add_to_include_metadata_post:
    cleantags==Action/Adventure  
    cleantags==Angst  
    cleantags==Crack  
    cleantags==Drama
Without specific story URLs to test (and what you consider 'wrong' with what you're getting), it's difficult to help much more.
JimmXinu is offline   Reply With Quote