Annotation of texttool-architecture/soft-cgi.tex, revision 1.6

1.1       casties     1: \subsubsection{rec.cgi (register text)}
                      2: \label{sec:rec.cgi}
                      3: 
1.4       bcfuchs     4: \paragraph
1.5       bcfuchs     5: On the ECHO server, hte registration of new texts is implemented by
                      6: means of a cgi script, reg.cgi
                      7: (archimedes/web/cgi-bin/toc/admin/reg.cgi ). reg.cgi retrieves a
                      8: metadata file  in MPIWG archive metadata format from the entered uri
                      9: (currently only local paths are supported ) and constructs from this
                     10: file a toc.cgi object file (see below) , which it writes to toc.cgi's
                     11: data section. [corpus???] It should be stressed that this is a
                     12: registration procedure developed for a particular implementation of
                     13: toc.cgi and not a part of the core application. 
1.4       bcfuchs    14: 
                     15: \paragraph
                     16: reg.cgi takes two parameters, path and show.  Path should give the
                     17: local path to the metadata file for the text that is being
                     18: registered. If ``show'' is set to 1, reg.cgi will return for
                     19: inspection the toc.cgi object file that it has built out of the
                     20: submitted metadata file. 
1.5       bcfuchs    21: 
                     22: \paragraph{input metadata file}
                     23: 
                     24: The input metadata file must have the following form
                     25: 
                     26: \paragraph
                     27: 
                     28: <resource>
                     29:     ...
                     30:     <meta>
                     31:       <meta>
                     32:                 <bib type=''Book''>
                     33: 
                     34: <title>Mainzer Untergerichtsordnung (von 1534)</title>
                     35: <author>anon</author>
                     36: <year>1580</year>
                     37:         <texttool><display>yes</display>
                     38:    <image>pageimgtif</image>
                     39:    <text>/mpiwg/online/experimental/echo_DRQEdit_test/anon_Mainz_1580/fulltextDW/mainzugo02_utf8.xml</text>
                     40:    <pagebreak>pb</pagebreak><presentation>01-presentation/info.xml</presentation></texttool></meta>
                     41: 
                     42:     </meta>
1.4       bcfuchs    43: 
1.1       casties    44: 
                     45: \subsubsection{toc.cgi (display text)}
                     46: \label{sec:toc.cgi}
                     47: 
1.2       bcfuchs    48: \paragraph{plan of this section }
                     49: 
                     50: \begin{enumeration}
                     51: \item A walk-through of typical cgi queries for toc.cgi
                     52: \item An index of cgi parameters and values with short descriptions of function
                     53: \end{enumeration}
                     54: 
1.6     ! bcfuchs    55: \paragraph{}
        !            56: toc.cgi is a perl script for displaying collections of xml texts and 
        !            57: linking them to related resources such as page-images, morphological
        !            58: analysis, commentaries, dictionaries, etc. It implements generic methods
        !            59: for resource-linking provided by a series of perl modules which are in
        !            60: turn based mainly on generic tools for xml manipulation and networking
        !            61: written in C. 
        !            62: 
1.2       bcfuchs    63: \paragraph{cgi parameters -- standard queries}
                     64: 
