On Fri, Mar 28, 2008 at 12:06 AM, Augusto Callejas
> i'd like to retrieve the value of the kMDItemTextContent metadata attribute
> for a given file. the MDItem reference does not provide this
More specifically, the MDItem reference specifically mentions it's not
supported (in the very next sentence after the extract you quoted).
> any idea on how mdimport does this in a programmatic fashion?
It calls the GetMetadataForFile() function in the importer for the
given file. Importers are built on the CFPlugin architecture.
But if it really is a .txt file, you might be better off writing your
own importer ;)
Do not post admin requests to the list. They will be ignored.
Spotlight-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden