File:  [Repository] / texttool-architecture / soft-cgi.tex
Revision 1.4: download - view: text, annotated - select for diffs - revision graph
Tue Jan 6 21:34:05 2004 UTC (20 years, 5 months ago) by bcfuchs
Branches: MAIN
CVS tags: HEAD
added some stuff about reg.cgi

    1: \subsubsection{rec.cgi (register text)}
    2: \label{sec:rec.cgi}
    3: 
    4: \paragraph
    5: On the ECHO server, new texts are registered by means of reg.cgi (
    6: archimedes/web/cgi-bin/toc/admin/reg.cgi ). reg.cgi retrieves a
    7: metadata file from the entered uri (currently only local paths are
    8: supported ) and constructs from this file a toc.cgi object file (see
    9: below) , which it writes to toc.cgi's data section. [corpus???]
   10: 
   11: \paragraph
   12: reg.cgi takes two parameters, path and show.  Path should give the
   13: local path to the metadata file for the text that is being
   14: registered. If ``show'' is set to 1, reg.cgi will return for
   15: inspection the toc.cgi object file that it has built out of the
   16: submitted metadata file. 
   17: 
   18: 
   19: \subsubsection{toc.cgi (display text)}
   20: \label{sec:toc.cgi}
   21: 
   22: \paragraph{plan of this section }
   23: 
   24: \begin{enumeration}
   25: \item A walk-through of typical cgi queries for toc.cgi
   26: \item An index of cgi parameters and values with short descriptions of function
   27: \end{enumeration}
   28: 
   29: \paragraph{cgi parameters -- standard queries}
   30: 
   31: \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 }
   32: \newline
   33: \newline
   34: get a listing of corpora
   35: 
   36: 
   37: \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 }
   38: \newline
   39: \newline
   40: get an xml listing of corpora 
   41: 
   42: 
   43: \htmladdnormallink{ http://archimedes.mpiwg-berlin.mpg.de/cgi-bin/toc/toc.cgi }{ http://archimedes.mpiwg-berlin.mpg.de/cgi-bin/toc/toc.cgi }
   44: \newline
   45: \newline
   46: get a listing of works in default corpus
   47: 
   48: \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 }
   49: \newline
   50: \newline
   51: get a listing of works in corpus 1 [default corpus = 0]
   52: 
   53: \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 }
   54: \newline
   55: \newline
   56: get an xml listing of works in default corpus 
   57: 
   58: \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 }
   59: \newline
   60: \newline
   61: get an xml listing of works in corpus 1
   62: 
   63: \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 }
   64: \newline
   65: \newline
   66: get a work from default corpus with thumbnail navbar displayed left
   67: 
   68: 
   69: \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 }
   70: \newline
   71: \newline
   72: get a work from default corpus with thumbnail navbar displayed right
   73: 
   74: \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 }
   75: \newline
   76: \newline
   77: get a page of text from a work from default corpus 
   78: 
   79: 
   80: 
   81: 
   82: \subsubsection{Indexing}
   83: \label{sec:indexing}
   84: 
   85: 
   86: \subsubsection{Morphology}
   87: \label{sec:morphology}
   88: 
   89: 
   90: \subsubsection{Dictionary server}
   91: \label{sec:dictionary-server}
   92: 
   93: 
   94: %%% Local Variables: 
   95: %%% mode: latex
   96: %%% TeX-master: "texttools"
   97: %%% End: 
   98: 

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