also, I need <nutchSearch:noResult>msg</nutchSearch:noResult> /Jack
On Apr 8, 2005 12:25 PM, Jack Tang <[EMAIL PROTECTED]> wrote: > Here is my wish: > > <?xml version="1.0"?> > <rss version="2.0" > xmlns:nutchSearch="http://nutch.org/-/spec/nutchsearchrss/1.0/"> > <channel> > <title>Nutch Search: Search Engine</title> > <link>http://nutch.org/search.jsp?q=....</link> > <description>Search results for "Search Engine" at > Nutch.org</description> > <language>en-us</language> > <copyright>&copy;2003-2005, Nutch Org</copyright> > <nutchSearch:queryString>search term</nutchSearch:queryString> > <openSearch:totalResults>allHits</openSearch:totalResults> > <openSearch:startIndex>1</openSearch:startIndex> > <nutchSearch:hitsPerSite>2</nutchSearch:hitsPerSite> > <openSearch:itemsPerPage>10</openSearch:itemsPerPage> > > <nutchSearch:clustering>yes/no</nutchSearch:clustering> > > <item> > <title>html title</title> > <description>summary</description> > <nutch:displayUrl>the url show in result.<nutch:dispalyUrl> > <link>click url</link> > <nutchSearch:mimeType>text/html</nutchSearch:mimeType> > <nutchSearch:cachedUrl>cached.jsp</nutchSearch:cachedUrl> > <nutchSearch:explainUrl>explain.jsp</nutchSearch:explainUrl> > <nutchSearch:anchorsUrl>anchor.jsp</nutchSearch:anchorsurl> > <nutchSearch:moreFromSiteUrl></nutchSearch:moreFromSiteUrl> > </item> > <item> > .... > </item> > <!-- ... --> > > <nutchSearch:pagination> > <nutchSearch:prevPageImg>pre.jpg</nutchSearch:prevPageImg> > <nutchSearch:prevPageUrl></nutchSearch:prevPageUrl> > <nutchSearch:nextPageUrl></nutchSearch:nextPageUrl> > <nutchSearch:nextPageImg>next.jpg</nutchSearch:nextPageImg> > <nutchSearch:windowWidth>Math.min(5,allHits/itemsPerpage + > allHits%itemsPerpage>1?1:0)<nutchSearch:windowWidth> > <nutchSearch:forwardRange>1</nutchSearch:forwardRange> > </nutchSearch:pagination> > </channel> > </rss> > > Regards > /Jack > > On Apr 8, 2005 1:20 AM, Doug Cutting <[EMAIL PROTECTED]> wrote: > > Chris Mattmann wrote: > > > Complete agree here: RSS makes a lot of sense since it's really a standard > > > for representing a "list of items" and their respective metadata. This > > > list > > > of items is basically the main product of the search engine, i.e., it's > > > list > > > of results. I think that if by default search.jsp produced RSS output, > > > rather than HTML, Nutch would also be more attractive as an API to plug in > > > to, and Nutch could be one of the standard components in some system of > > > systems architecture. > > > > Can someone draft a specification of what the Nutch RSS output should > > look like? I think this should be based on what search.jsp currently > > produces. The output should not be internationalized, rather that can > > be done by stylesheets. > > > > In particular, what's needed beyond RSS and A9's OpenSearch extensions? > > Under <channel/> we need navigation urls, for next-page, > > show-all-hits, clustering, etc. Under <item/> we need urls for cache, > > explain, and more-from-site. Is there more? > > > > Once we have some agreement about what should be returned, then we need > > a volunteer to implement it! > > > > Doug > > > ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Nutch-developers mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/nutch-developers
