Re: Spotlight introspection
Re: Spotlight introspection
- Subject: Re: Spotlight introspection
- From: Scott Anguish <email@hidden>
- Date: Thu, 24 Nov 2005 03:35:53 -0500
On Nov 23, 2005, at 4:27 AM, Pierre Bernard wrote:
Hi!
Apple defines a list of common metadata attributes (http://
developer.apple.com/documentation/Carbon/Reference/
MetadataAttributesRef/index.html). They leave it to the developers
of Spotlight importers to define custom attributes as needed.
Is it possible to query the Spotlight server for a list of defined
(or actually used) attributes and their definition?
I.e. While I know the 'kMDItemAuthors' attribute exists, a third-
party program may have defined a 'photographer' attribute that I
could query too. The trouble is finding which attributes exists and
what acceptable values are.
TIA
Pierre Bernard
someone has suggested that you can access the list of metadata
attributes, but that doesn't help much, since you can't tell what
they mean.
the best solution, and what the doc suggests, is to not define tags
like that.. but to instead reuse apple's whereever possible.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden