View Single Post
Old 04-17-2011, 01:17 PM   #16
kiwidude
Calibre Plugins Developer
kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.
 
Posts: 4,731
Karma: 2197770
Join Date: Oct 2010
Location: Australia
Device: Kindle Oasis
Ahh, thx for the pickup on that 2nd regex Kovid - I had it just as a .replace method on my previous plugin and haven't started the testing yet to see I screwed it up

As for the parenthesis - well the logic has been in Goodreads for a while and there was about 700 downloads before I refreshed it recently without anyone beating me up over it . I agree there will always be edge cases where it is a bad idea, but my hope is that is less than the other way around. I know for a fact that stuff like (2010) in a title (which becomes just "2010" causes a problem for goodreads. As does stuff like (omnibus), both of which are fairly common things for people having imported in their library. So "less is more" as far as that website is concerned.

Obviously if your entire title was in parenthesis then it's a problem, and maybe I should handle that special case.

EDIT: Just saw your additional post - thanks for that, just what I was after...
kiwidude is online now   Reply With Quote