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 revision Previous revision
Next revision
Previous revision
backend-devel:supercat:examples [2010/10/20 12:41]
rsoulliere
backend-devel:supercat:examples [2022/02/10 13:34] (current)
Line 1: Line 1:
 ======SuperCat and Feed Examples====== ======SuperCat and Feed Examples======
  
-**NOTE:** This documentation is also available in the Evergreen documentation at http://docs.evergreen-ils.org/1.6/draft/html/. In github: http://github.com/rsoulliere/Evergreen-DocBook/blob/master/1.6/development/supercat.xml. +**NOTE:** This documentation is also available in the Evergreen documentation at https://docs.evergreen-ils.org/2.0/draft/html/supercat.html 
 +<del>In github: http://github.com/rsoulliere/Evergreen-DocBook/blob/master/1.6/development/supercat.xml.</del>(no longer available)
  
 =====Record types===== =====Record types=====
Line 14: 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 38: 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 90: 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:
Line 98: Line 117:
   http://<hostname>/opac/extras/supercat/browse/<format>/call_number/<org_unit>/<call_number>   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'>+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 127: 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.1287592878.txt.gz · Last modified: 2022/02/10 13:33 (external edit)

© 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.