Skip to content
This repository has been archived by the owner on Oct 18, 2020. It is now read-only.
/ opensearchclient Public archive

Client library for talking to OpenSearch services from the sapphire framework, and displaying search results in SilverStripe templates.

License

Notifications You must be signed in to change notification settings

chillu/opensearchclient

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OpenSearch Client and Aggregator

Introduction

Client library for talking to http://www.opensearch.org/ servers and displaying search results in SilverStripe templates. Does not generate search results itself, but rather present results from other opensearch providers. Supports multiple OpenSearch sources.

The library follows the [http://www.opensearch.org/Specifications/OpenSearch/1.1](OpenSearch 1.1 specification).

Maintainer

  • Ingo Schommer (ingo at silverstripe dot com)

Installation

  • Register one or more OpenSearch description URLs in your mysite/_config.php:

     OpenSearchController::register_description('ssdoc', new OpenSearchDescription('http://doc.silverstripe.org/lib/exe/opensearch.php'));
    
  • Add a route to the OpenSearchController (the 'opensearch' URL prefix is customizeable):

     Director::addRules(50, array(
     	'opensearch//$Action/$ID' => 'OpenSearchController'
     ));
    

About

Client library for talking to OpenSearch services from the sapphire framework, and displaying search results in SilverStripe templates.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages