Common spec/interface for file metadata
Jamie McCracken
jamiemcc at blueyonder.co.uk
Mon Sep 5 15:57:06 EEST 2005
Jamie McCracken wrote:
> You might also want to have a search method for VFS or apps so
>
> SearchMetaData
> input DBUS_TYPE_STRING s (the search string)
> output DBUS_TYPE_ARRAY as (array of matching file uris)
>
> The search string here should be freetext as in google/beagle but also
> could include some of the metadata type names (enclosed in square
> brackets). EG "[Author]=Jamie" would return all files with Jamie as
> author while just "jamie" would return anything that contained the word
> jamie anywhere (whether its in the metadata or in the indexed contents
> of a file).
>
I should also add that this will also make adding vFolder support to VFS
and filemanagers trivial.
So to create a vfolder for all images/pictures you would just pass
"[MimeType]=image/*" to the search method.
--
Mr Jamie McCracken
http://www.advogato.org/person/jamiemcc/
More information about the xdg
mailing list