View Single Post
Old 07-05-2020, 05:06 PM   #4275
ownedbycats
Custom User Title
ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.
 
ownedbycats's Avatar
 
Posts: 11,152
Karma: 77304081
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
Hm, I can't seem to get that code working, same fic I tested before. Are there any mistakes I did when putting it in?

Spoiler:
Code:
## This is an example of what your personal configuration might look
## like.  Uncomment options by removing the '#' in front of them.

[defaults]

custom_columns_settings: 
 "N"=>#read
 oneshot=>#fanficstatus

## Some sites also require the user to confirm they are adult for
## adult content.  Uncomment by removing '#' in front of is_adult.
is_adult:true

## If set, an image (regardless of source) will only be used as a
## cover image if it is >= both the dimensions listed here.  When not
## set, any size image will be used.  Note that some sites, like ffnet
## use relatively small images(180,240).
cover_min_size: 50,50

replace_metadata: 
 site=>www.fanfiction.net=>FanFiction.net
 site=>archiveofourown.org=>Archive of Our Own
 author=>^orphan_account$=>Unknown
 author=>\(orphan_account\)=>
 category=>(\(Video Game\)|\([0-9]+\))=>
 category=>(^(?=.*Mass.Effect)(?!.*Mass Effect Trilogy).*|Mass Effect - All Media Types)=>Mass Effect Trilogy
 category=>Sims=>The Sims
 category=>(^(?=.*Elder Scrolls)(?!.*The Elder Scrolls).*|Elder Scrolls V: Skyrim)=>The Elder Scrolls
 category=>(Pocket Monsters \|\ Pokemon - All Media Types)=>Pokémon
 oneshot=>Completed=>Oneshot&&numChapters=>^1$
 tagscategory=>^(?!.*(Half-Life|Portal|Mass Effect|Crossover)).*$=>Other
 tagscategory=>^(.*)$=>Fanfiction.\1
 tagscategory=>(Portal|Half-Life)=>Half-Life & Portal
 tagscategory=>Mass Effect Trilogy=>Mass Effect

add_to_replace_metadata:
 description=><br/>=></p><p>

## Add "Crossover" to genre
add_genre_when_multi_category:Crossover

# 'add_to_' concats on to existing param, thus the leading comma
add_to_extra_valid_entries:,oneshot,tagscategory,crosscat

## fill with genre skipping replace/include/exclude
include_in_crosscat:genre.NOREPL

## only include Crossover in crosscat.  
## Again, incorporate with your existing, if  you have one.
add_to_include_metadata_pre:
 crosscat==Crossover

## remove Crossover from genre.  
## Again, incorporate with your existing, yada yada yada.
add_to_exclude_metadata_post:
 genre==Crossover

## add crosscat to category
## Again, incorporate with your existing, etc.
include_in_category:category,crosscat,

# oneshot is a copy of status because status itself isn't a list.
include_in_oneshot:status

# tagscategory is a copy category for Fanfiction.category in tags
include_in_tagscategory:category

include_subject_tags: tagscategory

generate_cover_settings:
 ${site}=>^FanFiction.net$=>FFNet
 ${site}=>^Archive of Our Own$=> AO3

[archiveofourown.org]
include_in_fandoms:fandoms,crosscat
slow_down_sleep_time:0.5
## Some attributes cause problems for EBook readers.  By default,
## FanFicFare will remove all attributes except the ones specified
## from all tags.  (The only exception is that <img> tags will also
## keep src, alt and longdesc attributes.)
## Example: To add 'style', 'title' and 'align' to the list to keep,
## in your personal.ini [defaults] put:
add_to_keep_html_attrs:,style,title,align

[https://archiveofourown.org/works/21814324]
add_to_replace_metadata_filelist:file:///D:/Documents/Miscellany/ReplaceNBSP.txt
ownedbycats is offline   Reply With Quote