'Spanish Ministry of Culture' book search script patch

Jose Andres Lacarcel Benlloch jalb_listas at ono.com
Thu Sep 28 13:23:29 MDT 2006


Dear Mathias:

I want to thanks you for the script, it is what I was looking for a long 
time.

I have read the thread between you, Leopold Palomo and others about some 
modifications to the script, and playing around  with it and python I 
have made some changes:

1) I have differentiate from authors and translators. Every translator 
ends with the string "tr." so I put then in another custom field called 
"translators". I have found that there are more people in the Ministry 
database that aren't authors, whose names end with the string "sel." and 
are treated like "selectors" ("choosers" or so), mainly in 
recompilations of stories. I don't filter these ones, so they are 
treated as authors.

2) The field language in the Ministry database stores the "published in" 
and "translated from" languages, so I have used the "language" field to 
store the "published in" value and create another custom field called 
"Original Language" for the "translated from" value.

I modified the script using mainly cut&paste methods. I don't know your 
coding standards, so please, modify it to fit your standards. I attach 
the diff file.

Jose Andres.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: ministerio_de_cultura.py.diff
Type: text/x-patch
Size: 5557 bytes
Desc: not available
Url : http://forge.novell.com/pipermail/tellico-users/attachments/20060928/f3ed9225/ministerio_de_cultura.py.bin


More information about the tellico-users mailing list