version 1.4, 2004/01/06 21:34:05
|
version 1.5, 2004/01/06 22:46:37
|
Line 2
|
Line 2
|
\label{sec:rec.cgi} |
\label{sec:rec.cgi} |
|
|
\paragraph |
\paragraph |
On the ECHO server, new texts are registered by means of reg.cgi ( |
On the ECHO server, hte registration of new texts is implemented by |
archimedes/web/cgi-bin/toc/admin/reg.cgi ). reg.cgi retrieves a |
means of a cgi script, reg.cgi |
metadata file from the entered uri (currently only local paths are |
(archimedes/web/cgi-bin/toc/admin/reg.cgi ). reg.cgi retrieves a |
supported ) and constructs from this file a toc.cgi object file (see |
metadata file in MPIWG archive metadata format from the entered uri |
below) , which it writes to toc.cgi's data section. [corpus???] |
(currently only local paths are supported ) and constructs from this |
|
file a toc.cgi object file (see below) , which it writes to toc.cgi's |
|
data section. [corpus???] It should be stressed that this is a |
|
registration procedure developed for a particular implementation of |
|
toc.cgi and not a part of the core application. |
|
|
\paragraph |
\paragraph |
reg.cgi takes two parameters, path and show. Path should give the |
reg.cgi takes two parameters, path and show. Path should give the |
Line 15 registered. If ``show'' is set to 1, reg
|
Line 19 registered. If ``show'' is set to 1, reg
|
inspection the toc.cgi object file that it has built out of the |
inspection the toc.cgi object file that it has built out of the |
submitted metadata file. |
submitted metadata file. |
|
|
|
\paragraph{input metadata file} |
|
|
|
The input metadata file must have the following form |
|
|
|
\paragraph |
|
|
|
<resource> |
|
... |
|
<meta> |
|
<meta> |
|
<bib type=''Book''> |
|
|
|
<title>Mainzer Untergerichtsordnung (von 1534)</title> |
|
<author>anon</author> |
|
<year>1580</year> |
|
<texttool><display>yes</display> |
|
<image>pageimgtif</image> |
|
<text>/mpiwg/online/experimental/echo_DRQEdit_test/anon_Mainz_1580/fulltextDW/mainzugo02_utf8.xml</text> |
|
<pagebreak>pb</pagebreak><presentation>01-presentation/info.xml</presentation></texttool></meta> |
|
|
|
</meta> |
|
|
|
|
\subsubsection{toc.cgi (display text)} |
\subsubsection{toc.cgi (display text)} |
\label{sec:toc.cgi} |
\label{sec:toc.cgi} |