Mac Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsOperating SystemsMac Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
Generate data entry and reporting .NET Web apps in minutes, straight from your database. Read our FREE whitepaper “Build Web 2.0 Applications Without Hand-Coding” Download now!
  #1  
Old March 13th, 2006, 12:21 PM
IGC IGC is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Mar 2006
Posts: 12 IGC User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 h 24 m 32 sec
Reputation Power: 0
Accessing spotlight

Edit: I accidentally double-posted this. Sorry!

Hello, I have a question regarding the use of spotlight.

I'm trying to create a mod for Apache, that will use spotlight to get meta-data from the files that are hosted in a server.

I know how to access the meta-data spotlight store by using the command line (mdls) and also how to directly access it using Cocoa, creating the variables that will hold the different attributes, my question is: Is there any way to port cocoa code that uses foundation types to be used and compiled as a c program...

Since Apache mods can only be created using c or Perl, I want to know if there is any way to translate the code I have in cocoa to code in c, so I can directly access the spotlight store.
The workaround is to do an mdls call and parse that data... but obviously that's not the best way to do it.

Is there any solution to this problem? Even if the solution is a c library that will allow me to access the spotlight API, that will be good to, all I want is to be able to access the spotlight meta-data with a c program in the most efficient way.

Thank you.

Last edited by IGC : March 13th, 2006 at 12:23 PM. Reason: Double post

Reply With Quote
Reply

Viewing: Dev Shed ForumsOperating SystemsMac Help > Accessing spotlight


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 3 hosted by Hostway