View Single Post
Old 04-30-2011, 11:53 AM   #164
dotancohen
Enthusiast
dotancohen is on a distinguished road
 
dotancohen's Avatar
 
Posts: 42
Karma: 68
Join Date: Dec 2010
Location: Be'er Sheva
Device: none
Quote:
Originally Posted by kovidgoyal View Post
@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).
dotancohen is offline   Reply With Quote