Giter Club home page Giter Club logo

quick_search-world_cat_discovery_api_searcher's Introduction

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') %>

Additional Result Information

The searchers return the following additional information about each item:

  • "item_format"
    • The "world_cat_discovery_api" searcher will return one of the following:
      • "audio_book"
      • "book"
      • "e_book"
      • "other" - Default if the type cannot be determined
    • The "world_cat_discovery_api_article" searcher always returns "article"

quick_search-world_cat_discovery_api_searcher's People

Contributors

dsteelma-umd avatar mohideen avatar peichman-umd avatar

Watchers

James Cloos avatar  avatar Shian Chang avatar  avatar  avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.