Spotlight for Mellel (using Mozy)

For all things Mellel

Moderators: Eyal Redler, redlers, Ori Redler

Post Reply
Taman
Read the guide, knows everything
Posts: 49
Joined: Sun Jun 25, 2006 3:23 pm

Spotlight for Mellel (using Mozy)

Post by Taman »

I've just started to try the Mozy backup program that is in beta for mac. Seems like quite a nice solution. Runs an offsite backup for you and provides you with 2Gb of free storage. Nice if you want to keep some of your files remotely backedup. I'm planning to go for the unlimited storage for USD5/month if it ends up working ok. If anyone is interested in signing up, if you use the following URL it apparently gives us both a bit more free storage.

https://mozy.com/?ref=WD43B8

BUT, my question relates to how I use kMDItemContentType for mellel. The standard format is along the lines of:

Code: Select all

kMDItemContentType = "com.apple.iwork.keynote.key"
What would the appropriate syntax to identify all mellel files?

Thanks, Taman
rpcameron
Knows everything, can prove it
Posts: 980
Joined: Wed Oct 26, 2005 12:48 am
Location: IE, CA, USA

Re: Spotlight for Mellel (using Mozy)

Post by rpcameron »

After browsing through Mellel's Info.plist, it looks like it is "com.redlex.mellel.mell" and "com.redlex.mellel.mel" (the property list defines both as extensions that Mellel uses).
— Robert Cameron
Stephen Still
Knows everything, can prove it
Posts: 113
Joined: Thu Oct 20, 2005 2:59 am

Re: Spotlight for Mellel (using Mozy)

Post by Stephen Still »

Using mdls at the command line to list all of the metadata fields for a sample Mellel file of both binary and XML formats, the options are:

Code: Select all

kMDItemContentType             = "com.redlex.mellel.binary.document"
for a Mellel binary, and

Code: Select all

kMDItemContentType             = "dyn.ah62d4qmuhk2x45pfrv0gn5a"
for a Mellel XML (Mellel 2.0+) file. The latter doesn't seem right, however.

Edit: I have checked on a different computer, with similar results for a Mellel XML bundle file. I am not familiar with Mozy, but it may be more sane to use the kMDItemKind, which is:

Code: Select all

kMDItemKind                    = "Mellel Package Document"
for Mellel XML bundles and

Code: Select all

kMDItemKind                    = "Mellel Document"
for Mellel binary files. Certainly running

Code: Select all

mdfind "kMDItemKind = 'Mellel Document' || kMDItemKind = 'Mellel Package Document'"
at the command line finds all of my Mellel files.
-S
Post Reply