Re: [Tracker] Running tracker on an Ubuntu server box?



Hi!

On Tue, Apr 21, 2009 at 12:10 AM, tigerf <tigerf web de> wrote:
Hello from Germany,

Is there somewhere a how-to or is the whole idea simply unrealistic?

 Tracker is designed to index the user data. You'll need some adjustments with the users/accounts/permissions to use tracker in that environment. About files and content, it should work fine.

Background:
I'm currently setting up a LAMP + Samba server to replace a windows box,
which offers thousands of documents to its windows clients via network
shares. I'm using Apache & PHP as a frontend, which translates the
user's web-page input into a commandline using "find". The results are
parsed and returned to the users via HTML pages containing links to the
matching files found.

Tracker has a daemon monitoring changes in the filesystem and updating
its index accordingly, I guess.
 
 yes, It is so
 
Is there an easier way to access
tracker's index via PHP? Some kind of SQL interface may be?

 Tracker offers its API on DBus. There seems to be a php-dbus project [1]; you can start with that.

 You can use d-feet [2] or any other dbus viewer to explore and play with the tracker API. Once you know what queries do you need to do, you can write then in PHP, and then integrate them in your web page.

 You are welcome to ask and participate in the mailing list, or even IRC (#tracker in GIMPnet).

Regards,

Ivan


[1] http://code.google.com/p/php-dbus/
[2] https://fedorahosted.org/d-feet/


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]