|
|
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
|
|
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
|
|
|
<head>
|
|
|
|
<title>YaCy '#[clientname]#': OAI-PMH Import</title>
|
|
|
|
#%env/templates/metas.template%#
|
|
|
|
#(import)#::<!--<meta http-equiv="REFRESH" content="10" />-->#(/import)#
|
|
|
|
</head>
|
|
|
|
<body id="IndexImportOAIPMH">
|
|
|
|
#%env/templates/header.template%#
|
|
|
|
#%env/templates/submenuContentIntegration.template%#
|
|
|
|
<h2>OAI-PMH Import</h2>
|
|
|
|
|
|
|
|
<form action="IndexImportOAIPMH_p.html" method="get">
|
|
|
|
<fieldset>
|
|
|
|
<legend>Single request import</legend>
|
|
|
|
This will submit only a single request as given here to a OAI-PMH server and imports records into the index
|
|
|
|
<input name="urlstartone" type="text" value="#[defaulturl]#" size="100" />
|
|
|
|
<input name="submit" type="submit" value="Import OAI-PMH source" />
|
|
|
|
</fieldset>
|
|
|
|
</form>
|
|
|
|
#(import-one)#
|
|
|
|
::
|
|
|
|
<form><fieldset><legend>Import Process</legend>
|
|
|
|
<dl>
|
|
|
|
<dt>Source:</dt><dd>#[source]#</dd>
|
|
|
|
<dt>Processed:</dt><dd>#[count]# records</dd>
|
|
|
|
<dt>ResumptionToken:</dt><dd>#[rt]#</dd>
|
|
|
|
</dl>
|
|
|
|
</fieldset></form>
|
|
|
|
::
|
|
|
|
Import failed: #[error]#
|
|
|
|
#(/import-one)#
|
|
|
|
|
|
|
|
#(import-all)#
|
|
|
|
<p>#(status)#::Bad input data: #[message]# #(/status)#</p>
|
|
|
|
<form action="IndexImportOAIPMH_p.html" method="get">
|
|
|
|
<fieldset>
|
|
|
|
<legend>Import all Records from a server</legend>
|
|
|
|
Import all records that follow acording to resumption elements into index
|
|
|
|
<input name="urlstartall" type="text" value="" size="100" />
|
|
|
|
<input name="submit" type="submit" value="Import OAI-PMH source" />
|
|
|
|
</fieldset>
|
|
|
|
</form>
|
|
|
|
::
|
|
|
|
<form><fieldset><legend>Import Process</legend>
|
|
|
|
<dl>
|
|
|
|
<dt>Thread:</dt><dd>#[thread]#</dd>
|
|
|
|
<dt>Source:</dt><dd>#[source]#</dd>
|
|
|
|
<dt>Processed:</dt><dd>#[count]# records</dd>
|
|
|
|
<dt>Speed:</dt><dd>#[speed]# records per second</dd>
|
|
|
|
<dt>Running Time:</dt><dd>#[runningHours]# hours, #[runningMinutes]# minutes</dd>
|
|
|
|
<dt>Remaining Time:</dt><dd>#[remainingHours]# hours, #[remainingMinutes]# minutes</dd>
|
|
|
|
</dl>
|
|
|
|
</fieldset></form>
|
|
|
|
#(/import-all)#
|
|
|
|
|
|
|
|
#%env/templates/footer.template%#
|
|
|
|
</body>
|
|
|
|
</html>
|