View Single Post
Old 01-18-2021, 05:01 PM   #5222
Ascello
Enthusiast
Ascello began at the beginning.
 
Posts: 45
Karma: 10
Join Date: Jan 2021
Device: Kindle Paperwhite 4
Quote:
Originally Posted by ownedbycats View Post
Here's a screenshot of the location.
That's what I tried to use, but for some reason returned me a similarly random list of characters instead of error msg. Although I only tested it with one link, so I need to check it out further, to fully understand what I did wrong. What should the error output look like?

Second thing:
Quote:
Originally Posted by JimmXinu View Post
Yes, \, (slash-comma) indicates to replace with separate items.
Code:
## You can 'split' one list item into multiple list entries by using
## \, in the replacement string.
##
## Examples:
replace_metadata:
 category=>Bitextual=>M/M\,F/M
Right, so I tried this and I struggle. So, I got some random fics with single category and then wrote this:
Code:
replace_metadata:
 category=>^.*$=>xx
 category=>^xx$=>yy\,zz
I wanted all the fics to end up with two categories: yy and zz. But I only ended up with single xx. What did I do wrong? Here are the fics I tested it with: 1, 2, 3, 4. Again, that is ALL the code I have in personal.ini, so nothing is interacting.
Ascello is offline   Reply With Quote