User Tools

Site Tools


opac:dynamic_api

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
opac:dynamic_api [2008/12/07 19:57] – created dbsopac:dynamic_api [2022/02/10 13:34] (current) – external edit 127.0.0.1
Line 1: Line 1:
 +======OUTDATED Dynamic OPAC GET parameters======
 +(developed jointly during the LibX for Evergreen hackfest session at Access 2008)
 +
 +NOTE: These instructions are also available in the Evergreen documentation at [[http://docs.evergreen-ils.org/1.6/draft/html/search_url.html]]. In github: [[http://github.com/rsoulliere/Evergreen-DocBook/blob/master/1.6/opac/search_URL.xml]].
 +
 +Template search URL:
 +**hostname**/opac/**en-US**/skin/**default**/xml/rresult.xml?rt=**keyword**&tp=**keyword**&t=**%2Btree%20-nickel**&l=**1**&d=**0**&f=
 +
 +=====Scope to a library hierarchy parent or child=====
 +**l** parameter:
 +  * integer-or-SHORTNAME
 +
 +=====Search type values=====
 +**rt** parameter:
 +  * keyword
 +  * title
 +  * author
 +  * subject
 +  * series
 +
 +=====Sorting===== 
 +In the absence of **s** or **sd** parameter, it defaults to ''relevance''
 +
 +====Sorting types====
 +**s** parameter:
 +  * pubdate
 +  * title
 +  * author
 +
 +====Sort direction====
 +**sd** parameter:
 +  * asc
 +  * desc
 +
 +=====Advanced search (multiple fields)=====
 +Uses **rt=multi**; then prepend search field to the search terms (delimited by a colon) in the **t** parameter:
 +  * tp=&t=keyword%3Afools title%3Arush&av=&rt=multi
 +
 +=====ISBN and ISSN search=====
 +Can only search one at a time:
 +  * rt=isbn&adv=<ISBN>
 +  * rt=issn&adv=<ISSN>
 +
 +=====Call Number search=====
 +http://islandpines.roblib.upei.ca/opac/en-US/skin/default/xml/cnbrowse.xml?cn=pr5655&d=0&l=1
  

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki

© 2008-2022 GPLS and others. Evergreen is open source software, freely licensed under GNU GPLv2 or later.
The Evergreen Project is a U.S. 501(c)3 non-profit organization.