Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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




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:
http://lists.apple.com/mailman/options/cocoa-dev/email@hidden

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: http://lists.apple.com/mailman/options/cocoa-dev/email@hidden

This email sent to email@hidden
References: 
 >Spotlight -- Metadata importer vs file package containing rtfd files (From: Kirk Kerekes <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.