Lines 25-33
Link Here
|
25 |
<li>'Record type' lets you define if this is a bibliographic or an authority target.</li> |
25 |
<li>'Record type' lets you define if this is a bibliographic or an authority target.</li> |
26 |
<li>'Additional SRU options': You can enter additional options of the external server here, like sru_version=1.1 or schema=marc21, etc. Note that these options are server dependent.</li> |
26 |
<li>'Additional SRU options': You can enter additional options of the external server here, like sru_version=1.1 or schema=marc21, etc. Note that these options are server dependent.</li> |
27 |
<li>'SRU Search field mapping': Click on Modify to add or update the mapping from the available fields on the Koha search form to the specific server dependent index names. For instance, a SRU server could use 'cql.anywhere' for the Any field on the Koha form. If you do not enter an index name for a specific search field, the whole record will be searched.</li> |
27 |
<li>'SRU Search field mapping': Click on Modify to add or update the mapping from the available fields on the Koha search form to the specific server dependent index names. For instance, a SRU server could use 'cql.anywhere' for the Any field on the Koha form. If you do not enter an index name for a specific search field, the whole record will be searched.</li> |
28 |
<li>'XSLT file(s)': You can enter here one or more XSLT file names that you want to apply on the search results.</li> |
28 |
<li>'XSLT file(s)': You can enter here one or more (comma-separated) XSLT file names that you want to apply on the search results.</li> |
29 |
</ul> |
29 |
</ul> |
30 |
|
30 |
|
|
|
31 |
<h2>Using XSLT file(s) to transform the imported records</h2> |
32 |
<p>When retrieving records from external targets you may wish to automate some |
33 |
changes to those records. XSLT's allow you to do this. Koha ships with some |
34 |
sample XSLT files ready for use.</p> |
35 |
<ul> |
36 |
<li>Del952.xsl: Remove items (MARC21/NORMARC)</li> |
37 |
<li>Del995.xsl: Remove items (UNIMARC)</li> |
38 |
<li>Del9LinksExcept952.xsl: Remove $9 links. Skip item fields (MARC21/NORMARC).</li> |
39 |
<li>Del9LinksExcept995.xsl: Remove $9 links. Skip item fields (UNIMARC).</li> |
40 |
</ul> |
41 |
|
42 |
<h3>Example</h3> |
43 |
<p>If you want to remove both holdings data and $9 links when importing, you can use:</p> |
44 |
<table> |
45 |
<thead><tr> |
46 |
<th>Syntax</th> |
47 |
<th>XSLT configuration</th> |
48 |
</tr></thead> |
49 |
<tbody> |
50 |
<tr><td>MARC21/NORMARC</td><td>Del9LinksExcept952.xsl, Del952.xsl</td></tr> |
51 |
<tr><td>UNIMARC</td><td>Del9LinksExcept995.xsl, Del995.xsl</td></tr> |
52 |
</tbody> |
53 |
</table> |
54 |
|
31 |
<h2>SRU example</h2> |
55 |
<h2>SRU example</h2> |
32 |
<p>If you want to enter the Library of Congress SRU server, you should at least use the following information. The full URL http://lx2.loc.gov:210/LCDB must be entered as follows:</p> |
56 |
<p>If you want to enter the Library of Congress SRU server, you should at least use the following information. The full URL http://lx2.loc.gov:210/LCDB must be entered as follows:</p> |
33 |
<table> |
57 |
<table> |
34 |
- |
|
|