|
|
|
<!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>
|
|
|
|
<p>Results from the import can be monitored in the <a href="/CrawlResults.html?process=7">indexing results for surrogates</a></p>
|
|
|
|
|
|
|
|
<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<br />
|
|
|
|
<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<br />
|
|
|
|
<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 Chunks:</dt><dd>#[chunkCount]#</dd>
|
|
|
|
<dt>Imported Records:</dt><dd>#[recordsCount]# records</dd>
|
|
|
|
<dt>Speed:</dt><dd>#[speed]# records per second</dd>
|
|
|
|
</dl>
|
|
|
|
</fieldset></form>
|
|
|
|
#(/import-all)#
|
|
|
|
|
|
|
|
#%env/templates/footer.template%#
|
|
|
|
</body>
|
|
|
|
</html>
|