Doug Cutting (JIRA) wrote:
[ http://issues.apache.org/jira/browse/NUTCH-42?page=comments#action_62911 ]
Doug Cutting commented on NUTCH-42:
-----------------------------------
I prefer we have a servlet that generates only XML, and then generate HTML from this XML. Do you dislike that approach for some reason?
(sorry for posting directly into the mailing list, but the httpd in front of Jira
returns a Bad Gateway currently. I will repost this later.)
no, not at all. I much more prefer a servlet. I have a servlet which I use for a meta search engine and could change it for the purposes of Nutch.
It currently offers the following three variations:
1) "pure" XML (plus <?xml-stylesheet ... which might be executed on the client side)
2) HTML, but which is generated out of the XML based on a server side XSLT
3) div-like HTML with a CSS
Would that make sense?
enhance search.jsp such that it can also returns XML ----------------------------------------------------
Key: NUTCH-42 URL: http://issues.apache.org/jira/browse/NUTCH-42 Project: Nutch Type: Wish Components: web gui Reporter: Michael Wechner Priority: Trivial Attachments: search.jsp.diff
Enhance search.jsp such that by specifying a parameter format=xml the JSP will return an XML, whereas if no format is being specified then it will return HTML
-- Michael Wechner Wyona Inc. - Open Source Content Management - Apache Lenya http://www.wyona.com http://lenya.apache.org [EMAIL PROTECTED] [EMAIL PROTECTED]