1.3       bcfuchs    65: \htmladdnormallink{ http://archimedes.mpiwg-berlin.mpg.de/cgi-bin/toc/toc.cgi?step=corpus }{ http://archimedes.mpiwg-berlin.mpg.de/cgi-bin/toc/toc.cgi?step=corpus }
                     66: \newline
                     67: \newline
1.2       bcfuchs    68: get a listing of corpora
                     69: 
                     70: 
1.3       bcfuchs    71: \htmladdnormallink{ http://archimedes.mpiwg-berlin.mpg.de/cgi-bin/toc/toc.cgi?step=xmlcorpusmanifest }{ http://archimedes.mpiwg-berlin.mpg.de/cgi-bin/toc/toc.cgi?step=xmlcorpusmanifest }
                     72: \newline
                     73: \newline
1.2       bcfuchs    74: get an xml listing of corpora 
                     75: 
                     76: 
1.3       bcfuchs    77: \htmladdnormallink{ http://archimedes.mpiwg-berlin.mpg.de/cgi-bin/toc/toc.cgi }{ http://archimedes.mpiwg-berlin.mpg.de/cgi-bin/toc/toc.cgi }
                     78: \newline
                     79: \newline
1.2       bcfuchs    80: get a listing of works in default corpus
                     81: 
1.3       bcfuchs    82: \htmladdnormallink{ http://archimedes.mpiwg-berlin.mpg.de/cgi-bin/toc/toc.cgi?corpus=1 }{ http://archimedes.mpiwg-berlin.mpg.de/cgi-bin/toc/toc.cgi?corpus=1 }
                     83: \newline
                     84: \newline
1.2       bcfuchs    85: get a listing of works in corpus 1 [default corpus = 0]
                     86: 
1.3       bcfuchs    87: \htmladdnormallink{ http://archimedes.mpiwg-berlin.mpg.de/cgi-bin/toc/toc.cgi?step=xmlcorpuslist }{ http://archimedes.mpiwg-berlin.mpg.de/cgi-bin/toc/toc.cgi?step=xmlcorpuslist }
                     88: \newline
                     89: \newline
1.2       bcfuchs    90: get an xml listing of works in default corpus 
                     91: 
1.3       bcfuchs    92: \htmladdnormallink{ http://archimedes.mpiwg-berlin.mpg.de/cgi-bin/toc/toc.cgi?step=xmlcorpuslist;corpus=1 }{ http://archimedes.mpiwg-berlin.mpg.de/cgi-bin/toc/toc.cgi?step=xmlcorpuslist;corpus=1 }
                     93: \newline
                     94: \newline
1.2       bcfuchs    95: get an xml listing of works in corpus 1
                     96: 
1.3       bcfuchs    97: \htmladdnormallink{ http://archimedes.mpiwg-berlin.mpg.de/cgi-bin/toc/toc.cgi?dir=baifl_renav_006_la_1537;step=thumb }{ http://archimedes.mpiwg-berlin.mpg.de/cgi-bin/toc/toc.cgi?dir=baifl_renav_006_la_1537;step=thumb }
                     98: \newline
                     99: \newline
1.2       bcfuchs   100: get a work from default corpus with thumbnail navbar displayed left
                    101: 
                    102: 
1.3       bcfuchs   103: \htmladdnormallink{ http://archimedes.mpiwg-berlin.mpg.de/cgi-bin/toc/toc.cgi?dir=jorda_ponde_050_la_1533;step=thumb;ftype=thumbright }{ http://archimedes.mpiwg-berlin.mpg.de/cgi-bin/toc/toc.cgi?dir=jorda_ponde_050_la_1533;step=thumb;ftype=thumbright }
                    104: \newline
                    105: \newline
1.2       bcfuchs   106: get a work from default corpus with thumbnail navbar displayed right
                    107: 
1.3       bcfuchs   108: \htmladdnormallink{ http://archimedes.mpiwg-berlin.mpg.de/cgi-bin/toc/toc.cgi?dir=jorda_ponde_050_la_1533;step=textonly;corpus=;page=22 }{ http://archimedes.mpiwg-berlin.mpg.de/cgi-bin/toc/toc.cgi?dir=jorda_ponde_050_la_1533;step=textonly;corpus=;page=22 }
                    109: \newline
                    110: \newline
1.2       bcfuchs   111: get a page of text from a work from default corpus 
                    112: 
                    113: 
                    114: 
1.1       casties   115: 
                    116: \subsubsection{Indexing}
                    117: \label{sec:indexing}
                    118: 
                    119: 
                    120: \subsubsection{Morphology}
                    121: \label{sec:morphology}
                    122: 
                    123: 
                    124: \subsubsection{Dictionary server}
                    125: \label{sec:dictionary-server}
                    126: 
                    127: 
                    128: %%% Local Variables: 
                    129: %%% mode: latex
                    130: %%% TeX-master: "texttools"
                    131: %%% End: 

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>