Clean up 2.1 branch.
[Evergreen-DocBook.git] / development / supercat.xml
diff --git a/development/supercat.xml b/development/supercat.xml
deleted file mode 100644 (file)
index 484651b..0000000
+++ /dev/null
@@ -1,163 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>\r
-<chapter xml:id="supercat" xmlns="http://docbook.org/ns/docbook" version="5.0" xml:lang="EN"\r
-    xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:xlink="http://www.w3.org/1999/xlink">\r
-       <info>\r
-               <title>SuperCat</title>\r
-       </info>\r
-       <section xml:id="usingsupercat">>\r
-               <title>Using SuperCat</title> \r
-       <indexterm><primary>SuperCat</primary></indexterm>\r
-               <para>SuperCat allows Evergreen record and information retrieval from a web browser using a based on a number of open web standards and formats. The following record types are \r
-               supported:</para>\r
-               <itemizedlist>\r
-                       <listitem>isbn</listitem>\r
-                       <listitem>metarecord</listitem>\r
-                       <listitem>record</listitem>\r
-               </itemizedlist>\r
-               <simplesect>\r
-                       <title>Return a list of ISBNs for related records</title>\r
-                       <indexterm><primary>SuperCat</primary><secondary>ISBNs</secondary></indexterm>\r
-                       <para>Similar to the OCLC xISBN service, Evergreen can return a list of related records based on its oISBN algorithm:</para>\r
-                       <para><uri>http://&lt;hostname&gt;/opac/extras/osibn/&lt;ISBN&gt;</uri></para>\r
-                       <para>For example, <uri>http://dev.gapines.org/opac/extras/oisbn/0439136350</uri> returns:</para>\r
-<screen>\r
-&lt;idlist metarecord="302670"&gt;\r
-&lt;isbn record="250060"&gt;0790783525&lt;/isbn&gt;\r
-&lt;isbn record="20717"&gt;0736691316&lt;/isbn&gt;\r
-&lt;isbn record="250045"&gt;0790783517&lt;/isbn&gt;\r
-&lt;isbn record="199060"&gt;9500421151&lt;/isbn&gt;\r
-&lt;isbn record="250061"&gt;0790783495&lt;/isbn&gt;\r
-&lt;isbn record="154477"&gt;0807286028&lt;/isbn&gt;\r
-&lt;isbn record="227297"&gt;1594130027&lt;/isbn&gt;\r
-&lt;isbn record="26682"&gt;0786222743&lt;/isbn&gt;\r
-&lt;isbn record="17179"&gt;0807282316&lt;/isbn&gt;\r
-&lt;isbn record="34885"&gt;0807282316&lt;/isbn&gt;\r
-&lt;isbn record="118019"&gt;8478885196&lt;/isbn&gt;\r
-&lt;isbn record="1231"&gt;0738301477&lt;/isbn&gt;\r
-&lt;/idlist&gt;\r
-</screen>\r
-                </simplesect>\r
-                <simplesect>\r
-                       <title>Return records</title>\r
-                       <indexterm><primary>SuperCat</primary><secondary>records</secondary></indexterm>\r
-                       <para>SuperCat can return records and metarecords in many different formats (see <xref linkend='supportedsupercatformats' /></para>\r
-                       <para><uri>http://&lt;hostname&gt;/opac/extras/supercat/retrieve/&lt;format&gt;/&lt;record-type&gt;/&lt;bib-ID&gt;</uri></para>\r
-                       <para>For example, <uri>http://dev.gapines.org/opac/extras/supercat/retrieve/mods/record/555</uri> returns:</para>\r
-<screen>\r
-&lt;mods:modsCollection version="3.0"&gt;\r
-       &lt;mods:mods xsi:schemaLocation="http://www.loc.gov/mods/ http://www.loc.gov/standards/mods/mods.xsd"&gt;\r
-               &lt;titleInfo&gt;\r
-                       &lt;title&gt;More Brer Rabbit stories /&lt;/title&gt;\r
-               &lt;/titleInfo&gt;\r
-               &lt;typeOfResource&gt;text&lt;/typeOfResource&gt;\r
-               &lt;originInfo&gt;\r
-                       &lt;place&gt;\r
-                               &lt;code authority="marc"&gt;xx&lt;/c0de&gt;\r
-                       &lt;/place&gt;\r
-                       &lt;publisher&gt;Award Publications&lt;/publisher&gt;\r
-                       &lt;dateIssued&gt;c1982, 1983&lt;/dateIssued&gt;\r
-                       &lt;dateIssued encoding="marc" point="start"&gt;1983&lt;/dateIssued&gt;\r
-                       &lt;dateIssued encoding="marc" point="end"&gt;1982&lt;/dateIssued&gt;\r
-                       &lt;issuance&gt;monographic&lt;/issuance&gt;\r
-                       &lt;/originInfo&gt;\r
-               &lt;language authority="iso639-2b"&gt;eng&lt;/language&gt;\r
-               &lt;physicalDescription&gt;\r
-                       &lt;form authority="marcform"&gt;print&lt;/form&gt;\r
-                       &lt;extent&gt;unp. : col. ill.&lt;/extent&gt;\r
-               &lt;/physicalDescription&gt;\r
-               &lt;note type="statement of responsibility"&gt;ill. by Rene Cloke.&lt;/note&gt;\r
-               &lt;subject authority="lcsh"&gt;\r
-                       &lt;topic&gt;Animals&lt;/topic&gt;\r
-                       &lt;topic&gt;Fiction&lt;/topic&gt;\r
-               &lt;/subject&gt;\r
-               &lt;subject authority="lcsh"&gt;\r
-                       &lt;topic&gt;Fables&lt;/topic&gt;\r
-               &lt;/subject&gt;\r
-               &lt;recordInfo&gt;\r
-                       &lt;recordContentSource&gt;(BRO)&lt;/recordContentSource&gt;\r
-                       &lt;recordCreationDate encoding="marc"&gt;930903&lt;/recordCreationDate&gt;\r
-                       &lt;recordChangeDate encoding="iso8601"&gt;19990703024637.0&lt;/recordChangeDate&gt;\r
-                       &lt;recordIdentifier&gt;PIN60000007 &lt;/recordIdentifier&gt;\r
-               &lt;/recordInfo&gt;\r
-       &lt;/mods:mods&gt;\r
-&lt;/mods:modsCollection&gt;\r
-</screen>\r
-                </simplesect>\r
-                <simplesect>\r
-                       <title>Return a feed of recently edited or created records</title>\r
-                       <indexterm><primary>SuperCat</primary><secondary>recent records</secondary></indexterm>\r
-                       <para>SuperCat can return feeds of recently edited or created authority and bibliographic records:</para>\r
-                       <para><uri>http://&lt;hostname&gt;/opac/extras/feed/freshmeat/&lt;feed-type&gt;/[authority|biblio]/[import|edit]/&lt;limit&gt;/&lt;date&gt;</uri></para>\r
-                       <para>The limit records imported or edited following the supplied date will be returned. If you do not supply a date, then the most recent limit records will be returned.</para>\r
-                       <para>If you do not supply a limit, then up to 10 records will be returned.</para>      \r
-                       <para>Feed-type can be one of atom, html, htmlholdings, marcxml, mods, mods3, or rss2.</para>           \r
-                       <para><uri>For example, http://dev.gapines.org/opac/extras/feed/freshmeat/atom/biblio/import/10/2008-01-01</uri></para>\r
-               </simplesect>\r
-                <simplesect>\r
-                       <title>Browse records</title>\r
-                       <para>SuperCat can browse records in HTML and XML formats:</para>\r
-                       <para><uri>http://&lt;hostname&gt;/opac/extras/supercat/browse/&lt;format&gt;/call_number/&lt;org_unit&gt;/&lt;call_number&gt;</uri></para>\r
-                       <para>For example, <uri>http://dev.gapines.org/opac/extras/browse/xml/call_number/-/GV</uri> returns:</para>\r
-<screen>\r
-&lt;hold:volumes xmlns:hold='http://open-ils.org/spec/holdings/v1'&gt;\r
-       &lt;hold:volume id="tag:open-ils.org,2008:asset-call_number/130607" lib="FRRLS-FA" label="GUTCHEON BETH"&gt;\r
-         &lt;act:owning_lib id="tag:open-ils.org,2008:actor-org_unit/111" name="Fayette County Public Library"/&gt;\r
-         &lt;record xsi:schemaLocation="http://www.loc.gov/MARC21/slim http://www.loc.gov/ \r
-               standards/marcxml/schema/MARC21slim.xsd"\r
-               id="tag:open-ils.org,2008:biblio-record_entry/21669/FRRLS-FA"&gt;\r
-               &lt;leader&gt;09319pam a2200961 a 4500&lt;/leader&gt;\r
-               &lt;controlfield tag="001"/&gt;\r
-               &lt;controlfield tag="005"&gt;20000302124754.0&lt;/controlfield&gt;\r
-               &lt;controlfield tag="008"&gt;990817s2000    nyu           000 1 eng  &lt;/controlfield&gt;\r
-               &lt;datafield tag="010" ind1=" " ind2=" "&gt;\r
-                       &lt;subfield code="a"&gt;   99045936&lt;/subfield&gt;\r
-               &lt;/datafield&gt;\r
-                       ..\r
-               &lt;/record&gt;\r
-               &lt;record&gt;\r
-                       ..\r
-         &lt;/record&gt;\r
-       &lt;/hold:volume&gt;\r
-&lt;/hold:volumes&gt;  \r
-</screen>\r
-               </simplesect>\r
-                <simplesect xml:id="supportedsupercatformats">\r
-                       <title>Supported formats</title>\r
-                       <indexterm><primary>SuperCat</primary><secondary>formats</secondary></indexterm>\r
-                       <para>SuperCat maintains a list of supported formats for records and metarecords:</para>\r
-                       <para><uri>http://&lt;hostname&gt;/opac/extras/supercat/formats/&lt;record-type&gt;</uri></para>\r
-                       <para>For example, <uri>http://dev.gapines.org/opac/extras/supercat/formats/record</uri> returns:</para>\r
-<screen>\r
-&lt;formats&gt;\r
-  &lt;format&gt;\r
-    &lt;name&gt;opac&lt;/name&gt;\r
-    &lt;type&gt;text/html&lt;/type&gt;\r
-  &lt;/format&gt;\r
-  &lt;format&gt;\r
-    &lt;name&gt;htmlholdings&lt;/name&gt;\r
-    &lt;type&gt;text/html&lt;/type&gt;\r
-  &lt;/format&gt;\r
-...\r
-</screen>\r
-               </simplesect>\r
-       </section>\r
-       <section xml:id="addingsupercatformats">\r
-               <title>Adding new SuperCat Formats</title>\r
-               <indexterm><primary>SuperCat</primary><secondary>formats</secondary><tertiary>adding</tertiary></indexterm>\r
-               <para>Adding SuperCat formats requires experience editing XSL files and familiarity with XML and Perl.</para>   \r
-               <para>SuperCat web services are based on the OpenSRF service, <systemitem class="service">>open-ils.supercat</systemitem>.</para> \r
-               <para>Developers are able to add new formats by adding the <emphasis>xsl</emphasis> stylesheet for the format. By default, the location of the stylesheets is <filename class="directory">/openils/var/xsl/</filename>. You must also add the feed  to the perl \r
-               modules <filename>openils/lib/perl5/OpenILS/WWW/SuperCat/feed.pm</filename> and <filename>openils/lib/perl5/OpenILS/WWW/SuperCat.pm</filename>. An Evergreen restart is \r
-               required for the feed to be activated.</para>\r
-               <tip><para>Use an existing xsl stylesheet and Perl module entry as a template for your new format.</para></tip>\r
-       </section>\r
-       <section xml:id="editingsupercatformats">\r
-               <title>Customizing SuperCat Formats</title>\r
-               <indexterm><primary>SuperCat</primary><secondary>formats</secondary><tertiary>customizing</tertiary></indexterm>        \r
-               <para>Editing SuperCat formats requires experience editing XSL files and familiarity with XML..</para>  \r
-               <para>It is possible to customize existing supercat formats using XSL stylesheets. You are able to change the content to be displayed and the design of the pages.</para> \r
-               <para>In order to change the display of a specific format, edit the corresponding XSL file(s) for the particular format. The default location for the XSL stylesheets is \r
-               <filename class="directory">/openils/var/xsl/</filename>. </para>\r
-       </section>\r
-</chapter>\r
-\r