Re: [Tracker] Web Interface?



On Tue, 2007-07-31 at 20:29 -0400, Bruno Dery wrote:
Hi all,

just wondering is there any web interface for Tracker? I'm considering
of building one myself, I haven't seen any info on such
feature/project right now. Also, may I suggest a name change lol?
"Tracker" returns way too much results on search engines, I had a hard
time finding any info around the web on this due to too many unrelated
search results (tracker is kind of generic). 

Basically I'd like to start with something simple, just a PHP
front-end that runs searches in the background using the current shell
tools (simply using shell command calls and formatting back the
results into something HTMLized). I'm also thinking of implementing an
RSS feed capability on top of it to allow some kind of "search results
feed" functionality (it would provide a self-updating list of items
from search results for any given search string). 

I tried running a search from php's "shell_exec" commands (there's a
few variants, "exec", "shell_exec", etc) though I wasn't successful.
The issue seems to be that the user Apache's running under doesn't
have access to the DBUS Tracker is running under. 

Basically this is the setup I'd like to achieve:
- Create a user "tracker" that is responsible for indexing the content
to be served by Apache/PHP
- Grant access to the different folders that I'd like tracker to index
around my filesystem 
- Make Apache/PHP part of the tracker group
- Have PHP run shell commands in the background to retrieve the list
of documents matching a given query
- Finally find a seamless way to provide web access to these
documents. Most likely, it would be safer to just add these
directories to Apache's config. It would also imply that there would
need to be a translation of the paths to the web equivalent (from
"/home/some/dir" to "var/www/some/dir" for example) 

Does this make sense and is it possible with Tracker??

I guess so


Disclaimer: I'm a Java programmer on Windows and mostly a PHP hacker.
I'm just starting to get familiar with Linux (Ubuntu). Still I think I
can achieve something decent and would be happy to share this with
others. I'd also be really interested if someone else is working on
something similar to either participate or have others participate in
this. 



Someone mentioned before on this list that they are using SOAP to
connect to tracker via web

also raphael slinckx should me a web interface to tracker he wrote using
python






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