Hi all, I think what Dave is looking for is results in some other format than rendered HTML, for use as an API into a codebase.
For example, consider an eclipse plugin which offers typing suggestions based on known tokens from OpenGrok. Such a plugin could be written by scraping the HTML results - or by hooking into another API of some kind. I think Dave is looking for that other API. -- Jim R. Wilson (jimbojw | trephine.org) On Mon, Sep 21, 2009 at 7:27 AM, Lubos Kosco <Lubos.Kosco at sun.com> wrote: > Dave Purrington wrote: >> >> Fantastic project, loving it. Want more power. >> >> Is there a way for me to get search results in structured format? >> Documentation seems scant (or at least, I can't find it). The features page >> says OpenGrok supports RSS but search results don't provide an RSS link. >> Open search is ok too, although my path through that is less clear, just >> because the format is more obscure. >> > > RSS is supported currently for history log, so if you have a file under SCM > and opengrok recognizes it, you can see at the bottom of the page (yeah, > unfortunate, hopefully we will move it to top of the page) a graphical RSS | > XML FEED button ( http://src.opensolaris.org/source/default/img/rss.png > pointing to e.g. > http://src.opensolaris.org/source/rss/opengrok/trunk/README.txt ) > > feel free to file a bug on feature request for other RSS functionality > on http://defect.opensolaris.org/bz/ in > File a bug / Development / OpenGrok > and/or look on http://opensolaris.org/os/project/opengrok/Issues/ for > existing bugs before > >> Is there some magical configuration > > :-D > >> or query string parameter to get results in a structured format, or do I >> need to resort to another project (Lucene WS, unfortunately is not on a very >> recent version of Lucene, so it doesn't work), or am I in screen scraping >> territory here? Obviously, I want to avoid that last one like the plague. >> > > What is meant by the structured format here ? > > -- > L > >> Thoughts? >> >> Thanks in advance, >> Dave P. >> > > _______________________________________________ > opengrok-discuss mailing list > opengrok-discuss at opensolaris.org > http://mail.opensolaris.org/mailman/listinfo/opengrok-discuss >