Re: Spotlight -- Metadata importer vs file package containing rtfd files
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