View Single Post
Old 04-30-2015, 10:40 AM   #114
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,034
Karma: 4604637
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
Quote:
Originally Posted by Tanjamuse View Post
I've come across a very odd problem. This search term no longer works for me:

As far as I can see I haven't done anything wrong, I've attached screenshots of my custom column and how it's configured in FFF.

Here's a link for a file it doesn't recognize as being incomplete:

http://archiveofourown.org/works/3697334
It correctly comes up as In-Progress for me, on the title page inside, in tags and in a y/n custom column. Does it show status correctly on the title page inside the ebook? That will tell if it's something in replace_metadata or after that.
Quote:
Originally Posted by Tanjamuse View Post
I also have a problem with some of my replaced metadata.

I have this in my personal.ini:



But when I download stories, it says: The The Kane Chronicles.

Another one is:



This one changes to: Gil Gil Grissom.

What can I have done wrong?
(Please use \[code\] markup around your ini blocks. When you use quote they are removed when others quote your message.)

chrnno is correct that the ordering is tripping you up.

However, I believe I've explained before that you can use the real power of regular expressions to reduce the number of replacement lines you have considerably. For example, I think these two lines will match all of the cases you showed:
Code:
 category=>^.*Kane Ch?ronicles.*$=>The Kane Chronicles

 characters=>^.*Grisso[mn]$=>Gil Grissom
If you're planning to continue adding a line to exactly match every variation you come across, I suggest using a leading '^' (beginning of string marker) as well as the '$' (end of string marker) that you're already using. That should help with your 'Gil Gil' and 'The The' issues regardless of order.
JimmXinu is offline   Reply With Quote