--- texttool-architecture/soft-cgi.tex 2004/01/06 21:34:05 1.4 +++ texttool-architecture/soft-cgi.tex 2004/01/06 22:46:37 1.5 @@ -2,11 +2,15 @@ \label{sec:rec.cgi} \paragraph -On the ECHO server, new texts are registered by means of reg.cgi ( -archimedes/web/cgi-bin/toc/admin/reg.cgi ). reg.cgi retrieves a -metadata file from the entered uri (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???] +On the ECHO server, hte registration of new texts is implemented by +means of a cgi script, reg.cgi +(archimedes/web/cgi-bin/toc/admin/reg.cgi ). reg.cgi retrieves a +metadata file in MPIWG archive metadata format from the entered uri +(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 reg.cgi takes two parameters, path and show. Path should give the @@ -15,6 +19,28 @@ registered. If ``show'' is set to 1, reg inspection the toc.cgi object file that it has built out of the submitted metadata file. +\paragraph{input metadata file} + +The input metadata file must have the following form + +\paragraph + + + ... + + + + +Mainzer Untergerichtsordnung (von 1534) +anon +1580 + yes + pageimgtif + /mpiwg/online/experimental/echo_DRQEdit_test/anon_Mainz_1580/fulltextDW/mainzugo02_utf8.xml + pb01-presentation/info.xml + + + \subsubsection{toc.cgi (display text)} \label{sec:toc.cgi}