• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Spotlight introspection
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Spotlight introspection (From: Pierre Bernard <email@hidden>)

  • Prev by Date: Re: Optimizing NSView's drawRect
  • Next by Date: Re: Launch older app
  • Previous by thread: Re: Spotlight introspection
  • Next by thread: Re: Measuring a string
  • Index(es):
    • Date
    • Thread