User Tools

Site Tools


backend-devel:supercat:examples

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
backend-devel:supercat:examples [2008/11/12 22:18] mikerbackend-devel:supercat:examples [2020/10/26 09:12] – [SuperCat and Feed Examples] katiegmartin
Line 1: Line 1:
 ======SuperCat and Feed Examples====== ======SuperCat and Feed Examples======
  
 +**NOTE:** This documentation is also available in the Evergreen documentation at https://docs.evergreen-ils.org/2.0/draft/html/supercat.html. 
 +In github: http://github.com/rsoulliere/Evergreen-DocBook/blob/master/1.6/development/supercat.xml. 
  
 =====Record types===== =====Record types=====
Line 13: Line 15:
 Similar to the OCLC xISBN service, Evergreen can return a list of related records based on its oISBN algorithm: Similar to the OCLC xISBN service, Evergreen can return a list of related records based on its oISBN algorithm:
  
-  http://<hostname>/opac/extras/osibn/<ISBN>+  http://<hostname>/opac/extras/oisbn/<ISBN>
  
-For example, http://dev.gapines.org/opac/extras/oisbn/0439136350 returns:<code xml><idlist metarecord="302670">+For example, http://gapines.org/opac/extras/oisbn/0439136350 returns:<code xml><idlist metarecord="302670">
   <isbn record="250060">0790783525</isbn>   <isbn record="250060">0790783525</isbn>
   <isbn record="20717">0736691316</isbn>   <isbn record="20717">0736691316</isbn>
Line 37: Line 39:
   http://<hostname>/opac/extras/supercat/retrieve/<format>/<record-type>/<bib-ID>   http://<hostname>/opac/extras/supercat/retrieve/<format>/<record-type>/<bib-ID>
  
-For example, http://dev.gapines.org/opac/extras/supercat/retrieve/mods/record/555 returns:<code>+For example, http://gapines.org/opac/extras/supercat/retrieve/mods/record/555 returns:<code>
 <mods:modsCollection version="3.0"> <mods:modsCollection version="3.0">
   <mods:mods xsi:schemaLocation="http://www.loc.gov/mods/ http://www.loc.gov/standards/mods/mods.xsd">   <mods:mods xsi:schemaLocation="http://www.loc.gov/mods/ http://www.loc.gov/standards/mods/mods.xsd">
Line 89: Line 91:
 //feed-type// can be one of atom, html, htmlholdings, marcxml, mods, mods3, or rss2. //feed-type// can be one of atom, html, htmlholdings, marcxml, mods, mods3, or rss2.
  
-For example, http://dev.gapines.org/opac/extras/feed/freshmeat/atom/biblio/import/10/2008-01-01+Example: http://gapines.org/opac/extras/feed/freshmeat/atom/biblio/import/10/2008-01-01
  
 +=====Return a feed or page of recently created items=====
  
 +You can generate a similar list, with the added ability to limit by Org Unit, using the item-age browse axis.
 +
 +To produce an RSS feed by item date rather than bib date, and to restrict it to a particular system within a consortium:
 +
 +Example: http://gapines.org/opac/extras/browse/atom/item-age/ARL-BOG/1/10
 +
 +  * //ARL-BOG// should be the short name of the org unit you're interested in
 +  * //1// is the page (since you are browsing through pages of results)
 +  * //10// is the number of results to return per page
 +
 +Modifying the 'atom' portion of the URL to 'atom-full' will include catalog links in the results: 
 +
 +Example: http://gapines.org/opac/extras/browse/atom-full/item-age/ARL-BOG/1/10
 +
 +Modifying the 'atom' portion of the URL to 'html-full' will produce an HTML page that is minimally formatted: 
 +
 +Example: http://gapines.org/opac/extras/browse/html-full/item-age/ARL-BOG/1/10
 =====Browse records===== =====Browse records=====
 SuperCat can browse records in HTML and XML formats: SuperCat can browse records in HTML and XML formats:
-  * http://<hostname>/opac/extras/supercat/browse/<format>/call_number/<org_unit>/<call_number> 
  
-For example, http://dev.gapines.org/opac/extras/browse/xml/call_number/-/GV returns:<code xml><hold:volumes xmlns:hold='http://open-ils.org/spec/holdings/v1'>+  http://<hostname>/opac/extras/supercat/browse/<format>/call_number/<org_unit>/<call_number> 
 + 
 +For example, http://gapines.org/opac/extras/browse/xml/call_number/-/GV returns:<code xml><hold:volumes xmlns:hold='http://open-ils.org/spec/holdings/v1'>
   <hold:volume id="tag:open-ils.org,2008:asset-call_number/130607" lib="FRRLS-FA" label="GUTCHEON BETH">   <hold:volume id="tag:open-ils.org,2008:asset-call_number/130607" lib="FRRLS-FA" label="GUTCHEON BETH">
     <act:owning_lib id="tag:open-ils.org,2008:actor-org_unit/111" name="Fayette County Public Library"/>     <act:owning_lib id="tag:open-ils.org,2008:actor-org_unit/111" name="Fayette County Public Library"/>
Line 125: Line 146:
   http://<hostname>/opac/extras/supercat/formats/<record-type>   http://<hostname>/opac/extras/supercat/formats/<record-type>
  
-For example, http://dev.gapines.org/opac/extras/supercat/formats/record returns:<code xml>+For example, http://gapines.org/opac/extras/supercat/formats/record returns:<code xml>
 <formats> <formats>
  
backend-devel/supercat/examples.txt · Last modified: 2022/02/10 13:34 by 127.0.0.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.