View Single Post
Old 09-24-2010, 03:44 PM   #51
kacir
Wizard
kacir ought to be getting tired of karma fortunes by now.kacir ought to be getting tired of karma fortunes by now.kacir ought to be getting tired of karma fortunes by now.kacir ought to be getting tired of karma fortunes by now.kacir ought to be getting tired of karma fortunes by now.kacir ought to be getting tired of karma fortunes by now.kacir ought to be getting tired of karma fortunes by now.kacir ought to be getting tired of karma fortunes by now.kacir ought to be getting tired of karma fortunes by now.kacir ought to be getting tired of karma fortunes by now.kacir ought to be getting tired of karma fortunes by now.
 
kacir's Avatar
 
Posts: 2,835
Karma: 3142045
Join Date: May 2006
Device: PocketBook 360, before it was Sony Reader, cassiopeia A-20
Quote:
Originally Posted by Manichean View Post
Concerning the features discussed, I think it's getting to the point that relevant stuff is included. As I stated in the first paragraphs, I want this to be an introduction explaining some basic concepts. With that in mind, is there still something missing?
I think that at this moment your Introduction is almost perfect. It is a good balance between simplicity and complete description of features. You should consider writing technical books or manuals or technical documentation. Very few people can present such advanced stuff in a concise way that does not sound too complicated to regular users.

As for missing features, there is only one thing that might be useful in the new Bulk editing of metadata, in the experimantal Search and Replace.
All groups in parenthesis can be referenced in the replace field by using escape sequences \1 \2 ... They can and also be referenced this way in search field, I just can't think of situation when *that* would be used in Calibre.

An example. You have set authors field in Calibre to FirstName LastName and you have all metadata for authors_sort in LastName, FirstName and you want to change it to FirstName LastName

In the new Search and Replace dialog, you select Search field author_sort, you search for "([^,]*), (.*)" and the replace string is \2 \1
Now, the author_sort that was London, Jack becomes Jack London.

There is another little thing you might want to add.
Complicated regexps look intimidating, because the syntax is very condensed. But writing regexps is not that difficult if you construct them step by step.
In other words, writing regexps is much easier than it would seem when you just read them.
kacir is offline