Re: [Tracker] Automatically setting tags for Doc.Keywords metadata



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]