View Single Post
Old 12-16-2024, 03:37 PM   #10127
Lemur4000
Junior Member
Lemur4000 began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Dec 2024
Device: Kindle
Quote:
Originally Posted by JimmXinu View Post
And I'm not getting MR notifications again. Joy.


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.
Thank you! This was my first time posting so I appreciate the formatting tip.
I'm trying to clean up the "fulltags" and pipe the cleaned version to "cleantags". And then only have the tags listed under 'add_to_include_metadata_post:' be included in "cleantags". How can I adjust the ini to achieve this?
Lemur4000 is offline   Reply With Quote