This repository has been archived! The Kolibri plugin has been moved to the Kolibri monorepo
Kolibri is a Learning Management System / Learning App designed to run on low-power devices, targeting the needs of learners and teachers in contexts with limited infrastructure. See learningequality.org/kolibri for more info.
OpenSearch is a collection of simple formats for the sharing of search results.
The OpenSearch description document format can be used to describe a search engine so that it can be used by search client applications.
The OpenSearch response elements can be used to extend existing syndication formats, such as RSS and Atom, with the extra metadata needed to return search results.
This package provides Kolibri users with the needed endpoints to use a compatible OpenSearch interface.
This plugin has been developed with the following constraints of the Open Search implementations:
- There are not custom parameter in the search urls
- Pagination is not supported
- Results are returned in Atom format
- Current dependencies are only Python >=3.6 compatible
-
Inside your Kolibri virtual environment:
pip install kolibri_opensearch_plugin -
Activate the plugin:
kolibri plugin enable kolibri_opensearch_plugin -
Restart Kolibri.
-
The endpoint to download the Open Search XML descriptor in the usual application descriptor is
http://your_kolibri_server:port/opensearch -
The downloaded descriptor includes the url to be used to perform a search. A typical url would be
http://your_kolibri_server:port/opensearch/opensearch/search/?q=<search term>