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

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: 
                     55: \paragraph{cgi parameters -- standard queries}
                     56: 
1.3       bcfuchs    57: \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 }
                     58: \newline
                     59: \newline
1.2       bcfuchs    60: get a listing of corpora
                     61: 
                     62: 
1.3       bcfuchs    63: \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 }
                     64: \newline
                     65: \newline
1.2       bcfuchs    66: get an xml listing of corpora 
                     67: 
                     68: 
1.3       bcfuchs    69: \htmladdnormallink{ http://archimedes.mpiwg-berlin.mpg.de/cgi-bin/toc/toc.cgi }{ http://archimedes.mpiwg-berlin.mpg.de/cgi-bin/toc/toc.cgi }
                     70: \newline
                     71: \newline
1.2       bcfuchs    72: get a listing of works in default corpus
                     73: 
1.3       bcfuchs    74: \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 }
                     75: \newline
                     76: \newline
1.2       bcfuchs    77: get a listing of works in corpus 1 [default corpus = 0]
                     78: 
1.3       bcfuchs    79: \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 }
                     80: \newline
                     81: \newline
1.2       bcfuchs    82: get an xml listing of works in default corpus 
                     83: 
1.3       bcfuchs    84: \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 }
                     85: \newline
                     86: \newline
1.2       bcfuchs    87: get an xml listing of works in corpus 1
                     88: 
1.3       bcfuchs    89: \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 }
                     90: \newline
                     91: \newline
1.2       bcfuchs    92: get a work from default corpus with thumbnail navbar displayed left
                     93: 
                     94: 
1.3       bcfuchs    95: \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 }
                     96: \newline
                     97: \newline
1.2       bcfuchs    98: get a work from default corpus with thumbnail navbar displayed right
                     99: 
1.3       bcfuchs   100: \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 }
                    101: \newline
                    102: \newline
1.2       bcfuchs   103: get a page of text from a work from default corpus 
                    104: 
                    105: 
                    106: 
1.1       casties   107: 
                    108: \subsubsection{Indexing}
                    109: \label{sec:indexing}
                    110: 
                    111: 
                    112: \subsubsection{Morphology}
                    113: \label{sec:morphology}
                    114: 
                    115: 
                    116: \subsubsection{Dictionary server}
                    117: \label{sec:dictionary-server}
                    118: 
                    119: 
                    120: %%% Local Variables: 
                    121: %%% mode: latex
                    122: %%% TeX-master: "texttools"
                    123: %%% End: 

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