Re: Web-based Spotlight server search functionality?

2013-11-22 Thread Tabitha McNerney
Thanks Kevin for your suggestion. This seems like a basic but very good
idea (and hopefully not too difficult to put together, I'll have to run
this by my boss). I am kind of surprised that no one else seems to have
done this yet (or so it seems based on the searching I've done so far).

Regards,

-Tabitha



On Thu, Nov 21, 2013 at 4:14 AM, Kevin Walzer k...@codebykevin.com wrote:

 On 11/21/13, 6:38 AM, Tabitha McNerney wrote:

 So my question is, are there any MacPorts that might be useful for, say,
 the ability to search server volumes via a web interface (perhaps an
 Apache module)? I'm still looking around but I haven't found much and
 I'm kind of surprised because it strikes me as a very useful feature.


 This could probably be done by setting up a CGI process to run Spotlight
 queries using mdfind on the server. CGI is very old-school, but I use it as
 the back end for a couple of iPhone apps I've developed, and it works just
 fine. For CGI, you can use Perl, Python, or even shell, I believe--whatever
 you are most comfortable with.

 --Kevin

 --
 Kevin Walzer
 Code by Kevin/Mobile Code by Kevin
 http://www.codebykevin.com
 http://www.wtmobilesoftware.com
 ___
 macports-users mailing list
 macports-users@lists.macosforge.org
 https://lists.macosforge.org/mailman/listinfo/macports-users

___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


Re: Web-based Spotlight server search functionality?

2013-11-21 Thread Kevin Walzer

On 11/21/13, 6:38 AM, Tabitha McNerney wrote:

So my question is, are there any MacPorts that might be useful for, say,
the ability to search server volumes via a web interface (perhaps an
Apache module)? I'm still looking around but I haven't found much and
I'm kind of surprised because it strikes me as a very useful feature.


This could probably be done by setting up a CGI process to run Spotlight 
queries using mdfind on the server. CGI is very old-school, but I use it 
as the back end for a couple of iPhone apps I've developed, and it works 
just fine. For CGI, you can use Perl, Python, or even shell, I 
believe--whatever you are most comfortable with.


--Kevin

--
Kevin Walzer
Code by Kevin/Mobile Code by Kevin
http://www.codebykevin.com
http://www.wtmobilesoftware.com
___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users