OER Recommender - Example Search Results

Return to home page

To display search results in a page, insert an html snippet like the following one into a web page:

  <script type="text/javascript" src="http://www.folksemantic.com/search/results.pjs?terms=gm"></script>

Use the terms parameter to specify search terms.


Supported Request Parameters

Folksemantic search supports the following optional parameters:

details
Whether or not to display descriptions and addresses in search results when the html snippet (.pjs) format is requested. Supported values are true and false. The default is true.
grain_size
Whether to search all resources or just courses. Supported values are all and course. The default is all.
page
Page of results to display. The default is 1.
per_page
Number of results to display at once. The default is 10.

Example Search Results

See the Javascript


Narrowing Search Results to a Collection

Optionally you narrow a search by specifying the ids of collections to include or exclude. For example:

  <script type="text/javascript" src="http://www.folksemantic.com/search/results.pjs?terms=gm+AND+!feed_id:(496197525+496197527+496603418+1046958763)"></script>

Excludes the collection with the ids 496197525, 496197527, and 496603418 (OpenLearn) from the search. See the Indexed Collections page to find the ids of the collections.

See the Javascript


Styling Search Results

Use the following styles to style the list:

  .oer_recommender_container {}
  .oer_recommender_list {}
  .oer_recommender_hit_link {}
  .oer_recommender_item {}
  .oer_recommender_item_description {}
Deutsch | English | Español | Français | Nederlands | Русский язык | 中文 | 日本語