Skip to content
No description, website, or topics provided.
Branch: develop
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
app/searchers/quick_search
bin
config
lib
test
.gitignore
.rubocop.yml
.ruby-gemset
.ruby-version
Gemfile
LICENSE
README.md
Rakefile
quick_search-world_cat_discovery_api_searcher.gemspec

README.md

quick_search-world_cat_discovery_api_searcher

WorldCat Discovery API searcher for NCSU Quick Search

Installation

Include the searcher gem in your Gemfile:

gem 'quick_search-world_cat_discovery_api_searcher'

Run bundle install:

bundle install

This gem provides two separate WorldCat Discovery searchers:

  • world_cat_discovery_api_searcher: A searcher that queries WorldCat Discovery for all item types
  • world_cat_discovery_api_article_searcher: A searcher that limits the WorldCat Discovery query to articles and book chapters

The world_cat_discovery_api_article_searcher has special handling to return a direct link to the article (instead of to the WorldCat catalog entry), where possible.

Searcher Configuration

world_cat_discovery_api_searcher

In your search application:

  1. Add the "world_cat_discovery_api" searcher to config/quick_search_config.yml

  2. Copy the config/world_cat_discovery_api_config.yml file into the config/searchers/ directory and fill out the values are appropriate.

  3. Include in your Search Results page

<%= render_module(@world_cat_discovery_api, 'world_cat_discovery_api') %>

world_cat_discovery_api_article

  1. Add the "world_cat_discovery_api_article" searcher to config/quick_search_config.yml

  2. Copy the config/world_cat_discovery_api_article_config.yml file into the config/searchers/ directory and fill out the values are appropriate.

  3. Include in your Search Results page

<%= render_module(@world_cat_discovery_api_article, 'world_cat_discovery_api_article') %>
You can’t perform that action at this time.