1 [% INCLUDE 'doc-head-open.inc' %]
2 <title>Koha › Tools › MARC export</title>
3 [% INCLUDE 'doc-head-close.inc' %]
4 [% INCLUDE 'calendar.inc' %]
5 <script type="text/javascript">
7 $(document).ready(function() {
8 $('#exporttype').tabs();
13 <body id="tools_export" class="tools">
14 [% INCLUDE 'header.inc' %]
15 [% INCLUDE 'cat-search.inc' %]
17 <div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> › <a href="/cgi-bin/koha/tools/tools-home.pl">Tools</a> › MARC export</div>
19 <div id="doc3" class="yui-t2">
25 <div id="exporttype" class="toptabs">
27 <li><a href="#bibs">Export bibliographic records</a></li>
28 <li><a href="#auths">Export authority records</a></li>
29 [% IF ( allow_db_export ) %]
30 <li><a href="#db">Export database</a></li>
32 [% IF ( allow_conf_export ) %]
33 <li><a href="#conf">Export configuration</a></li>
38 <b>Note : The items are exported by this tool unless specified.</b>
41 <form method="post" action="/cgi-bin/koha/tools/export.pl">
42 <fieldset class="rows">
43 <legend> Select records to export </legend>
45 <label for="start">From biblio number: </label>
46 <input id="start" type="text" name="StartingBiblionumber" size="5" />
49 <label for="end">To biblio number: </label>
50 <input id="end" type="text" name="EndingBiblionumber" size="5" />
54 <label for="itemtype">Item type: </label>
55 <select name="itemtype" id="itemtype">
56 <option value="">-- All --</option>
57 [% FOREACH itemtypeloo IN itemtypeloop %]
58 [% IF ( itemtypeloo.selected ) %]
59 <option value="[% itemtypeloo.value %]" selected="selected">[% itemtypeloo.description %]</option>
61 <option value="[% itemtypeloo.value %]">[% itemtypeloo.description %]</option>
68 <label for="branch">Library: </label>
69 <select id="branch" name="branch">
70 <option value="">-- All --</option>
71 [% FOREACH branchloo IN branchloop %]
72 [% IF ( branchloo.selected ) %]<option value="[% branchloo.value %]" selected="selected">[% branchloo.branchname %]</option>
74 <option value="[% branchloo.value %]">[% branchloo.branchname %]</option>
80 <label for="startcn">From item call number: </label>
81 <input id="startcn" type="text" name="start_callnumber" size="5" />
84 <label for="endcn">To item call number: </label>
85 <input id="endcn" type="text" name="end_callnumber" size="5" />
87 <li>Accession date (inclusive):
89 <label for="from">Start date:</label>
90 <input type="text" size="10" id="from" name="start_accession" value="[% from %]" class="datepickerfrom" />
95 <input size="10" id="to" name="end_accession" value="[% end_accession %]" type="text" class="datepickerto" />
99 <fieldset class="rows">
100 <legend> Options</legend>
102 <label for="dont_export_item">Don't export items</label>
103 <input id="dont_export_item" type="checkbox" name="dont_export_item" />
106 <label for="strip_nonlocal_items">Remove non-local items</label>
107 <input id="strip_nonlocal_items" type="checkbox" name="strip_nonlocal_items" />
110 <label for="dont_export_fields">Don't export fields</label>
111 <input id="dont_export_fields" type="text" name="dont_export_fields" />
112 separate by a blank. (e.g., 100a 200 606)
115 <fieldset class="rows">
120 <label for="output_format">File format: </label>
121 <select id="output_format" name="output_format">
122 <option value="marc">marc</option>
123 <option value="xml">xml</option>
128 <label for="filename">File name:</label><input id="filename" type="text" name="filename" value="koha.mrc" />
131 <input type="hidden" name="op" value="export" />
132 <input type="hidden" name="record_type" value="bibs" />
134 <fieldset class="action"><input type="submit" value="Export bibliographic records" class="button" /></fieldset>
139 <form method="post" action="/cgi-bin/koha/tools/export.pl">
140 <fieldset class="rows">
141 <legend> Select records to export </legend>
143 <label for="start">From authid: </label>
144 <input id="start" type="text" name="starting_authid" size="6" />
147 <label for="end">To authid: </label>
148 <input id="end" type="text" name="ending_authid" size="6" />
151 <label for="authtype">Authority type: </label>
152 <select name="authtype" id="authtype">
153 <option value="">-- All --</option>
154 [% FOREACH authtypeloo IN authtypeloop %]
155 [% IF ( authtypeloo.selected ) %]
156 <option value="[% authtypeloo.value %]" selected="selected">[% authtypeloo.description %]</option>
158 <option value="[% authtypeloo.value %]">[% authtypeloo.description %]</option>
165 <fieldset class="rows">
166 <legend>Options</legend>
169 <label for="dont_export_fields">Don't export fields</label>
170 <input id="dont_export_fields" type="text" name="dont_export_fields" />
171 separate by a blank. (e.g., 100a 200 606)
174 <fieldset class="rows">
175 <legend>Output format</legend>
177 <label for="output_format">File format: </label>
178 <select id="output_format" name="output_format">
179 <option value="marc">marc</option>
180 <option value="xml">xml</option>
184 <label for="filename">File name:</label><input id="filename" type="text" name="filename" value="koha.mrc" />
187 <input type="hidden" name="op" value="export" />
188 <input type="hidden" name="record_type" value="auths" />
190 <fieldset class="action"><input type="submit" value="Export authority records" class="button" /></fieldset>
194 [% IF ( allow_db_export ) %]
196 <form method="post" action="/cgi-bin/koha/tools/export.pl">
197 <p><b>Note : This export file will be very large, and is generated nightly.</b></p>
198 <fieldset class="rows">
199 <legend> Choose a file </legend>
200 [% IF ( dbfiles && (dbfiles.size > 0) ) %]
202 [% FOREACH dbfile IN dbfiles %]
203 <li><input type="radio" name="filename" value="[% dbfile %]">[% dbfile %]</input></li>
207 <p>Unfortunately, no backups are available.</p>
211 [% IF ( dbfiles && (dbfiles.size > 0) ) %]
212 <input type="hidden" name="op" value="export" />
213 <input type="hidden" name="record_type" value="db" />
214 <fieldset class="action"><input type="submit" value="Download database" class="button" /></fieldset>
220 [% IF ( allow_conf_export ) %]
222 <form method="post" action="/cgi-bin/koha/tools/export.pl">
223 <p><b>Note : This export file will be very large, and is generated nightly.</b></p>
224 <fieldset class="rows">
225 <legend> Choose a file </legend>
226 [% IF ( conffiles && (conffiles.size > 0) ) %]
228 [% FOREACH conffile IN conffiles %]
229 <li><input type="radio" name="filename" value="[% conffile %]">[% conffile %]</input></li>
233 <p>Unfortunately, no backups are available.</p>
237 [% IF ( conffiles && (conffiles.size > 0) ) %]
238 <input type="hidden" name="op" value="export" />
239 <input type="hidden" name="record_type" value="conf" />
240 <fieldset class="action"><input type="submit" value="Download configuration" class="button" /></fieldset>
250 <div class="yui-b noprint">
251 [% INCLUDE 'tools-menu.inc' %]
254 [% INCLUDE 'intranet-bottom.inc' %]