On Apr 13, 2005, at 3:06 PM, Michael Wechner wrote:

Michael Giles wrote:

Zak,

Doing such a thing is pretty simple. If you take the Nutch sample, there is a JSP page which handles queries and renders the search results.


I think it would make sense to enhance the current JSP by introducing a "format" parameter, e.g.

nutch?format=xml

whereas default could be HTML (or XHTML)

It seems to me that the following formats would make sense most:

XML (plus an XSLT attached, e.g. http://search.msn.ch/results.aspx?q=Nutch&format=rss&FORM=ZZRE)

and a

(X)HTML like XML with a CSS attached.

If people are interested then I could try to provide such a patch.

That's really more appropriate to the Nutch list, not the Lucene user list.


Re the XSLT one then could offer various XSLTs in order to cover the various RSS
and Atom formats (and other "XMLs" of course).

Earlier today I saw Doug commit a servlet to Nutch which serves up the A9 OpenSearch RSS format. Again, best to take the Nutch related discussions to its list.


        Erik


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to