Quote:
Originally Posted by kovidgoyal
@dotancohen: The code already removes any edition information provided it is in brackets. I'm not convinced that removing the word edition and its previous word if it is the last word in the title is always safe.
|
It's not. I have a book titled "Beginning Java 2, SDK 1.4 Edition" for instance. That's why I suggest only using the trimmed version iff there was no match on the non-trimmed version. And _never_ alter the title, just use the trimmed title for the lookup of metadata (such as a cover).