This is DEFINITELY a great suggestion. We've had to hack, re-hack the page
multiple times and do a manual update whenever a new change is made.
 

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Doug
Cutting (JIRA)
Sent: Thursday, April 07, 2005 12:43 PM
To: [email protected]
Subject: [Nutch-dev] [jira] Commented: (NUTCH-39) pagination in search
result

     [
http://issues.apache.org/jira/browse/NUTCH-39?page=comments#action_62374 ]
     
Doug Cutting commented on NUTCH-39:
-----------------------------------

This kind of thing is another argument for XML-based search results.  Nearly
every Nutch application ends up hacking search.jsp to get the look and feel
they want.  Thus each improvement to it must be manually merged into
everyone's own versions.  If instead of generating HTML, search.jsp
generated, e.g., OpenSearch RSS
(http://opensearch.a9.com/spec/opensearchrss/1.0/) then this could be added
under the <channel/> element as a <nutch:navigation/> element, e.g.:

<channel>
  ...
  <openSearch:totalResults>4230000</openSearch:totalResults>
  ... 
  <item>...</item>
  <item>...</item>
  ...
  <nutch:navigation>
    <previous>search.jsp?...</previous>
    <next>search.jsp?...</previous>
    <range label="11-20">search.jsp?...</range>
  </nutch:navigation>
</channel>

Or somesuch.  Then folks can use stylesheets to generate the look and feel
they like for this.  When a new feature is added to Nutch, folks can
optionally update their stylesheets, but they no longer need to copy all the
program logic into their pages, as they do now.  Thoughts?

> pagination in search result
> ---------------------------
>
>          Key: NUTCH-39
>          URL: http://issues.apache.org/jira/browse/NUTCH-39
>      Project: Nutch
>         Type: Improvement
>   Components: web gui
>  Environment: all
>     Reporter: Jack Tang
>     Priority: Trivial

>
> Now in nutch search.jsp, user navigate all search result using "Next"
button. And google like pagination will feel better.

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira



-------------------------------------------------------
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




-------------------------------------------------------
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

Reply via email to