Encoding in external applications, entry updates and more...

Raphaël Fischer fischer.tellico at free.fr
Mon Jan 5 06:09:29 MST 2009


 Happy new year everybody !
 
 I am currently (or recently have been) working on various updates of
scripts that will be available soon.
 Therefore I finally ask the few question I was wondering on for ages :
	 
- Regarding encoding, how are sent the parameters to external application ?
I have not understood what encoding uses tellico when sending parameters
neither have I found how to re-encode in the script.
When including accents in arguments, the result obtained by tellico was
never the same as when typing "python script.py args" on the console. 
As a consequence, I have never been able to use accents in query whatever
the script used (mine's or other's). Therefore, it prevents update to work
for entries containing characters with accents (because XML results do
contain accents without issue). Is there an hidden option to specify how to
send arguments to scripts ?
I use UTF-8 encoding as default, last Tellico version, KDE 3.5 on Mandriva
2008.0 or 2009.

- I have recently noticed that update now works for custom and comics
collections, as I was asking for a while ago (
http://www.nabble.com/Updating-entries-does-not-get-information-td11982525.html
here ).
I checked that my scripts (for boardgames and french comics) do work : they
worked fine. Great, thanks ! 
(I did not noticed the information in the changelog.)
How does update now works ?
	
Now my little wishlist :
	
- When updating an entry that returns more than one choice, only title and
description are displayed. Sometimes, it is not sufficient to decide what
choice is relevent. Could it be possible, to replace this small window by
one similar to the reseach window, with access to all information instead of
only title and description (are to choose what "description" should be) ?
	
- Concerning the search interface. Only one argument can be sent to the
script at a time : title or author or whatever. I would find it useful to
enable advanced search to send several arguments to the script.
I have used some trick to allow cross-search all the same, but it is not
very user-friendly. (
http://kde-files.org/content/show.php/bedetheque.com+(comics)+search+script?content=89509
see here )

-- 
View this message in context: http://www.nabble.com/Encoding-in-external-applications%2C-entry-updates-and-more...-tp21290721p21290721.html
Sent from the Tellico mailing list archive at Nabble.com.



More information about the tellico-users mailing list