View Single Post
Old 09-22-2018, 01:25 PM   #2933
rishidiams
Member
rishidiams began at the beginning.
 
Posts: 11
Karma: 10
Join Date: Jan 2016
Device: Kindle paperwhite
Thank you!

Quote:
Originally Posted by JimmXinu View Post
You have two problems.

First, you can't use != in replace_metadata. include/exclude have that, but not replace_metadata. Maybe someday. See https://github.com/JimmXinu/FanFicFa...eplaceMetadata

However, you can emulate it with a negative look ahead regex. I confess I got it from Stack Trace

Second, note lastUpdated (vs lastupdated).

This works for me:
Code:
[defaults] 
add_to_extra_valid_entries:,myships,mycharacters,rawcharacters,mytags,rawtags,myfandoms,mystatus,lastupdated
include_in_mystatus:status 
include_in_lastupdated:dateUpdated
custom_columns_settings: 
 mystatus=>#status 
 lastupdated=>#updated
replace_metadata: 
 status=>In-Progress=>Abandoned&&lastupdated=>^((?!2018).)*$
(I'm not sure why you have mystatus and lastupdated from this snippet, but I assume you have reasons.)
Thank you! That works perfectly!

Another question: is there a way to force the title column to use title case? For some reason, some AO3 authors think they're e.e. cummings.
rishidiams is offline   Reply With Quote