View Single Post
Old 11-17-2022, 06:17 PM   #7756
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,155
Karma: 77304081
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
Quote:
Originally Posted by ownedbycats View Post
Question: I have include_in_series:series,collections, and a include_metadata_pre on collections so that it only captures a few specific ones for fic swaps and the like.

I believe that pre means it captures before doing the replace_metadatas. So would it be better practice to do replace_metadata on collections itself?
After some thought: editing collections makes more sense to me. Though if I'm wrong please correct.

Quote:
Originally Posted by ownedbycats View Post
EDIT: Another question: does include_metadata_pre or exclude_metadata_pre run first?

Example: Suppose I have this, so that selected collections are included if there's no series.

Code:
include_metadata_pre:
 collections=~(Collection 1|Collection 2)&&series!~^.*$
But then I also have this, to exclude "Some Series"

Code:
exclude_metadata_pre:
 series=~Some Series
If a book has both "Collection 1" and "Some Series," what should be the intended result?
I found a fic to actually test this on. I ended up with the collection and no series, which is what I had wanted.

Last edited by ownedbycats; 11-17-2022 at 07:19 PM.
ownedbycats is offline   Reply With Quote