Re: [Tracker] Automatically setting tags for Doc.Keywords metadata
- From: Jamie McCracken <jamiemcc blueyonder co uk>
- To: Edward Duffy <eduffy gmail com>
- Cc: Tracker List <tracker-list gnome org>
- Subject: Re: [Tracker] Automatically setting tags for Doc.Keywords metadata
- Date: Wed, 27 Sep 2006 23:38:51 +0100
Edward Duffy wrote:
Hey -
What do you think about this patch? If trackerd finds Doc.Keywords
embeded in a file, it'll automatically adds those keywords to
tracker's tag list. If you like, I can update it for File.Keywords
and Imag.Keywords.
I like the idea...However...
We cant store embedded keywords in the user definable keywords because
we wont be able to update them (IE if the doc's embedded keywords change
how will we know which keywords to remove?)
The solution is to add an embedded flag to the keyword database so we
can automatically delete all embedded keywords on file change without
touching the user definable ones.
I Will look at updating the DB to do this tomorrow and come up with a
tracker_add_embedded_keyword function for you to use.
--
Mr Jamie McCracken
http://jamiemcc.livejournal.com/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]