Creating kMDMattsCoolMetadata?
Matt Johnston
pelorus at mac.com
Fri Feb 9 18:17:11 PST 2007
On 9 Feb 2007, at 09:13, Uli Kusterer wrote:
> Well, if you have your own importer and it's only for file types
> that importer claims, you can just declare your own types. The
> Spotlight MDImporter docs cover that nicely.
>
> Otherwise, the only game in town currently seem to be the set/
> getxattr calls, which let you set arbitrary attributes on a file.
> Though I think there was some catch to this, like Spotlight
> removing some of them, or Spotlight not indexing them... something
> along that line, not sure anymore.
>
> A google for "setxattr" should give you what you need.
Hi Uli,
Thanks for that. The issue with Extended Attributes is that Tiger's
Spotlight doesn't index them at all. We've been writing to them and
wondering why Apple would introduce them and then ignore them. Makes
me feel like Spotlight was a little half-baked at release. We'll have
to see what Leopard brings.
In the interim, SpotMeta (http://www.spotmeta.org/) seems to provide
a bridge.
M
More information about the MacOSX-dev
mailing list