Status |
Proposed |
Target Release |
4.1 |
Issue |
|
Original Authors |
Dave Johnson |
Abstract
Roller provides a simple search interface in the form of a search URI that returns search results in HTML format and URIs that can return search results in Atom format. By adding support for OpenSearch, we can make it possible for other applications to discover and use Roller's search services in a programmatic fashion.
Requirements
- Roller must return an OpenSearch descriptor describing Roller's search interface
- Roller search feeds should contain OpenSearch extension elements with additional metadata
Issues
None identified.
Design
OpenSearchServlet.java
- Introduces two new URI structures
- /roller-services/opensearch: returns descriptor for site-wide search (i.e. against main blog)
- /roller-services/opensearch/<weblog-handle> - returns descriptor for weblog search
FeedServlet.java
- Minor refactoring to add two templates for search result feeds
- weblog-search-atom.vm
- site-search-atom.vm
URLModel.java, URLStrategy.java
- New methods for returning URI of OpenSearch descriptor
Comments
Please comment on the Roller dev mailing list.