search-results-example: Difference between revisions
Jump to navigation
Jump to search
m (Reverted edit of DudaKar, changed back to last version by RobertBachmann) |
No edit summary |
||
Line 38: | Line 38: | ||
</pre> | </pre> | ||
=== OpenSearch === | === OpenSearch === | ||
Revision as of 02:35, 23 June 2007
Search Results - Examples
This page captures common patterns in the return of search results.
The Problem
Many web sites, particularly search engines, return a partial "window" in a much larger dataset of results. We'd like to figure out the optimal way to represent that. Note that this is also the goal of the OpenSearch Response specification, but at this point they don't seem to have specified HTML encodings. In fact, such an encoding is a likely outcome of this effort.
Participants
- Dr. Ernie
- Dimitri Glazkov
Real-World Examples
Links to public web pages, either popular or insightful
Pagination Patterns
Use the [ http://www.w3.org/TR/REC-html40/types.html#type-links HTML] <link rel="prev" /> and <link rel="next" /> for navigation.
Ruby on Rails
The default list view is a table of size 10:
Header
<table> <tr> <th>-ent</th>...
Body
<tr class="vcard"> <td class="-ent">2</td>
[only after I modified it]
<a href="/users/list?page=2">Next page</a>