Thanks a lot. It seems I didn't read the code carefully enough. :) But I'm wondering weather there are any document that talking about such kind of things .
2007/6/2, Lukas Lipka <[EMAIL PROTECTED]>:
Hi! All the files in ~/.beagle/ToIndex get handled by our IndexingServiceQueryable. How this queryable works is that the ToIndex directory is monitored by inotify and every time you drop a file in there, it gets handled by the queryable itself and indexed. Alongside with the actual file to index you drop in a metadata file (sidecar) which defines the URI, HitType, MimeType and properties of the file you want to index. The metadata filename is prefixed with a '.' (so if you want to index " foo.html", the metadata filename is ".foo.html"). Structure of the metadata file: * 1.line - URI * 2.line - HitType * 3. line - MimeType * All following lines are properties in "t:key=value" format Hope that helps! ;-) Best, Lukas
-- Tao Fei (陶飞) My Blog: blog.filia.cn My Summer Of Code Blog: filiasoc.blogspot.com
_______________________________________________ Dashboard-hackers mailing list [email protected] http://mail.gnome.org/mailman/listinfo/dashboard-hackers
