• 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 -- Metadata importer vs file package containing rtfd files
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Spotlight -- Metadata importer vs file package containing rtfd files


  • Subject: Re: Spotlight -- Metadata importer vs file package containing rtfd files
  • From: Vince DeMarco <email@hidden>
  • Date: Tue, 3 May 2005 08:43:27 -0700


On May 2, 2005, at 2:58 PM, Kirk Kerekes wrote:

I have an application whose document format is a file-package with a proprietary extension containing multiple stock .rtfd files.

I would like for Spotlight to be able to find these standard documents without needing to write a metadata importer for them. The handiest thing would be some sort of attribute or flag that simply said "look inside this package instead of treating it as an opaque file". But I can't seem to find this concept in the docs anywhere.

Does SpotLight use/respect filter services? If I create a NSIdentity filter for my document "file" that equates it to a type of package (like rtfd) that Spotlight, et al are happy to search inside, should Spotlight then index the contents of my documents? (assuming, of course, that I make the inside of the package look at least a little like a RTFD file)



No this will not work. (Spotlight knows nothing about filter services)

Spotlight does not go into packages at all.

Basically you will have to write a plugin for you file-package that will also index the rtfd files stored within.

Vince

_______________________________________________
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


_______________________________________________ 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 -- Metadata importer vs file package containing rtfd files
      • From: Ali Lalani <email@hidden>
References: 
 >Spotlight -- Metadata importer vs file package containing rtfd files (From: Kirk Kerekes <email@hidden>)

  • Prev by Date: Re: Newbie: Resizing an NSImage using it's NSImageRep
  • Next by Date: Re: Cocoa Technologies Back-Story?
  • Previous by thread: Re: Spotlight -- Metadata importer vs file package containing rtfd files
  • Next by thread: Re: Spotlight -- Metadata importer vs file package containing rtfd files
  • Index(es):
    • Date
    • Thread