7 messages in com.googlegroups.google-desktop-developerRe: Questions about HandleFile / GDS API
FromSent OnAttachments
maf-soft19 Jun 2005 03:14 
Aaron Feuer19 Jun 2005 10:09 
maf-soft20 Jun 2005 01:02 
Aaron Feuer20 Jun 2005 20:18 
maf-soft21 Jun 2005 00:45 
Aaron Feuer21 Jun 2005 15:31 
maf-soft22 Jun 2005 13:47 
Subject:Re: Questions about HandleFile / GDS API
From:maf-soft (mori@gmail.com)
Date:06/21/2005 12:45:59 AM
List:com.googlegroups.google-desktop-developer

When a new version of your plug-in is installed, don't re-register it, Simply close GDS and replace the file, Re-registering a plugin of this sort is unnecessary and, as you point out, WILL result in duplicate results.

ok, good workaround for this. but a new version of my plugin would not affect older conversations. it would be nice if an "index update" could really *update* the contents of the index to the current state.

Alternatively, keep an internal record of what information was already handled.

yes, it really seems i have to do it this way, but i don't like it very much: - it will result in a lot of information which is useless most of the time. - the information will always grow, i cannot clean it up. - the information is duplicate, since it is already contained in gds. - when the user removes and reinstalls gds, he also has to delete that information (he could forget that). - performance will decrease. - ...

in my optionion that's all just workarounds, and the gds api is not exactly sufficient :)

for currently running conversations, it's ok that i have to store information until where inside the file i have indexed. but for older history files i would like not to keep track of them since they cannot change anymore.

fyi: every chat message is sent to gds as one event, not the complete conversation. otherwise it could not be indexed while it still runs.

fyi: the IM i want to index (yahoo messenger) stores the history in one file per day and buddy (different folders for different buddies).

-moritz