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" enctype="multipart/form-data" 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">
104 <li>File containing a list of biblio numbers with one biblio number per line. This list works as a filter: it is compatible with other parameters.</li>
105 <li><label for="id_list_file">File : </label> <input type="file" id="id_list_file" name="id_list_file" /></li>
108 <fieldset class="rows">
109 <legend> Options</legend>
111 <label for="dont_export_item">Don't export items</label>
112 <input id="dont_export_item" type="checkbox" name="dont_export_item" />
115 <label for="strip_nonlocal_items">Remove non-local items</label>
116 <input id="strip_nonlocal_items" type="checkbox" name="strip_nonlocal_items" />
119 <label for="export_remove_fields">Don't export fields</label>
120 <input id="export_remove_fields" type="text" name="export_remove_fields" value="[% export_remove_fields %]" />
121 separate by a blank. (e.g., 100a 200 606)
124 <fieldset class="rows">
129 <label for="output_format">File format: </label>
130 <select id="output_format" name="output_format">
131 <option value="marc">marc</option>
132 <option value="xml">xml</option>
137 <label for="filename">File name:</label><input id="filename" type="text" name="filename" value="koha.mrc" />
140 <input type="hidden" name="op" value="export" />
141 <input type="hidden" name="record_type" value="bibs" />
143 <fieldset class="action"><input type="submit" value="Export bibliographic records" class="button" /></fieldset>
148 <form method="post" enctype="multipart/form-data" action="/cgi-bin/koha/tools/export.pl">
149 <fieldset class="rows">
150 <legend> Select records to export </legend>
152 <label for="start">From authid: </label>
153 <input id="start" type="text" name="starting_authid" size="6" />
156 <label for="end">To authid: </label>
157 <input id="end" type="text" name="ending_authid" size="6" />
160 <label for="authtype">Authority type: </label>
161 <select name="authtype" id="authtype">
162 <option value="">-- All --</option>
163 [% FOREACH authtypeloo IN authtypeloop %]
164 [% IF ( authtypeloo.selected ) %]
165 <option value="[% authtypeloo.value %]" selected="selected">[% authtypeloo.description %]</option>
167 <option value="[% authtypeloo.value %]">[% authtypeloo.description %]</option>
174 <fieldset class="rows">
179 <li>File containing a list of authids with one authid per line. This list works as a filter: it is compatible with other parameters.</li>
180 <li><label for="id_list_file">File : </label> <input type="file" id="id_list_file" name="id_list_file" /></li>
183 <fieldset class="rows">
184 <legend>Options</legend>
187 <label for="export_remove_fields">Don't export fields</label>
188 <input id="export_remove_fields" type="text" name="export_remove_fields" />
189 separate by a blank. (e.g., 100a 200 606)
192 <fieldset class="rows">
193 <legend>Output format</legend>
195 <label for="output_format">File format: </label>
196 <select id="output_format" name="output_format">
197 <option value="marc">marc</option>
198 <option value="xml">xml</option>
202 <label for="filename">File name:</label><input id="filename" type="text" name="filename" value="koha.mrc" />
205 <input type="hidden" name="op" value="export" />
206 <input type="hidden" name="record_type" value="auths" />
208 <fieldset class="action"><input type="submit" value="Export authority records" class="button" /></fieldset>
212 [% IF ( allow_db_export ) %]
214 <form method="post" action="/cgi-bin/koha/tools/export.pl">
215 <p><b>Note : This export file will be very large, and is generated nightly.</b></p>
216 <fieldset class="rows">
217 <legend> Choose a file </legend>
218 [% IF ( dbfiles && (dbfiles.size > 0) ) %]
220 [% FOREACH dbfile IN dbfiles %]
221 <li><input type="radio" name="filename" value="[% dbfile %]">[% dbfile %]</input></li>
225 <p>Unfortunately, no backups are available.</p>
229 [% IF ( dbfiles && (dbfiles.size > 0) ) %]
230 <input type="hidden" name="op" value="export" />
231 <input type="hidden" name="record_type" value="db" />
232 <fieldset class="action"><input type="submit" value="Download database" class="button" /></fieldset>
238 [% IF ( allow_conf_export ) %]
240 <form method="post" action="/cgi-bin/koha/tools/export.pl">
241 <p><b>Note : This export file will be very large, and is generated nightly.</b></p>
242 <fieldset class="rows">
243 <legend> Choose a file </legend>
244 [% IF ( conffiles && (conffiles.size > 0) ) %]
246 [% FOREACH conffile IN conffiles %]
247 <li><input type="radio" name="filename" value="[% conffile %]">[% conffile %]</input></li>
251 <p>Unfortunately, no backups are available.</p>
255 [% IF ( conffiles && (conffiles.size > 0) ) %]
256 <input type="hidden" name="op" value="export" />
257 <input type="hidden" name="record_type" value="conf" />
258 <fieldset class="action"><input type="submit" value="Download configuration" class="button" /></fieldset>
268 <div class="yui-b noprint">
269 [% INCLUDE 'tools-menu.inc' %]
272 [% INCLUDE 'intranet-bottom.inc' %]