• 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
spotlight, file extension, and UTIs
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

spotlight, file extension, and UTIs


  • Subject: spotlight, file extension, and UTIs
  • From: Anton Leuski <email@hidden>
  • Date: Tue, 3 May 2005 20:41:37 -0700

I have an spotlight plugin that indexes documents with extension ".fb2". These documents come from a UNIX server in zipped format with extension ".fb2.zip". For example "foo.fb2.zip" is an archive of "foo.fb2". I do not want to require the user to uncompress documents after downloading to index them, because my application (that can view those documents) can handle zipped versions just fine (and it saves storage space). So I want my Spotlight plugin to be able to index both .fb2 and .fb2.zip files. BUT! it looks like Mac OS only considers ".zip" to be an extension and not ".fb2.zip" My question is: How can I define a UTI that maps to .fb2.zip? Is there a way to get Spotlight to index .fb2.zip with my plugin? The only solution I found so far is to assign all .zip files to my plugin and then handle only those that have .fb2.zip extension. But this is clearly unacceptable -- I do not want to hijack all .zip files...

Thank you.

-- Anton _______________________________________________
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, file extension, and UTIs
      • From: "Roch M. Comeau" <email@hidden>
  • Prev by Date: Re: 10.3.9 build errors "Carbon headers missing" ??
  • Next by Date: Spotlight w/ HFS Extended Attributes
  • Previous by thread: Re: Spotlight problem
  • Next by thread: Re: spotlight, file extension, and UTIs
  • Index(es):
    • Date
    • Thread