View Single Post
Old 05-02-2014, 12:13 PM   #2612
JimmXinu
Plugin Developer
JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.
 
JimmXinu's Avatar
 
Posts: 7,024
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
Quote:
Originally Posted by Jade Aislin View Post
I had to laugh at the info in the replace_metadata. That is exactly what I do. . tons of code tweak. . . though I am trying to cut back.
The first step is admitting you have a problem...

Quote:
Originally Posted by Jade Aislin View Post
...
However, when I tried to use it for the ships, it excluded everything.
...
Now, I've had problems before with ships when I tried attaching the categories I wanted at the beginning and found a way around that by using the ships_LIST.
...
In the case of ships, you're not adding the 'Anime/Manga.Gundam Wing.' until after the list is joined into one string(ships_LIST). You can't use in/exclude on 'Anime/Manga.Gundam Wing.' when processing the ships values because it isn't there yet.

Using in/exclude on ships_LIST isn't very meaningful--the list is already made, the most you can do it either pass or omit the entire list string.

And then there's sort_ships which takes place after in/exclude_metadata_post but before replace_metadata on ships_LIST.

So, you're still on your own for that one. I don't remember (if I ever knew) why you're doing that on ships_LIST. I'd expect something like this to work:
Code:
replace_metadata:
 ships=>^(Heero Yuy|Duo Maxwell)=>Anime/Manga.Gundam Wing.\1&&category=>Gundam Wing
JimmXinu is offline