• 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 importer question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Spotlight importer question


  • Subject: Re: Spotlight importer question
  • From: Hamish Allan <email@hidden>
  • Date: Thu, 2 Feb 2006 12:48:49 +0000


On Thu, 2 Feb 2006 11:01:54 +0100, Raphael <email@hidden> wrote:


but how made this apple with keynote or pages bundles?
You can use a mp3 in pages bundle or graphics and if your search for that graphics
spotlight will result the pages bundle!!

I think Scott means it's not supported; it's certainly possible. At the very worst, in your mdimporter you could create NSTasks which run "mdimport -d2 bundledfile" and parse the results. You can presumably do better by creating an MDItem for the bundled files to get their type, finding the mdimporter for that type (doing whatever "mdimport - d4" does), loading that mdimporter as a bundle and calling GetMetadataForFile() yourself.


You might want to ask this question on the Spotlight-dev mailing list. Ben Summers (http://www.fluffy.co.uk/spotmeta/) has previously posted to that list and he has done much more difficult things with mdimporters!

Best wishes,
Hamish


_______________________________________________ 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
  • Follow-Ups:
    • Re: Spotlight importer question
      • From: Raphael <email@hidden>
  • Prev by Date: Re: How to do multilanguage support
  • Next by Date: Re: Spotlight importer question
  • Previous by thread: Re: Spotlight importer question
  • Next by thread: Re: Spotlight importer question
  • Index(es):
    • Date
    • Thread