Google has reached a deal with a publishing group to allow the scanning and publishing of books online - ending a six-year legal battle. A court ruled in 2009 that the search company was in breach of copyright infringement after it digitised a number of French books.