diff --git a/configure.ac b/configure.ac index 0b33d7f9a..8f7da86be 100644 --- a/configure.ac +++ b/configure.ac @@ -1,693 +1,703 @@ ## $Id$ ## This file is part of CDS Invenio. ## Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007, 2008 CERN. ## ## CDS Invenio is free software; you can redistribute it and/or ## modify it under the terms of the GNU General Public License as ## published by the Free Software Foundation; either version 2 of the ## License, or (at your option) any later version. ## ## CDS Invenio is distributed in the hope that it will be useful, but ## WITHOUT ANY WARRANTY; without even the implied warranty of ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ## General Public License for more details. ## ## You should have received a copy of the GNU General Public License ## along with CDS Invenio; if not, write to the Free Software Foundation, Inc., ## 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. ## This is CDS Invenio main configure.ac file. If you change this ## file, then please run "autoreconf" to regenerate the "configure" ## script. ## Initialize autoconf and automake: -AC_INIT(cds-invenio, 0.99.1.20080811, cds.support@cern.ch) -AM_INIT_AUTOMAKE(cds-invenio, 0.99.1.20080811) +AC_INIT(cds-invenio, 0.99.1.20080820, cds.support@cern.ch) +AM_INIT_AUTOMAKE(cds-invenio, 0.99.1.20080820) ## By default we shall install into /opt/cds-invenio. (Do not use ## AC_PREFIX_DEFAULT for this, because it would not work well with ## the localstatedir hack below.) test "${prefix}" = NONE && prefix=/opt/cds-invenio ## Check for install: AC_PROG_INSTALL ## Check for gettext support: AM_GNU_GETTEXT(external) AM_GNU_GETTEXT_VERSION(0.14.4) ## Check for MySQL client: AC_MSG_CHECKING(for mysql) AC_ARG_WITH(mysql, AC_HELP_STRING([--with-mysql], [path to a specific MySQL binary (optional)]), MYSQL=${withval}) if test -n "$MYSQL"; then AC_MSG_RESULT($MYSQL) else AC_PATH_PROG(MYSQL, mysql) if test -z "$MYSQL"; then AC_MSG_ERROR([ MySQL command-line client was not found in your PATH. Please install it first. Available from <http://mysql.com/>.]) fi fi ## Check for Python: AC_MSG_CHECKING(for python) AC_ARG_WITH(python, AC_HELP_STRING([--with-python], [path to a specific Python binary (optional)]), PYTHON=${withval}) if test -n "$PYTHON"; then AC_MSG_RESULT($PYTHON) else AC_PATH_PROG(PYTHON, python) if test -z "$PYTHON"; then AC_MSG_ERROR([ Python was not found in your PATH. Please either install it in your PATH or specify --with-python configure option. Python is available from <http://python.org/>.]) fi fi ## Check for Python version and modules: AC_MSG_CHECKING(for required Python modules) $PYTHON ${srcdir}/configure-tests.py if test $? -ne 0; then AC_MSG_ERROR([Please fix the above Python problem before continuing.]) fi AC_MSG_RESULT(found) ## Check for PHP: AC_PATH_PROG(PHP, php) ## Check for Acrobat Reader: AC_PATH_PROG(ACROREAD, acroread) if test -z "$ACROREAD"; then AC_MSG_WARN([ Acrobat Reader was not found in your PATH. It is used in the WebSubmit module for automatic conversion of submitted documents. You can continue without it but you will miss some CDS Invenio functionality. We recommend you to install it first and to rerun the configure script. Acrobat Reader is available from <http://www.adobe.com/products/acrobat/readstep.html>.]) fi ## Check for gzip: AC_PATH_PROG(GZIP, gzip) if test -z "$GZIP"; then AC_MSG_WARN([ Gzip was not found in your PATH. It is used in the WebSubmit module to compress the data submitted in an archive. You can continue without it but you will miss some CDS Invenio functionality. We recommend you to install it first and to rerun the configure script. Gzip is available from <http://www.gzip.org/>.]) fi ## Check for gunzip: AC_PATH_PROG(GUNZIP, gunzip) if test -z "$GUNZIP"; then AC_MSG_WARN([ Gunzip was not found in your PATH. It is used in the WebSubmit module to correctly deal with submitted compressed files. You can continue without it but you will miss some CDS Invenio functionality. We recommend you to install it first and to rerun the configure script. Gunzip is available from <http://www.gzip.org/>.]) fi ## Check for tar: AC_PATH_PROG(TAR, tar) if test -z "$TAR"; then AC_MSG_WARN([ Tar was not found in your PATH. It is used in the WebSubmit module to pack the submitted data into an archive. You can continue without it but you will miss some CDS Invenio functionality. We recommend you to install it first and to rerun the configure script. Tar is available from <ftp://prep.ai.mit.edu/pub/gnu/tar/>.]) fi ## Check for wget: AC_PATH_PROG(WGET, wget) if test -z "$WGET"; then AC_MSG_WARN([ wget was not found in your PATH. It is used for the fulltext file retrieval. You can continue without it but we recomend you to install it first and to rerun the configure script. wget is available from <http://www.gnu.org/software/wget/>.]) fi ## Check for md5sum: AC_PATH_PROG(MD5SUM, md5sum) if test -z "$MD5SUM"; then AC_MSG_WARN([ md5sum was not found in your PATH. It is used for the fulltext file checksum verification. You can continue without it but we recomend you to install it first and to rerun the configure script. md5sum is available from <http://www.gnu.org/software/coreutils/>.]) fi ## Check for ps2pdf: AC_PATH_PROG(PS2PDF, ps2pdf) if test -z "$PS2PDF"; then AC_MSG_WARN([ ps2pdf was not found in your PATH. It is used in the WebSubmit module to convert submitted PostScripts into PDF. You can continue without it but you will miss some CDS Invenio functionality. We recommend you to install it first and to rerun the configure script. ps2pdf is available from <http://www.cs.wisc.edu/~ghost/doc/AFPL/>.]) fi ## Check for pdftotext: AC_PATH_PROG(PDFTOTEXT, pdftotext) if test -z "$PDFTOTEXT"; then AC_MSG_WARN([ pdftotext was not found in your PATH. It is used for the fulltext indexation of PDF files. You can continue without it but you may miss fulltext searching capability of CDS Invenio. We recomend you to install it first and to rerun the configure script. pdftotext is available from <http://www.foolabs.com/xpdf/home.html>. ]) fi ## Check for pdftk: AC_PATH_PROG(PDFTK, pdftk) if test -z "$PDFTK"; then AC_MSG_WARN([ pdftk was not found in your PATH. It is used for the fulltext file stamping. You can continue without it but you may miss this feature of CDS Invenio. We recomend you to install it first and to rerun the configure script. pdftk is available from <http://www.accesspdf.com/pdftk/>. ]) fi ## Check for pdf2ps: AC_PATH_PROG(PDF2PS, pdf2ps) if test -z "$PDF2PS"; then AC_MSG_WARN([ pdf2ps was not found in your PATH. It is used in the WebSubmit module to convert submitted PDFs into PostScript. You can continue without it but you will miss some CDS Invenio functionality. We recommend you to install it first and to rerun the configure script. pdf2ps is available from <http://www.cs.wisc.edu/~ghost/doc/AFPL/>.]) fi ## Check for pstotext: AC_PATH_PROG(PSTOTEXT, pstotext) if test -z "$PSTOTEXT"; then AC_MSG_WARN([ pstotext was not found in your PATH. It is used for the fulltext indexation of PDF and PostScript files. You can continue without it but you may miss fulltext searching capability of CDS Invenio. We recomend you to install it first and to rerun the configure script. pstotext is available from <http://www.cs.wisc.edu/~ghost/doc/AFPL/>. ]) fi ## Check for ps2ascii: AC_PATH_PROG(PSTOASCII, ps2ascii) if test -z "$PSTOASCII"; then AC_MSG_WARN([ ps2ascii was not found in your PATH. It is used for the fulltext indexation of PostScript files. You can continue without it but you may miss fulltext searching capability of CDS Invenio. We recomend you to install it first and to rerun the configure script. ps2ascii is available from <http://www.cs.wisc.edu/~ghost/doc/AFPL/>. ]) fi ## Check for antiword: AC_PATH_PROG(ANTIWORD, antiword) if test -z "$ANTIWORD"; then AC_MSG_WARN([ antiword was not found in your PATH. It is used for the fulltext indexation of Microsoft Word files. You can continue without it but you may miss fulltext searching capability of CDS Invenio. We recomend you to install it first and to rerun the configure script. antiword is available from <http://www.winfield.demon.nl/index.html>. ]) fi ## Check for catdoc: AC_PATH_PROG(CATDOC, catdoc) if test -z "$CATDOC"; then AC_MSG_WARN([ catdoc was not found in your PATH. It is used for the fulltext indexation of Microsoft Word files. You can continue without it but you may miss fulltext searching capability of CDS Invenio. We recomend you to install it first and to rerun the configure script. catdoc is available from <http://www.ice.ru/~vitus/catdoc/index.html>. ]) fi ## Check for wvText: AC_PATH_PROG(WVTEXT, wvText) if test -z "$WVTEXT"; then AC_MSG_WARN([ wvText was not found in your PATH. It is used for the fulltext indexation of Microsoft Word files. You can continue without it but you may miss fulltext searching capability of CDS Invenio. We recomend you to install it first and to rerun the configure script. wvText is available from <http://sourceforge.net/projects/wvware>. ]) fi ## Check for ppthtml: AC_PATH_PROG(PPTHTML, ppthtml) if test -z "$PPTHTML"; then AC_MSG_WARN([ ppthtml was found in your PATH. It is used for the fulltext indexation of Microsoft PowerPoint files. You can continue without it but you may miss fulltext searching capability of CDS Invenio. We recomend you to install it first and to rerun the configure script. ppthtml is available from <http://www.xlhtml.org/>. ]) fi ## Check for xlhtml: AC_PATH_PROG(XLHTML, xlhtml) if test -z "$XLHTML"; then AC_MSG_WARN([ xlhtml was found in your PATH. It is used for the fulltext indexation of Microsoft Excel files. You can continue without it but you may miss fulltext searching capability of CDS Invenio. We recomend you to install it first and to rerun the configure script. xlhtml is available from <http://chicago.sourceforge.net/xlhtml/>. ]) fi ## Check for html2text: AC_PATH_PROG(HTMLTOTEXT, html2text) if test -z "$HTMLTOTEXT"; then AC_MSG_WARN([ html2text was found in your PATH. It is used for the fulltext indexation of Microsoft PowerPoint and Excel files. You can continue without it but you may miss fulltext searching capability of CDS Invenio. We recomend you to install it first and to rerun the configure script. html2text is available from <http://userpage.fu-berlin.de/~mbayer/tools/html2text.html>. ]) fi ## Check for Giftext: AC_PATH_PROG(GIFTEXT, giftext) if test -z "$GIFTEXT"; then AC_MSG_WARN([ Giftext was not found in your PATH. It is used in the WebSubmit module to create an icon from a submitted picture. You can continue without it but you will miss some CDS Invenio functionality. We recommend you to install it first and to rerun the configure script. Giftext is available from <http://prtr-13.ucsc.edu/~badger/software/libungif/getting.shtml>.]) fi ## Check for file: AC_PATH_PROG(FILE, file) if test -z "$FILE"; then AC_MSG_WARN([ File was not found in your PATH. It is used in the WebSubmit module to check the validity of the submitted files. You can continue without it but you will miss some CDS Invenio functionality. We recommend you to install it first and to rerun the configure script. File is available from <ftp://ftp.astron.com/pub/file/>.]) fi ## Check for convert: AC_PATH_PROG(CONVERT, convert) if test -z "$CONVERT"; then AC_MSG_WARN([ Convert was not found in your PATH. It is used in the WebSubmit module to create an icon from a submitted picture. You can continue without it but you will miss some CDS Invenio functionality. We recommend you to install it first and to rerun the configure script. Convert is available from <http://www.imagemagick.org/>.]) fi ## Check for CLISP: AC_MSG_CHECKING(for clisp) AC_ARG_WITH(clisp, AC_HELP_STRING([--with-clisp], [path to a specific CLISP binary (optional)]), CLISP=${withval}) if test -n "$CLISP"; then AC_MSG_RESULT($CLISP) else AC_PATH_PROG(CLISP, clisp) if test -z "$CLISP"; then AC_MSG_WARN([ GNU CLISP was not found in your PATH. It is used by the WebStat module to produce statistics about CDS Invenio usage. (Alternatively, SBCL or CMUCL can be used instead of CLISP.) You can continue without it but you will miss this feature. We recommend you to install it first (if you don't have neither CMUCL nor SBCL) and to rerun the configure script. GNU CLISP is available from <http://clisp.cons.org/>.]) fi fi ## Check for CMUCL: AC_MSG_CHECKING(for cmucl) AC_ARG_WITH(cmucl, AC_HELP_STRING([--with-cmucl], [path to a specific CMUCL binary (optional)]), CMUCL=${withval}) if test -n "$CMUCL"; then AC_MSG_RESULT($CMUCL) else AC_PATH_PROG(CMUCL, cmucl) if test -z "$CMUCL"; then AC_MSG_CHECKING(for lisp) # CMUCL can also be installed under `lisp' exec name AC_PATH_PROG(CMUCL, lisp) fi if test -z "$CMUCL"; then AC_MSG_WARN([ CMUCL was not found in your PATH. It is used by the WebStat module to produce statistics about CDS Invenio usage. (Alternatively, CLISP or SBCL can be used instead of CMUCL.) You can continue without it but you will miss this feature. We recommend you to install it first (if you don't have neither CLISP nor SBCL) and to rerun the configure script. CMUCL is available from <http://www.cons.org/cmucl/>.]) fi fi ## Check for SBCL: AC_MSG_CHECKING(for sbcl) AC_ARG_WITH(sbcl, AC_HELP_STRING([--with-sbcl], [path to a specific SBCL binary (optional)]), SBCL=${withval}) if test -n "$SBCL"; then AC_MSG_RESULT($SBCL) else AC_PATH_PROG(SBCL, sbcl) if test -z "$SBCL"; then AC_MSG_WARN([ SBCL was not found in your PATH. It is used by the WebStat module to produce statistics about CDS Invenio usage. (Alternatively, CLISP or CMUCL can be used instead of SBCL.) You can continue without it but you will miss this feature. We recommend you to install it first (if you don't have neither CLISP nor CMUCL) and to rerun the configure script. SBCL is available from <http://sbcl.sourceforge.net/>.]) fi fi ## Check for gnuplot: AC_PATH_PROG(GNUPLOT, gnuplot) if test -z "$GNUPLOT"; then AC_MSG_WARN([ Gnuplot was not found in your PATH. It is used by the BibRank module to produce graphs about download and citation history. You can continue without it but you will miss these graphs. We recommend you to install it first and to rerun the configure script. Gnuplot is available from <http://www.gnuplot.info/>.]) fi ## Substitute variables: AC_SUBST(VERSION) AC_SUBST(MYSQL) AC_SUBST(PHP) AC_SUBST(PYTHON) AC_SUBST(CLIDIR) AC_SUBST(PDFTOTEXT) AC_SUBST(PDFTK) AC_SUBST(PDF2PS) AC_SUBST(PSTOTEXT) AC_SUBST(PSTOASCII) AC_SUBST(ANTIWORD) AC_SUBST(CATDOC) AC_SUBST(WVTEXT) AC_SUBST(PPTHTML) AC_SUBST(XLHTML) AC_SUBST(HTMLTOTEXT) AC_SUBST(localstatedir, `eval echo "${localstatedir}"`) AC_SUBST(CACHEDIR) AC_SUBST(CLISP) AC_SUBST(CMUCL) AC_SUBST(SBCL) AC_SUBST(GNUPLOT) AC_SUBST(DJPEG) AC_SUBST(CONVERT) AC_SUBST(GIFTEXT) AC_SUBST(JPEGSIZE) AC_SUBST(PNMSCALE) AC_SUBST(PPMQUANT) AC_SUBST(PPMTOGIF) AC_SUBST(GIFINTER) AC_SUBST(GIFRSIZE) ## Define output files: AC_CONFIG_FILES([config.nice \ Makefile \ po/Makefile.in \ config/Makefile \ config/invenio-autotools.conf \ modules/Makefile \ + modules/bibcirculation/Makefile \ + modules/bibcirculation/bin/Makefile \ + modules/bibcirculation/doc/Makefile \ + modules/bibcirculation/doc/admin/Makefile \ + modules/bibcirculation/doc/hacking/Makefile + modules/bibcirculation/lib/Makefile \ + modules/bibcirculation/web/Makefile \ + modules/bibcirculation/web/admin/Makefile \ + modules/bibclassify/Makefile \ + modules/bibclassify/bin/Makefile \ + modules/bibclassify/bin/bibclassify \ + modules/bibclassify/bin/bibclassifyd \ + modules/bibclassify/doc/Makefile \ + modules/bibclassify/doc/admin/Makefile \ + modules/bibclassify/doc/hacking/Makefile \ + modules/bibclassify/etc/Makefile + modules/bibclassify/lib/Makefile modules/bibconvert/Makefile \ modules/bibconvert/bin/Makefile \ modules/bibconvert/bin/bibconvert \ modules/bibconvert/doc/Makefile \ modules/bibconvert/doc/admin/Makefile \ modules/bibconvert/doc/hacking/Makefile \ modules/bibconvert/etc/Makefile \ modules/bibconvert/lib/Makefile \ - modules/bibmatch/Makefile \ - modules/bibmatch/bin/Makefile \ - modules/bibmatch/bin/bibmatch \ - modules/bibmatch/doc/Makefile \ - modules/bibmatch/doc/admin/Makefile \ - modules/bibmatch/etc/Makefile \ - modules/bibmatch/lib/Makefile \ modules/bibedit/Makefile \ modules/bibedit/bin/Makefile \ + modules/bibedit/bin/bibedit \ modules/bibedit/bin/refextract \ - modules/bibedit/bin/xmlmarclint \ modules/bibedit/bin/xmlmarc2textmarc \ - modules/bibedit/bin/bibedit \ + modules/bibedit/bin/xmlmarclint \ modules/bibedit/doc/Makefile \ modules/bibedit/doc/admin/Makefile \ modules/bibedit/doc/hacking/Makefile \ modules/bibedit/etc/Makefile \ modules/bibedit/lib/Makefile \ modules/bibedit/web/Makefile \ modules/bibedit/web/admin/Makefile \ + modules/bibexport/Makefile \ + modules/bibexport/bin/Makefile \ + modules/bibexport/bin/bibexport \ + modules/bibexport/doc/Makefile \ + modules/bibexport/doc/admin/Makefile \ + modules/bibexport/doc/hacking/Makefile + modules/bibexport/etc/Makefile \ + modules/bibexport/lib/Makefile \ + modules/bibexport/web/Makefile \ + modules/bibexport/web/admin/Makefile \ modules/bibformat/Makefile \ modules/bibformat/bin/Makefile \ modules/bibformat/bin/bibreformat \ modules/bibformat/doc/Makefile \ modules/bibformat/doc/admin/Makefile \ modules/bibformat/doc/hacking/Makefile \ modules/bibformat/etc/Makefile \ - modules/bibformat/etc/output_formats/Makefile \ modules/bibformat/etc/format_templates/Makefile \ + modules/bibformat/etc/output_formats/Makefile \ modules/bibformat/lib/Makefile \ modules/bibformat/lib/elements/Makefile \ modules/bibformat/web/Makefile \ modules/bibformat/web/admin/Makefile \ modules/bibharvest/Makefile \ modules/bibharvest/bin/Makefile \ modules/bibharvest/bin/bibharvest \ - modules/bibharvest/bin/oaiharvest \ modules/bibharvest/bin/oaiarchive \ + modules/bibharvest/bin/oaiharvest \ modules/bibharvest/doc/Makefile \ modules/bibharvest/doc/admin/Makefile \ modules/bibharvest/doc/hacking/Makefile \ modules/bibharvest/lib/Makefile \ modules/bibharvest/web/Makefile \ modules/bibharvest/web/admin/Makefile \ - modules/bibclassify/Makefile \ - modules/bibclassify/bin/Makefile \ - modules/bibclassify/bin/bibclassify \ - modules/bibclassify/bin/bibclassifyd \ - modules/bibclassify/doc/Makefile \ - modules/bibclassify/doc/admin/Makefile \ - modules/bibclassify/doc/hacking/Makefile \ - modules/bibclassify/etc/Makefile - modules/bibclassify/lib/Makefile modules/bibindex/Makefile \ modules/bibindex/bin/Makefile \ modules/bibindex/bin/bibindex \ modules/bibindex/bin/bibstat \ modules/bibindex/doc/Makefile \ modules/bibindex/doc/admin/Makefile \ modules/bibindex/doc/hacking/Makefile \ modules/bibindex/lib/Makefile \ modules/bibindex/web/Makefile \ modules/bibindex/web/admin/Makefile \ + modules/bibmatch/Makefile \ + modules/bibmatch/bin/Makefile \ + modules/bibmatch/bin/bibmatch \ + modules/bibmatch/doc/Makefile \ + modules/bibmatch/doc/admin/Makefile \ + modules/bibmatch/etc/Makefile \ + modules/bibmatch/lib/Makefile \ modules/bibrank/Makefile \ modules/bibrank/bin/Makefile \ modules/bibrank/bin/bibrank \ modules/bibrank/bin/bibrankgkb \ modules/bibrank/doc/Makefile \ modules/bibrank/doc/admin/Makefile \ modules/bibrank/doc/hacking/Makefile \ modules/bibrank/etc/Makefile \ modules/bibrank/etc/bibrankgkb.cfg \ modules/bibrank/etc/demo_jif.cfg \ modules/bibrank/etc/template_single_tag_rank_method.cfg \ modules/bibrank/lib/Makefile \ modules/bibrank/web/Makefile \ modules/bibrank/web/admin/Makefile \ modules/bibsched/Makefile \ modules/bibsched/bin/Makefile \ modules/bibsched/bin/bibsched \ modules/bibsched/bin/bibtaskex \ modules/bibsched/doc/Makefile \ modules/bibsched/doc/admin/Makefile \ modules/bibsched/doc/hacking/Makefile \ modules/bibsched/lib/Makefile \ modules/bibupload/Makefile \ modules/bibupload/bin/Makefile \ modules/bibupload/bin/bibupload \ modules/bibupload/doc/Makefile \ modules/bibupload/doc/admin/Makefile \ modules/bibupload/doc/hacking/Makefile \ modules/bibupload/lib/Makefile \ modules/elmsubmit/Makefile \ modules/elmsubmit/bin/Makefile \ modules/elmsubmit/bin/elmsubmit \ modules/elmsubmit/doc/Makefile \ modules/elmsubmit/doc/admin/Makefile \ modules/elmsubmit/doc/hacking/Makefile \ modules/elmsubmit/etc/Makefile \ modules/elmsubmit/etc/elmsubmit.cfg \ modules/elmsubmit/lib/Makefile \ modules/miscutil/Makefile \ modules/miscutil/bin/Makefile \ modules/miscutil/bin/dbexec \ modules/miscutil/bin/inveniocfg \ - modules/miscutil/lib/Makefile \ modules/miscutil/demo/Makefile \ - modules/miscutil/sql/Makefile \ - modules/miscutil/web/Makefile \ modules/miscutil/doc/Makefile \ modules/miscutil/doc/hacking/Makefile \ + modules/miscutil/lib/Makefile \ + modules/miscutil/sql/Makefile \ + modules/miscutil/web/Makefile \ modules/webaccess/Makefile \ modules/webaccess/bin/Makefile \ modules/webaccess/bin/authaction \ modules/webaccess/bin/webaccessadmin \ modules/webaccess/doc/Makefile \ modules/webaccess/doc/admin/Makefile \ modules/webaccess/doc/hacking/Makefile \ modules/webaccess/lib/Makefile \ modules/webaccess/web/Makefile \ modules/webaccess/web/admin/Makefile \ modules/webalert/Makefile \ modules/webalert/bin/Makefile \ modules/webalert/bin/alertengine \ modules/webalert/doc/Makefile \ modules/webalert/doc/admin/Makefile \ modules/webalert/doc/hacking/Makefile \ modules/webalert/lib/Makefile \ modules/webalert/web/Makefile \ + modules/webbasket/Makefile \ + modules/webbasket/doc/Makefile \ + modules/webbasket/doc/admin/Makefile \ + modules/webbasket/doc/hacking/Makefile \ + modules/webbasket/lib/Makefile \ + modules/webbasket/web/Makefile \ + modules/webcomment/Makefile \ + modules/webcomment/doc/Makefile \ + modules/webcomment/doc/admin/Makefile \ + modules/webcomment/doc/hacking/Makefile \ + modules/webcomment/lib/Makefile \ + modules/webcomment/web/Makefile \ + modules/webcomment/web/admin/Makefile \ modules/webhelp/Makefile \ modules/webhelp/web/Makefile \ - modules/webhelp/web/hacking/Makefile \ modules/webhelp/web/admin/Makefile \ modules/webhelp/web/admin/howto/Makefile \ + modules/webhelp/web/hacking/Makefile \ + modules/webjournal/Makefile \ + modules/webjournal/doc/Makefile \ + modules/webjournal/doc/admin/Makefile \ + modules/webjournal/doc/hacking/Makefile \ + modules/webjournal/lib/Makefile \ + modules/webjournal/lib/widgets/Makefile \ + modules/webjournal/web/Makefile \ + modules/webjournal/web/admin/Makefile \ + modules/webmessage/Makefile \ + modules/webmessage/bin/Makefile \ + modules/webmessage/bin/webmessageadmin \ + modules/webmessage/doc/Makefile \ + modules/webmessage/doc/admin/Makefile \ + modules/webmessage/doc/hacking/Makefile \ + modules/webmessage/lib/Makefile \ + modules/webmessage/web/Makefile \ modules/websearch/Makefile \ modules/websearch/bin/Makefile \ modules/websearch/bin/webcoll \ modules/websearch/doc/Makefile \ modules/websearch/doc/admin/Makefile \ modules/websearch/doc/hacking/Makefile \ modules/websearch/lib/Makefile \ modules/websearch/web/Makefile \ modules/websearch/web/admin/Makefile \ modules/websession/Makefile \ modules/websession/bin/Makefile \ modules/websession/bin/inveniogc \ modules/websession/doc/Makefile \ modules/websession/doc/admin/Makefile \ modules/websession/doc/hacking/Makefile \ modules/websession/lib/Makefile \ modules/websession/web/Makefile \ modules/webstat/Makefile \ modules/webstat/bin/Makefile \ modules/webstat/bin/webstat \ modules/webstat/bin/webstatadmin \ modules/webstat/doc/Makefile \ modules/webstat/doc/admin/Makefile \ modules/webstat/doc/hacking/Makefile \ modules/webstat/etc/Makefile \ modules/webstat/lib/Makefile \ modules/webstyle/Makefile \ modules/webstyle/bin/Makefile \ modules/webstyle/bin/webdoc \ modules/webstyle/css/Makefile \ modules/webstyle/doc/Makefile \ - modules/webstyle/etc/Makefile \ modules/webstyle/doc/admin/Makefile \ modules/webstyle/doc/hacking/Makefile \ + modules/webstyle/etc/Makefile \ modules/webstyle/img/Makefile \ modules/webstyle/lib/Makefile \ - modules/webcomment/Makefile \ - modules/webcomment/doc/Makefile \ - modules/webcomment/doc/admin/Makefile \ - modules/webcomment/doc/hacking/Makefile \ - modules/webcomment/lib/Makefile \ - modules/webcomment/web/Makefile \ - modules/webcomment/web/admin/Makefile \ - modules/webbasket/Makefile \ - modules/webbasket/doc/Makefile \ - modules/webbasket/doc/admin/Makefile \ - modules/webbasket/doc/hacking/Makefile \ - modules/webbasket/lib/Makefile \ - modules/webbasket/web/Makefile \ - modules/webjournal/Makefile \ - modules/webjournal/doc/Makefile \ - modules/webjournal/doc/admin/Makefile \ - modules/webjournal/doc/hacking/Makefile \ - modules/webjournal/lib/Makefile \ - modules/webjournal/lib/widgets/Makefile \ - modules/webjournal/web/Makefile \ - modules/webjournal/web/admin/Makefile \ - modules/webmessage/Makefile \ - modules/webmessage/bin/Makefile \ - modules/webmessage/bin/webmessageadmin \ - modules/webmessage/doc/Makefile \ - modules/webmessage/doc/admin/Makefile \ - modules/webmessage/doc/hacking/Makefile \ - modules/webmessage/lib/Makefile \ - modules/webmessage/web/Makefile \ modules/websubmit/Makefile \ modules/websubmit/bin/Makefile \ modules/websubmit/bin/bibdocfile \ - modules/websubmit/etc/Makefile \ modules/websubmit/doc/Makefile \ modules/websubmit/doc/admin/Makefile \ modules/websubmit/doc/hacking/Makefile \ + modules/websubmit/etc/Makefile \ modules/websubmit/lib/Makefile \ modules/websubmit/lib/functions/Makefile \ modules/websubmit/web/Makefile \ modules/websubmit/web/admin/Makefile \ - modules/bibcirculation/Makefile \ - modules/bibcirculation/doc/Makefile \ - modules/bibcirculation/doc/admin/Makefile \ - modules/bibcirculation/doc/hacking/Makefile - modules/bibcirculation/lib/Makefile \ - modules/bibcirculation/web/Makefile \ - modules/bibcirculation/web/admin/Makefile \ - modules/bibcirculation/bin/Makefile \ ]) ## Finally, write output files: AC_OUTPUT ## Write help: AC_MSG_RESULT([****************************************************************************]) AC_MSG_RESULT([** Your CDS Invenio installation is now ready for building. **]) AC_MSG_RESULT([** You have entered the following parameters: **]) AC_MSG_RESULT([** - CDS Invenio main install directory: ${prefix}]) AC_MSG_RESULT([** - Python executable: $PYTHON]) AC_MSG_RESULT([** - MySQL client executable: $MYSQL]) AC_MSG_RESULT([** - CLISP executable: $CLISP]) AC_MSG_RESULT([** - CMUCL executable: $CMUCL]) AC_MSG_RESULT([** - SBCL executable: $SBCL]) AC_MSG_RESULT([** Here are the steps to continue the building process: **]) AC_MSG_RESULT([** 1) Type 'make' to build your CDS Invenio system. **]) AC_MSG_RESULT([** 2) Type 'make install' to install your CDS Invenio system. **]) AC_MSG_RESULT([** After that you can start customizing your installation as documented **]) AC_MSG_RESULT([** in the INSTALL file (i.e. edit invenio.conf, run inveniocfg, etc). **]) AC_MSG_RESULT([** Good luck, and thanks for choosing CDS Invenio. **]) AC_MSG_RESULT([** -- CDS Development Group <cds.support@cern.ch> **]) AC_MSG_RESULT([****************************************************************************]) ## end of file diff --git a/modules/Makefile.am b/modules/Makefile.am index d53acd12d..425d6143f 100644 --- a/modules/Makefile.am +++ b/modules/Makefile.am @@ -1,22 +1,22 @@ ## $Id$ ## This file is part of CDS Invenio. ## Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007, 2008 CERN. ## ## CDS Invenio is free software; you can redistribute it and/or ## modify it under the terms of the GNU General Public License as ## published by the Free Software Foundation; either version 2 of the ## License, or (at your option) any later version. ## ## CDS Invenio is distributed in the hope that it will be useful, but ## WITHOUT ANY WARRANTY; without even the implied warranty of ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ## General Public License for more details. ## ## You should have received a copy of the GNU General Public License ## along with CDS Invenio; if not, write to the Free Software Foundation, Inc., ## 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. -SUBDIRS = bibcirculation bibclassify bibconvert bibedit bibharvest bibmatch bibsched bibindex bibrank bibupload bibformat elmsubmit miscutil webstyle websession webhelp webbasket webalert websearch websubmit webaccess webmessage webstat webcomment webjournal +SUBDIRS = bibcirculation bibclassify bibconvert bibedit bibexport bibharvest bibmatch bibsched bibindex bibrank bibupload bibformat elmsubmit miscutil webstyle websession webhelp webbasket webalert websearch websubmit webaccess webmessage webstat webcomment webjournal CLEANFILES = *~ diff --git a/modules/bibexport/.cvsignore b/modules/bibexport/.cvsignore new file mode 100644 index 000000000..a3409fca7 --- /dev/null +++ b/modules/bibexport/.cvsignore @@ -0,0 +1,5 @@ +Makefile +Makefile.in +z_* +*.O +*~ \ No newline at end of file diff --git a/modules/Makefile.am b/modules/bibexport/Makefile.am similarity index 76% copy from modules/Makefile.am copy to modules/bibexport/Makefile.am index d53acd12d..e3570c171 100644 --- a/modules/Makefile.am +++ b/modules/bibexport/Makefile.am @@ -1,22 +1,22 @@ ## $Id$ ## This file is part of CDS Invenio. ## Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007, 2008 CERN. ## ## CDS Invenio is free software; you can redistribute it and/or ## modify it under the terms of the GNU General Public License as ## published by the Free Software Foundation; either version 2 of the ## License, or (at your option) any later version. ## ## CDS Invenio is distributed in the hope that it will be useful, but ## WITHOUT ANY WARRANTY; without even the implied warranty of ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ## General Public License for more details. ## ## You should have received a copy of the GNU General Public License ## along with CDS Invenio; if not, write to the Free Software Foundation, Inc., ## 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. -SUBDIRS = bibcirculation bibclassify bibconvert bibedit bibharvest bibmatch bibsched bibindex bibrank bibupload bibformat elmsubmit miscutil webstyle websession webhelp webbasket webalert websearch websubmit webaccess webmessage webstat webcomment webjournal +SUBDIRS = bin doc etc lib web CLEANFILES = *~ diff --git a/modules/bibexport/bin/.cvsignore b/modules/bibexport/bin/.cvsignore new file mode 100644 index 000000000..0a705cc6e --- /dev/null +++ b/modules/bibexport/bin/.cvsignore @@ -0,0 +1,6 @@ +Makefile +Makefile.in +bibexport +z_* +*.O +*~ diff --git a/modules/Makefile.am b/modules/bibexport/bin/Makefile.am similarity index 75% copy from modules/Makefile.am copy to modules/bibexport/bin/Makefile.am index d53acd12d..85f8196ab 100644 --- a/modules/Makefile.am +++ b/modules/bibexport/bin/Makefile.am @@ -1,22 +1,24 @@ ## $Id$ ## This file is part of CDS Invenio. ## Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007, 2008 CERN. ## ## CDS Invenio is free software; you can redistribute it and/or ## modify it under the terms of the GNU General Public License as ## published by the Free Software Foundation; either version 2 of the ## License, or (at your option) any later version. ## ## CDS Invenio is distributed in the hope that it will be useful, but ## WITHOUT ANY WARRANTY; without even the implied warranty of ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ## General Public License for more details. ## ## You should have received a copy of the GNU General Public License ## along with CDS Invenio; if not, write to the Free Software Foundation, Inc., ## 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. -SUBDIRS = bibcirculation bibclassify bibconvert bibedit bibharvest bibmatch bibsched bibindex bibrank bibupload bibformat elmsubmit miscutil webstyle websession webhelp webbasket webalert websearch websubmit webaccess webmessage webstat webcomment webjournal +bin_SCRIPTS = bibexport -CLEANFILES = *~ +EXTRA_DIST = bibexport.in + +CLEANFILES = *~ bibexportc diff --git a/modules/bibexport/bin/bibexport.in b/modules/bibexport/bin/bibexport.in new file mode 100644 index 000000000..159fafa48 --- /dev/null +++ b/modules/bibexport/bin/bibexport.in @@ -0,0 +1,49 @@ +#!@PYTHON@ +## -*- mode: python; coding: utf-8; -*- +## +## $Id$ +## +## This file is part of CDS Invenio. +## Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007, 2008 CERN. +## +## CDS Invenio is free software; you can redistribute it and/or +## modify it under the terms of the GNU General Public License as +## published by the Free Software Foundation; either version 2 of the +## License, or (at your option) any later version. +## +## CDS Invenio is distributed in the hope that it will be useful, but +## WITHOUT ANY WARRANTY; without even the implied warranty of +## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +## General Public License for more details. +## +## You should have received a copy of the GNU General Public License +## along with CDS Invenio; if not, write to the Free Software Foundation, Inc., +## 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. + +""" +BibExport daemon. + +Usage: %s [options] + + Scheduling options: + -u, --user=USER user name to store task, password needed + -s, --sleeptime=SLEEP time after which to repeat tasks (no) + e.g.: 1s, 30m, 24h, 7d + -t, --time=TIME moment for the task to be active (now) + e.g.: +15s, 5m, 3h , 2002-10-27 13:57:26 + General options: + -h, --help print this help and exit + -V, --version print version and exit + -v, --verbose=LEVEL verbose level (from 0 to 9, default 1) +""" + +__revision__ = "$Id$" + +try: + from invenio.bibexport import main +except ImportError, e: + print "Error: %s" % e + import sys + sys.exit(1) + +main() diff --git a/modules/bibexport/doc/.cvsignore b/modules/bibexport/doc/.cvsignore new file mode 100644 index 000000000..a3409fca7 --- /dev/null +++ b/modules/bibexport/doc/.cvsignore @@ -0,0 +1,5 @@ +Makefile +Makefile.in +z_* +*.O +*~ \ No newline at end of file diff --git a/modules/Makefile.am b/modules/bibexport/doc/Makefile.am similarity index 76% copy from modules/Makefile.am copy to modules/bibexport/doc/Makefile.am index d53acd12d..7d815edef 100644 --- a/modules/Makefile.am +++ b/modules/bibexport/doc/Makefile.am @@ -1,22 +1,22 @@ ## $Id$ ## This file is part of CDS Invenio. ## Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007, 2008 CERN. ## ## CDS Invenio is free software; you can redistribute it and/or ## modify it under the terms of the GNU General Public License as ## published by the Free Software Foundation; either version 2 of the ## License, or (at your option) any later version. ## ## CDS Invenio is distributed in the hope that it will be useful, but ## WITHOUT ANY WARRANTY; without even the implied warranty of ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ## General Public License for more details. ## ## You should have received a copy of the GNU General Public License ## along with CDS Invenio; if not, write to the Free Software Foundation, Inc., ## 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. -SUBDIRS = bibcirculation bibclassify bibconvert bibedit bibharvest bibmatch bibsched bibindex bibrank bibupload bibformat elmsubmit miscutil webstyle websession webhelp webbasket webalert websearch websubmit webaccess webmessage webstat webcomment webjournal +SUBDIRS = admin hacking CLEANFILES = *~ diff --git a/modules/bibexport/doc/admin/.cvsignore b/modules/bibexport/doc/admin/.cvsignore new file mode 100644 index 000000000..a3409fca7 --- /dev/null +++ b/modules/bibexport/doc/admin/.cvsignore @@ -0,0 +1,5 @@ +Makefile +Makefile.in +z_* +*.O +*~ \ No newline at end of file diff --git a/modules/Makefile.am b/modules/bibexport/doc/admin/Makefile.am similarity index 74% copy from modules/Makefile.am copy to modules/bibexport/doc/admin/Makefile.am index d53acd12d..3ded297fc 100644 --- a/modules/Makefile.am +++ b/modules/bibexport/doc/admin/Makefile.am @@ -1,22 +1,19 @@ ## $Id$ ## This file is part of CDS Invenio. ## Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007, 2008 CERN. ## ## CDS Invenio is free software; you can redistribute it and/or ## modify it under the terms of the GNU General Public License as ## published by the Free Software Foundation; either version 2 of the ## License, or (at your option) any later version. ## ## CDS Invenio is distributed in the hope that it will be useful, but ## WITHOUT ANY WARRANTY; without even the implied warranty of ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ## General Public License for more details. ## ## You should have received a copy of the GNU General Public License ## along with CDS Invenio; if not, write to the Free Software Foundation, Inc., ## 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. -SUBDIRS = bibcirculation bibclassify bibconvert bibedit bibharvest bibmatch bibsched bibindex bibrank bibupload bibformat elmsubmit miscutil webstyle websession webhelp webbasket webalert websearch websubmit webaccess webmessage webstat webcomment webjournal - -CLEANFILES = *~ diff --git a/modules/bibexport/doc/hacking/.cvsignore b/modules/bibexport/doc/hacking/.cvsignore new file mode 100644 index 000000000..a3409fca7 --- /dev/null +++ b/modules/bibexport/doc/hacking/.cvsignore @@ -0,0 +1,5 @@ +Makefile +Makefile.in +z_* +*.O +*~ \ No newline at end of file diff --git a/modules/Makefile.am b/modules/bibexport/doc/hacking/Makefile.am similarity index 74% copy from modules/Makefile.am copy to modules/bibexport/doc/hacking/Makefile.am index d53acd12d..3ded297fc 100644 --- a/modules/Makefile.am +++ b/modules/bibexport/doc/hacking/Makefile.am @@ -1,22 +1,19 @@ ## $Id$ ## This file is part of CDS Invenio. ## Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007, 2008 CERN. ## ## CDS Invenio is free software; you can redistribute it and/or ## modify it under the terms of the GNU General Public License as ## published by the Free Software Foundation; either version 2 of the ## License, or (at your option) any later version. ## ## CDS Invenio is distributed in the hope that it will be useful, but ## WITHOUT ANY WARRANTY; without even the implied warranty of ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ## General Public License for more details. ## ## You should have received a copy of the GNU General Public License ## along with CDS Invenio; if not, write to the Free Software Foundation, Inc., ## 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. -SUBDIRS = bibcirculation bibclassify bibconvert bibedit bibharvest bibmatch bibsched bibindex bibrank bibupload bibformat elmsubmit miscutil webstyle websession webhelp webbasket webalert websearch websubmit webaccess webmessage webstat webcomment webjournal - -CLEANFILES = *~ diff --git a/modules/bibexport/etc/.cvsignore b/modules/bibexport/etc/.cvsignore new file mode 100644 index 000000000..a3409fca7 --- /dev/null +++ b/modules/bibexport/etc/.cvsignore @@ -0,0 +1,5 @@ +Makefile +Makefile.in +z_* +*.O +*~ \ No newline at end of file diff --git a/modules/Makefile.am b/modules/bibexport/etc/Makefile.am similarity index 75% copy from modules/Makefile.am copy to modules/bibexport/etc/Makefile.am index d53acd12d..1fcf7858b 100644 --- a/modules/Makefile.am +++ b/modules/bibexport/etc/Makefile.am @@ -1,22 +1,27 @@ ## $Id$ ## This file is part of CDS Invenio. ## Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007, 2008 CERN. ## ## CDS Invenio is free software; you can redistribute it and/or ## modify it under the terms of the GNU General Public License as ## published by the Free Software Foundation; either version 2 of the ## License, or (at your option) any later version. ## ## CDS Invenio is distributed in the hope that it will be useful, but ## WITHOUT ANY WARRANTY; without even the implied warranty of ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ## General Public License for more details. ## ## You should have received a copy of the GNU General Public License ## along with CDS Invenio; if not, write to the Free Software Foundation, Inc., ## 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. -SUBDIRS = bibcirculation bibclassify bibconvert bibedit bibharvest bibmatch bibsched bibindex bibrank bibupload bibformat elmsubmit miscutil webstyle websession webhelp webbasket webalert websearch websubmit webaccess webmessage webstat webcomment webjournal +etcdir = $(sysconfdir)/bibexport -CLEANFILES = *~ +etc_DATA = sitemap.cfg \ + googlescholar.cfg + +EXTRA_DIST = $(etc_DATA) + +CLEANFILES = *~ *.tmp diff --git a/modules/bibexport/etc/googlescholar.cfg b/modules/bibexport/etc/googlescholar.cfg new file mode 100644 index 000000000..06aac345f --- /dev/null +++ b/modules/bibexport/etc/googlescholar.cfg @@ -0,0 +1,2 @@ +[export_job] +export_method = googlescholar diff --git a/modules/bibexport/etc/sitemap.cfg b/modules/bibexport/etc/sitemap.cfg new file mode 100644 index 000000000..ffb08bc98 --- /dev/null +++ b/modules/bibexport/etc/sitemap.cfg @@ -0,0 +1,7 @@ +[export_job] +export_method = sitemap +collection1 = Articles +collection2 = Preprints +collection3 = Reports +#fulltext_status = restricted_picture +fulltext_status = restricted_picture diff --git a/modules/bibexport/lib/.cvsignore b/modules/bibexport/lib/.cvsignore new file mode 100644 index 000000000..a3409fca7 --- /dev/null +++ b/modules/bibexport/lib/.cvsignore @@ -0,0 +1,5 @@ +Makefile +Makefile.in +z_* +*.O +*~ \ No newline at end of file diff --git a/modules/Makefile.am b/modules/bibexport/lib/Makefile.am similarity index 75% copy from modules/Makefile.am copy to modules/bibexport/lib/Makefile.am index d53acd12d..560f68c27 100644 --- a/modules/Makefile.am +++ b/modules/bibexport/lib/Makefile.am @@ -1,22 +1,28 @@ ## $Id$ ## This file is part of CDS Invenio. ## Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007, 2008 CERN. ## ## CDS Invenio is free software; you can redistribute it and/or ## modify it under the terms of the GNU General Public License as ## published by the Free Software Foundation; either version 2 of the ## License, or (at your option) any later version. ## ## CDS Invenio is distributed in the hope that it will be useful, but ## WITHOUT ANY WARRANTY; without even the implied warranty of ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ## General Public License for more details. ## ## You should have received a copy of the GNU General Public License ## along with CDS Invenio; if not, write to the Free Software Foundation, Inc., ## 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. -SUBDIRS = bibcirculation bibclassify bibconvert bibedit bibharvest bibmatch bibsched bibindex bibrank bibupload bibformat elmsubmit miscutil webstyle websession webhelp webbasket webalert websearch websubmit webaccess webmessage webstat webcomment webjournal +pylibdir = $(libdir)/python/invenio -CLEANFILES = *~ +pylib_DATA = bibexport.py \ + bibexport_method_sitemap.py \ + bibexport_method_googlescholar.py + +EXTRA_DIST = $(pylib_DATA) + +CLEANFILES = *~ *.tmp *.pyc diff --git a/modules/bibexport/lib/bibexport.py b/modules/bibexport/lib/bibexport.py new file mode 100644 index 000000000..8cdb2ac40 --- /dev/null +++ b/modules/bibexport/lib/bibexport.py @@ -0,0 +1,147 @@ +## -*- mode: python; coding: utf-8; -*- +## +## $Id$ +## +## This file is part of CDS Invenio. +## Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007, 2008 CERN. +## +## CDS Invenio is free software; you can redistribute it and/or +## modify it under the terms of the GNU General Public License as +## published by the Free Software Foundation; either version 2 of the +## License, or (at your option) any later version. +## +## CDS Invenio is distributed in the hope that it will be useful, but +## WITHOUT ANY WARRANTY; without even the implied warranty of +## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +## General Public License for more details. +## +## You should have received a copy of the GNU General Public License +## along with CDS Invenio; if not, write to the Free Software Foundation, Inc., +## 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. + +""" +BibExport daemon. + +Usage: %s [options] + + Scheduling options: + -u, --user=USER user name to store task, password needed + -s, --sleeptime=SLEEP time after which to repeat tasks (no) + e.g.: 1s, 30m, 24h, 7d + -t, --time=TIME moment for the task to be active (now) + e.g.: +15s, 5m, 3h , 2002-10-27 13:57:26 + General options: + -h, --help print this help and exit + -V, --version print version and exit + -v, --verbose=LEVEL verbose level (from 0 to 9, default 1) +""" + +__revision__ = "$Id$" + +import os +import sys +from ConfigParser import ConfigParser + +from invenio.config import CFG_ETCDIR +from invenio.dbquery import run_sql +from invenio.bibtask import task_init, write_message, task_set_option, \ + task_get_option, task_update_progress, task_has_option, \ + task_get_task_param#, task_sleep_now_if_required + +def _detect_jobs_to_run(string_of_jobnames=None): + """Detect which jobs to run from optional string of jobs. + If not passed, run all jobs. + Return list of jobnames to run.""" + if string_of_jobnames: + jobnames = string_of_jobnames.split(',') + else: + jobnames = [] + # FIXME: pay attention to periodicity; extract only jobs needed to run + res = run_sql("SELECT jobname FROM expJOB") + for row in res: + jobnames.append(row[0]) + return jobnames + +def _detect_export_method(jobname): + """Detect export method of JOBNAME. Basically, parse JOBNAME.cfg + and return export_method. Return None if problem found.""" + jobconf = ConfigParser() + jobconffile = CFG_ETCDIR + os.sep + 'bibexport' + os.sep + jobname + '.cfg' + if not os.path.exists(jobconffile): + write_message("ERROR: cannot find config file %s." % jobconffile, sys.stderr) + return None + jobconf.read(jobconffile) + export_method = jobconf.get('export_job', 'export_method') + return export_method + +def _update_job_lastrun_time(jobname): + """Update expJOB table and set lastrun time of JOBNAME to the task + starting time.""" + run_sql("UPDATE expJOB SET lastrun=%s WHERE jobname=%s", + (task_get_task_param('task_starting_time'), jobname,)) + +def task_run_core(): + """ + Runs the task by fetching arguments from the BibSched task queue. This is + what BibSched will be invoking via daemon call. + """ + errors_encountered_p = False + jobnames = _detect_jobs_to_run(task_get_option('wjob')) + for jobname in jobnames: + jobname_export_method = _detect_export_method(jobname) + if not jobname_export_method: + write_message("ERROR: cannot detect export method for job %s." % jobname, sys.stderr) + errors_encountered_p = True + else: + try: + # every bibexport method must define run_export_job() that will do the job + exec "from invenio.bibexport_method_%s import run_export_method" % jobname_export_method + write_message("started export job " + jobname, verbose=3) + run_export_method(jobname) + _update_job_lastrun_time(jobname) + write_message("finished export job " + jobname, verbose=3) + except Exception, msg: + write_message("ERROR: cannot run export job %s: %s." % (jobname, msg), sys.stderr) + errors_encountered_p = True + return not errors_encountered_p + +def task_submit_check_options(): + """Check that options are valid.""" + if task_has_option('wjob'): + jobnames = task_get_option('wjob') + if jobnames: + jobnames = jobnames.split(',') + for jobname in jobnames: + res = run_sql("SELECT COUNT(*) FROM expJOB WHERE jobname=%s", (jobname,)) + if res and res[0][0]: + # okay, jobname exists + pass + else: + write_message("Sorry, job name %s is not known. Exiting." % jobname) + return False + return True + +def task_submit_elaborate_specific_parameter(key, value, opts, args): + """Usual 'elaboration' of task specific parameters adapted to the bibexport task.""" + if key in ("-w", "--wjob"): + task_set_option("wjob", value) + else: + return False + return True + +def main(): + """Main function that constructs full bibtask.""" + task_init(authorization_action='runbibexport', + authorization_msg="BibExport Task Submission", + help_specific_usage="""Export options: + -w, --wjob=j1[,j2]\tRun specific exporting jobs j1, j2, etc (e.g. 'sitemap'). +""", + version=__revision__, + specific_params=("w:", ["wjob=",]), + task_submit_elaborate_specific_parameter_fnc=task_submit_elaborate_specific_parameter, + task_submit_check_options_fnc=task_submit_check_options, + task_run_fnc=task_run_core) + +if __name__ == "__main__": + _detect_export_method("sitemap") + main() diff --git a/modules/bibexport/lib/bibexport_method_googlescholar.py b/modules/bibexport/lib/bibexport_method_googlescholar.py new file mode 100644 index 000000000..326252df6 --- /dev/null +++ b/modules/bibexport/lib/bibexport_method_googlescholar.py @@ -0,0 +1,56 @@ +# -*- coding: utf-8 -*- +## +## $Id$ +## +## This file is part of CDS Invenio. +## Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007, 2008 CERN. +## +## CDS Invenio is free software; you can redistribute it and/or +## modify it under the terms of the GNU General Public License as +## published by the Free Software Foundation; either version 2 of the +## License, or (at your option) any later version. +## +## CDS Invenio is distributed in the hope that it will be useful, but +## WITHOUT ANY WARRANTY; without even the implied warranty of +## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +## General Public License for more details. +## +## You should have received a copy of the GNU General Public License +## along with CDS Invenio; if not, write to the Free Software Foundation, Inc., +## 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. + +""" +BibExport plugin implementing 'googlescholar' exporting method. + +The main function is run_export_method(jobname) defined at the end. +This is what BibExport daemon calls for all the export jobs that use +this exporting method. + +The Google Scholar exporting method answers this use case: every first +of the month, please export all records modified during the last month +and matching these search criteria in an NLM format in such a way that +the output is split into files containing not more than 1000 records +and compressed via gzip and placed in this place from where Google +Scholar would fetch them. The output files would be organized like +this: + +* all exportable records: + + /export/google-scholar/all-index.nlm.html - links to parts below + /export/google-scholar/all-part1.nlm.xml.gz - first batch of 1000 records + /export/google-scholar/all-part2.nlm.xml.gz - second batch of 1000 records + ... + /export/google-scholar/all-partM.nlm.xml.gz - last batch of 1000 records + +* records modified in the last month: + + /export/google-scholar/lastmonth-index.nlm.html - links to parts below + /export/google-scholar/lastmonth-part1.nlm.xml.gz - first batch of 1000 records + /export/google-scholar/lastmonth-part2.nlm.xml.gz - second batch of 1000 records + ... + /export/google-scholar/lastmonth-partN.nlm.xml.gz - last batch of 1000 records +""" + +def run_export_method(jobname): + """Main function, reading params and running the task.""" + raise NotImplementedError diff --git a/modules/bibexport/lib/bibexport_method_sitemap.py b/modules/bibexport/lib/bibexport_method_sitemap.py new file mode 100644 index 000000000..61416e575 --- /dev/null +++ b/modules/bibexport/lib/bibexport_method_sitemap.py @@ -0,0 +1,394 @@ +# -*- coding: utf-8 -*- +## +## $Id$ +## +## This file is part of CDS Invenio. +## Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007, 2008 CERN. +## +## CDS Invenio is free software; you can redistribute it and/or +## modify it under the terms of the GNU General Public License as +## published by the Free Software Foundation; either version 2 of the +## License, or (at your option) any later version. +## +## CDS Invenio is distributed in the hope that it will be useful, but +## WITHOUT ANY WARRANTY; without even the implied warranty of +## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +## General Public License for more details. +## +## You should have received a copy of the GNU General Public License +## along with CDS Invenio; if not, write to the Free Software Foundation, Inc., +## 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. + +""" +BibExport plugin implementing 'sitemap' exporting method. + +The main function is run_export_method(jobname) defined at the end. +This is what BibExport daemon calls for all the export jobs that use +this exporting method. +""" + +from datetime import datetime +from urllib import quote + +from invenio.search_engine import get_collection_reclist +from invenio.dbquery import run_sql +from invenio.config import CFG_SITE_URL, CFG_WEBDIR +from invenio.intbitset import intbitset +from invenio.websearch_webcoll import Collection +from invenio.messages import language_list_long +from invenio.bibtask import task_init, write_message, task_set_option, \ + task_get_option, task_update_progress, task_has_option, \ + task_get_task_param#, task_sleep_now_if_required + +DEFAULT_TIMEZONE = '+01:00' + +DEFAULT_PRIORITY_HOME = 1 +DEFAULT_CHANGEFREQ_HOME = 'hourly' + +DEFAULT_PRIORITY_RECORDS = 0.8 +DEFAULT_CHANGEFREQ_RECORDS = 'weekly' + +DEFAULT_PRIORITY_COMMENTS = 0.4 +DEFAULT_CHANGEFREQ_COMMENTS = 'weekly' + +DEFAULT_PRIORITY_REVIEWS = 0.6 +DEFAULT_CHANGEFREQ_REVIEWS = 'weekly' + +DEFAULT_PRIORITY_FULLTEXTS = 0.9 +DEFAULT_CHANGEFREQ_FULLTEXTS = 'weekly' + +DEFAULT_PRIORITY_COLLECTIONS = 0.3 +DEFAULT_CHANGEFREQ_COLLECTIONS = 'hourly' + +MAX_RECORDS = 50000 +MAX_SIZE = 10000000 + +def get_all_public_records(collections): + """ Get all records which exist (i.e. not suppressed ones) and are in + accessible collection. + returns list of (recid, last_modification) tuples + """ + recids = intbitset() + for collection in collections: + recids += get_collection_reclist(collection) + query = 'SELECT id, modification_date FROM bibrec' + res = run_sql(query) + return [(recid, lastmod) for (recid, lastmod) in res if recid in recids] + +def get_all_public_collections(base_collections): + """ Return a list of (collection.name, last_modification) tuples for all + collections and subcollections of base_collections + """ + def get_collection_last_modification(collection): + """ last modification = modification date fo latest added record """ + last_mod = None + query_last_mod = "SELECT modification_date FROM bibrec WHERE id=%s" + try: + latest_recid = collection.reclist.tolist()[-1] + except IndexError: + # this collection is empty + return last_mod + res = run_sql(query_last_mod, (latest_recid,)) + + if res and res[0][0]: + last_mod = res[0][0] + return last_mod + + output = [] + for coll_name in base_collections: + mother_collection = Collection(coll_name) + if not mother_collection.restricted_p(): + last_mod = get_collection_last_modification(mother_collection) + output.append((coll_name, last_mod)) + for descendant in mother_collection.get_descendants(type='r'): + if not descendant.restricted_p(): + last_mod = get_collection_last_modification(descendant) + output.append((descendant.name, last_mod)) + for descendant in mother_collection.get_descendants(type='v'): + if not descendant.restricted_p(): + last_mod = get_collection_last_modification(descendant) + output.append((descendant.name, last_mod)) + return output + +def filter_fulltexts(recids, fulltext_type=None): + """ returns list of records having a fulltext of type x""" + recids = dict(recids) + if fulltext_type: + query = """SELECT id_bibrec, max(modification_date) + FROM bibrec_bibdoc + LEFT JOIN bibdoc ON bibrec_bibdoc.id_bibdoc=bibdoc.id + WHERE type=%s + GROUP BY id_bibrec""" + res = run_sql(query, (fulltext_type,)) + else: + query = """SELECT id_bibrec, max(modification_date) + FROM bibrec_bibdoc + LEFT JOIN bibdoc ON bibrec_bibdoc.id_bibdoc=bibdoc.id + GROUP BY id_bibrec""" + res = run_sql(query) + return [(recid, lastmod) for (recid, lastmod) in res if recid in recids] + + +def filter_comments(recids): + """ Retrieve recids having a comment. return (recid, last_review_date)""" + recids = dict(recids) + query = """SELECT id_bibrec, max(date_creation) + FROM cmtRECORDCOMMENT + WHERE star_score=0 + GROUP BY id_bibrec""" + res = run_sql(query) + return [(recid, lastmod) for (recid, lastmod) in res if recid in recids] + + +def filter_reviews(recids): + """ Retrieve recids having a review. return (recid, last_review_date)""" + recids = dict(recids) + query = """SELECT id_bibrec, max(date_creation) + FROM cmtRECORDCOMMENT + WHERE star_score>0 + GROUP BY id_bibrec""" + res = run_sql(query) + return [(recid, lastmod) for (recid, lastmod) in res if recid in recids] + + + +SITEMAP_HEADER = \ +'<?xml version="1.0" encoding="UTF-8"?>\n' \ +'<urlset\n' \ +' xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"\n' \ +' xsi:schemaLocation="http://www.sitemaps.org/schemas/sitemap/0.9\n' \ +' http://www.sitemaps.org/schemas/sitemap/0.9/sitemap.xsd"\n' \ +' xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">' + +SITEMAP_FOOTER = '\n</urlset>\n' + +class SitemapWriter(object): + """ Writer for sitemaps""" + + def __init__(self, name): + """ Constructor. + name: path to the sitemap file to be created + """ + self.header = SITEMAP_HEADER + self.footer = SITEMAP_FOOTER + self.name = name + self.filedescriptor = open(self.name, 'w') + self.num_urls = 0 + self.file_size = 0 + self.buffer = [] + self.filedescriptor.write(self.header) + self.file_size += len(self.footer) + + def add_url(self, url, lastmod="", changefreq="", priority=""): + """ create a new url node. Returns the number of url nodes in sitemap""" + self.num_urls += 1 + url_node = u""" + <url> + <loc>%s</loc>%s + </url>""" + optional = '' + if lastmod: + optional += u""" + <lastmod>%s</lastmod>""" % lastmod.strftime('%Y-%m-%dT%H:%M:%S' + \ + DEFAULT_TIMEZONE) + if changefreq: + optional += u""" + <changefreq>%s</changefreq>""" % changefreq + if priority: + optional += u""" + <priority>%s</priority>""" % priority + url_node %= (url, optional) + self.file_size += len(url_node) + self.buffer.append(url_node) + return self.num_urls + + def get_size(self): + """ File size. Should ot be > 10MB """ + return self.file_size + len(self.footer) + + def get_number_of_urls(self): + """ Number of urls in the sitemap. Should not be > 50'000""" + return self.num_urls + + def get_name(self): + """ Returns the filename """ + return self.name + + def close(self): + """ Writes the whole sitemap """ + self.filedescriptor.write(''.join(self.buffer) + self.footer) + self.filedescriptor.close() + +SITEMAP_INDEX_HEADER = \ +'<?xml version="1.0" encoding="UTF-8"?>\n' \ +'<sitemapindex\n' \ +' xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"\n' \ +' xsi:schemaLocation="http://www.sitemaps.org/schemas/sitemap/0.9\n' \ +' http://www.sitemaps.org/schemas/sitemap/0.9/siteindex.xsd"\n' \ +' xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">' + +SITEMAP_INDEX_FOOTER = '\n</sitemapindex>\n' + +class SitemapIndexWriter(SitemapWriter): + """class for writing Sitemap Index files.""" + + def __init__(self, name): + """ Constructor. + name: path to the sitemap index file to be created + """ + self.header = SITEMAP_INDEX_HEADER + self.footer = SITEMAP_INDEX_FOOTER + self.name = name + self.filedescriptor = open(self.name, 'w') + self.num_urls = 0 + self.file_size = 0 + self.buffer = [] + self.filedescriptor.write(self.header) + self.file_size += len(self.footer) + + def add_url(self, url, lastmod=""): + """ create a new url node. Returns the number of url nodes in sitemap""" + self.num_urls += 1 + url_node = u""" + <sitemap> + <loc>%s</loc>%s + </sitemap>""" + optional = '' + if lastmod: + optional += u""" + <lastmod>%s</lastmod>""" % lastmod.strftime('%Y-%m-%dT%H:%M:%S' +\ + DEFAULT_TIMEZONE) + url_node %= (url, optional) + self.file_size += len(url_node) + self.buffer.append(url_node) + return self.num_urls + + + +def generate_sitemaps(collection_names, fulltext_filter=''): + """ + Generate sitemaps themselves. Return list of generated sitemaps files + """ + sitemap_id = 1 + writer = SitemapWriter(CFG_WEBDIR + '/sitemap-%s.xml' % sitemap_id) + sitemaps = [writer.get_name()] + nb_urls = 0 + for [lang, lang_name] in language_list_long(): + writer.add_url(CFG_SITE_URL + '/?ln=%s' % lang, + lastmod=datetime.today(), + changefreq=DEFAULT_CHANGEFREQ_HOME, + priority=DEFAULT_PRIORITY_HOME) + nb_urls += 1 + + recids = get_all_public_records(collection_names) + task_update_progress("Generating urls for %s records" % len(recids)) + #task_sleep_now_if_required(can_stop_too=True) + for (recid, lastmod) in recids: + if nb_urls <= MAX_RECORDS and nb_urls % 100 == 0: + #print nb_urls + #print writer.get_size() + if writer.get_size() > MAX_SIZE or nb_urls == MAX_RECORDS: + writer.close() + sitemap_id += 1 + writer = SitemapWriter(CFG_WEBDIR + '/sitemap-%s.xml' % sitemap_id) + sitemaps.append(writer.get_name()) + nb_urls = writer.add_url(CFG_SITE_URL + '/record/%s' % recid, + lastmod = lastmod, + changefreq = DEFAULT_CHANGEFREQ_RECORDS, + priority = DEFAULT_PRIORITY_RECORDS) + #task_sleep_now_if_required(can_stop_too=False) + task_update_progress("Generating urls for collections") + for (collection, lastmod) in get_all_public_collections(collection_names): + for [lang, lang_name] in language_list_long(): + if nb_urls <= MAX_RECORDS and nb_urls % 100 == 0: + #print nb_urls + #print writer.get_size() + if writer.get_size() > MAX_SIZE or nb_urls == MAX_RECORDS: + writer.close() + sitemap_id += 1 + writer = SitemapWriter('%s/sitemap-%s.xml' % (CFG_WEBDIR, + sitemap_id)) + sitemaps.append(writer.get_name()) + nb_urls = writer.add_url( + '%s/collection/%s?ln=%s' % (CFG_SITE_URL, quote(collection), lang), + lastmod = lastmod, + changefreq = DEFAULT_CHANGEFREQ_COLLECTIONS, + priority = DEFAULT_PRIORITY_COLLECTIONS) + #task_sleep_now_if_required(can_stop_too=False) + task_update_progress("Generating urls for fulltexts") + for (recid, lastmod) in filter_fulltexts(recids, fulltext_filter): + if nb_urls <= MAX_RECORDS and nb_urls % 100 == 0: + #print nb_urls + #print writer.get_size() + if writer.get_size() > MAX_SIZE or nb_urls == MAX_RECORDS: + writer.close() + sitemap_id += 1 + writer = SitemapWriter(CFG_WEBDIR + '/sitemap-%s.xml' % sitemap_id) + sitemaps.append(writer.get_name()) + nb_urls = writer.add_url(CFG_SITE_URL + '/record/%s/files' % recid, + lastmod = lastmod, + changefreq = DEFAULT_CHANGEFREQ_FULLTEXTS, + priority = DEFAULT_PRIORITY_FULLTEXTS) + #task_sleep_now_if_required(can_stop_too=False) + + task_update_progress("Generating urls for comments") + for (recid, lastmod) in filter_comments(recids): + if nb_urls <= MAX_RECORDS and nb_urls % 100 == 0: + #print nb_urls + #print writer.get_size() + if writer.get_size() > MAX_SIZE or nb_urls == MAX_RECORDS: + writer.close() + sitemap_id += 1 + writer = SitemapWriter(CFG_WEBDIR + '/sitemap-%s.xml' % sitemap_id) + sitemaps.append(writer.get_name()) + nb_urls = writer.add_url(CFG_SITE_URL + '/record/%s/comments' % recid, + lastmod = lastmod, + changefreq = DEFAULT_CHANGEFREQ_COMMENTS, + priority = DEFAULT_PRIORITY_COMMENTS) + #task_sleep_now_if_required(can_stop_too=False) + task_update_progress("Generating urls for reviews") + for (recid, lastmod) in filter_reviews(recids): + if nb_urls <= MAX_RECORDS and nb_urls % 100 == 0: + #print nb_urls + #print writer.get_size() + if writer.get_size() > MAX_SIZE or nb_urls == MAX_RECORDS: + writer.close() + sitemap_id += 1 + writer = SitemapWriter(CFG_WEBDIR + '/sitemap-%s.xml' % sitemap_id) + sitemaps.append(writer.get_name()) + nb_urls = writer.add_url(CFG_SITE_URL + '/record/%s/reviews' % recid, + lastmod = lastmod, + changefreq = DEFAULT_CHANGEFREQ_REVIEWS, + priority = DEFAULT_PRIORITY_REVIEWS) + #task_sleep_now_if_required(can_stop_too=False) + try: + writer.close() + except: + pass + return sitemaps + +def generate_sitemaps_index(collection_list, fulltext_filter=None): + """main function. Generates the sitemap index and the sitemaps + collection_list: list of collection names to add in sitemap + fulltext_filter: if provided the parser will intergrate only give fulltext + types + """ + sitemaps = generate_sitemaps(collection_list, fulltext_filter) + writer = SitemapIndexWriter(CFG_WEBDIR + '/sitemap-index.xml') + + task_update_progress("Generating sitemap index for %s sitemap files" % \ + len(sitemaps)) + #task_sleep_now_if_required(can_stop_too=False) + for sitemap in sitemaps: + writer.add_url(CFG_SITE_URL + '/%s' % sitemap.split('/')[-1], + lastmod=datetime.today()) + writer.close() + +def run_export_method(jobname): + """Main function, reading params and running the task.""" + # FIXME: read jobname's cfg file to detect collection and fulltext status arguments + write_message("bibexport_sitemap: job %s started." % jobname) + collections = [Collection().name,] + fulltext_type = '' + generate_sitemaps_index(collections, fulltext_type) + write_message("bibexport_sitemap: job %s finished." % jobname) diff --git a/modules/bibexport/web/.cvsignore b/modules/bibexport/web/.cvsignore new file mode 100644 index 000000000..a3409fca7 --- /dev/null +++ b/modules/bibexport/web/.cvsignore @@ -0,0 +1,5 @@ +Makefile +Makefile.in +z_* +*.O +*~ \ No newline at end of file diff --git a/modules/Makefile.am b/modules/bibexport/web/Makefile.am similarity index 76% copy from modules/Makefile.am copy to modules/bibexport/web/Makefile.am index d53acd12d..088a3336a 100644 --- a/modules/Makefile.am +++ b/modules/bibexport/web/Makefile.am @@ -1,22 +1,22 @@ ## $Id$ ## This file is part of CDS Invenio. ## Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007, 2008 CERN. ## ## CDS Invenio is free software; you can redistribute it and/or ## modify it under the terms of the GNU General Public License as ## published by the Free Software Foundation; either version 2 of the ## License, or (at your option) any later version. ## ## CDS Invenio is distributed in the hope that it will be useful, but ## WITHOUT ANY WARRANTY; without even the implied warranty of ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ## General Public License for more details. ## ## You should have received a copy of the GNU General Public License ## along with CDS Invenio; if not, write to the Free Software Foundation, Inc., ## 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. -SUBDIRS = bibcirculation bibclassify bibconvert bibedit bibharvest bibmatch bibsched bibindex bibrank bibupload bibformat elmsubmit miscutil webstyle websession webhelp webbasket webalert websearch websubmit webaccess webmessage webstat webcomment webjournal +SUBDIRS = admin CLEANFILES = *~ diff --git a/modules/bibexport/web/admin/.cvsignore b/modules/bibexport/web/admin/.cvsignore new file mode 100644 index 000000000..a3409fca7 --- /dev/null +++ b/modules/bibexport/web/admin/.cvsignore @@ -0,0 +1,5 @@ +Makefile +Makefile.in +z_* +*.O +*~ \ No newline at end of file diff --git a/modules/Makefile.am b/modules/bibexport/web/admin/Makefile.am similarity index 74% copy from modules/Makefile.am copy to modules/bibexport/web/admin/Makefile.am index d53acd12d..3ded297fc 100644 --- a/modules/Makefile.am +++ b/modules/bibexport/web/admin/Makefile.am @@ -1,22 +1,19 @@ ## $Id$ ## This file is part of CDS Invenio. ## Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007, 2008 CERN. ## ## CDS Invenio is free software; you can redistribute it and/or ## modify it under the terms of the GNU General Public License as ## published by the Free Software Foundation; either version 2 of the ## License, or (at your option) any later version. ## ## CDS Invenio is distributed in the hope that it will be useful, but ## WITHOUT ANY WARRANTY; without even the implied warranty of ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ## General Public License for more details. ## ## You should have received a copy of the GNU General Public License ## along with CDS Invenio; if not, write to the Free Software Foundation, Inc., ## 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. -SUBDIRS = bibcirculation bibclassify bibconvert bibedit bibharvest bibmatch bibsched bibindex bibrank bibupload bibformat elmsubmit miscutil webstyle websession webhelp webbasket webalert websearch websubmit webaccess webmessage webstat webcomment webjournal - -CLEANFILES = *~ diff --git a/modules/bibsched/lib/bibtask_config.py b/modules/bibsched/lib/bibtask_config.py index 718c5815c..b9c48312e 100644 --- a/modules/bibsched/lib/bibtask_config.py +++ b/modules/bibsched/lib/bibtask_config.py @@ -1,96 +1,99 @@ # -*- coding: utf-8 -*- ## ## $Id$ ## ## This file is part of CDS Invenio. ## Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007, 2008 CERN. ## ## CDS Invenio is free software; you can redistribute it and/or ## modify it under the terms of the GNU General Public License as ## published by the Free Software Foundation; either version 2 of the ## License, or (at your option) any later version. ## ## CDS Invenio is distributed in the hope that it will be useful, but ## WITHOUT ANY WARRANTY; without even the implied warranty of ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ## General Public License for more details. ## ## You should have received a copy of the GNU General Public License ## along with CDS Invenio; if not, write to the Free Software Foundation, Inc., ## 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. """CDS Invenio Bibliographic Task Configuration.""" __revision__ = "$Id$" # Which tasks are recognized as valid? CFG_BIBTASK_VALID_TASKS = ("bibindex", "bibupload", "bibreformat", "webcoll", "bibtaskex", "bibrank", "oaiharvest", "oaiarchive", "inveniogc", - "webstatadmin", "bibclassifyd") + "webstatadmin", "bibclassifyd", "bibexport") # Task that should not be reinstatiated CFG_BIBTASK_NON_REPETITIVE_TASK = ('bibupload') ## Default options for each bibtasks # for each bibtask name are specified those settings that the bibtask expects # to find initialized. Webcoll is empty because current webcoll algorithms # relays on parameters not being initialized at all. CFG_BIBTASK_DEFAULT_TASK_SETTINGS = { 'inveniogc' : { 'logs' : False, 'guests' : False, 'bibxxx' : False, 'documents' : False, 'cache' : False, 'tasks' : False, }, 'oaiharvest' : { 'repository' : None, 'dates' : None, }, 'oaiarchive' : { 'upload' : 0, 'mode' : 0, 'oaiset' : 0, 'nice' : 0, }, 'bibupload' : { 'mode' : None, 'verbose' : 1, 'tag' : None, 'file_path' : None, 'notimechange' : 0, 'stage_to_start_from' : 1, }, 'bibindex' : { 'cmd' : 'add', 'id' : [], 'modified' : [], 'collection' : [], 'maxmem' : 0, 'flush' : 10000, 'windex' : None, 'reindex' : False, }, 'bibrank' : { 'quick' : 'yes', 'cmd' : 'add', 'flush' : 100000, 'collection' : [], 'id' : [], 'check' : "", 'stat' : "", 'modified' : "", 'last_updated' : 'last_updated', 'run' : [], }, 'webcoll' : { }, 'bibreformat' : { 'format' : 'hb', }, 'bibtaskex' : { 'number' : 30, - } -} \ No newline at end of file + }, + 'bibexport' : { + 'wjob' : None, + }, +} diff --git a/modules/miscutil/demo/democfgdata.sql b/modules/miscutil/demo/democfgdata.sql index b6802fe7c..b8545e7c3 100644 --- a/modules/miscutil/demo/democfgdata.sql +++ b/modules/miscutil/demo/democfgdata.sql @@ -1,2012 +1,2016 @@ -- $Id$ -- This file is part of CDS Invenio. -- Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007, 2008 CERN. -- -- CDS Invenio is free software; you can redistribute it and/or -- modify it under the terms of the GNU General Public License as -- published by the Free Software Foundation; either version 2 of the -- License, or (at your option) any later version. -- -- CDS Invenio is distributed in the hope that it will be useful, but -- WITHOUT ANY WARRANTY; without even the implied warranty of -- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -- General Public License for more details. -- -- You should have received a copy of the GNU General Public License -- along with CDS Invenio; if not, write to the Free Software Foundation, Inc., -- 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. INSERT INTO user VALUES (2,'jekyll@cds.cern.ch',AES_ENCRYPT(email,'j123ekyll'),'1',NULL,'jekyll',''); INSERT INTO user VALUES (3,'hyde@cds.cern.ch',AES_ENCRYPT(email,'h123yde'),'1',NULL,'hyde',''); INSERT INTO user VALUES (4,'dorian.gray@cds.cern.ch',AES_ENCRYPT(email,'d123orian'),'1',NULL,'dorian',''); INSERT INTO user VALUES (5,'romeo.montague@cds.cern.ch',AES_ENCRYPT(email,'r123omeo'),'1','NULL','romeo',''); INSERT INTO user VALUES (6,'juliet.capulet@cds.cern.ch',AES_ENCRYPT(email,'j123uliet'),'1','NULL','juliet',''); INSERT INTO user VALUES (7,'benvolio.montague@cds.cern.ch',AES_ENCRYPT(email,'b123envolio'),'1','NULL','benvolio',''); INSERT INTO user VALUES (8,'balthasar.montague@cds.cern.ch',AES_ENCRYPT(email,'b123althasar'),'1','NULL','balthasar',''); INSERT INTO usergroup VALUES (1,'Theses viewers','Theses viewers internal group','VO','INTERNAL'); INSERT INTO user_usergroup VALUES (2,1,'M',NOW()); INSERT INTO collection VALUES (2,'Preprints','collection:PREPRINT',NULL,NULL,NULL); INSERT INTO collection VALUES (3,'Books','collection:BOOK',NULL,NULL,NULL); INSERT INTO collection VALUES (4,'Theses','collection:THESIS',NULL,NULL,'theses'); INSERT INTO collection VALUES (5,'Reports','collection:REPORT',NULL,NULL,NULL); INSERT INTO collection VALUES (6,'Articles','collection:ARTICLE',NULL,NULL,NULL); INSERT INTO collection VALUES (8,'Pictures','collection:PICTURE',NULL,NULL,NULL); INSERT INTO collection VALUES (9,'CERN Divisions',NULL,NULL,NULL,NULL); INSERT INTO collection VALUES (10,'CERN Experiments',NULL,NULL,NULL,NULL); INSERT INTO collection VALUES (11,'Theoretical Physics (TH)','division:TH',NULL,NULL,NULL); INSERT INTO collection VALUES (12,'Experimental Physics (EP)','division:EP',NULL,NULL,NULL); INSERT INTO collection VALUES (13,'ISOLDE','experiment:ISOLDE',NULL,NULL,NULL); INSERT INTO collection VALUES (14,'ALEPH','experiment:ALEPH',NULL,NULL,NULL); INSERT INTO collection VALUES (15,'Articles & Preprints',NULL,NULL,NULL,NULL); INSERT INTO collection VALUES (16,'Books & Reports',NULL,NULL,NULL,NULL); INSERT INTO collection VALUES (17,'Multimedia & Arts',NULL,NULL,NULL,NULL); INSERT INTO collection VALUES (18,'Poetry','collection:POETRY',NULL,NULL,NULL); INSERT INTO clsMETHOD VALUES (1,'HEP','','High Energy Physics Taxonomy','0000-00-00 00:00:00'); INSERT INTO clsMETHOD VALUES (2,'NASA-subjects','','NASA Subjects','0000-00-00 00:00:00'); INSERT INTO collection_clsMETHOD VALUES (2,1); INSERT INTO collection_clsMETHOD VALUES (12,2); INSERT INTO collectionname VALUES (2,'en','ln','Preprints'); INSERT INTO collectionname VALUES (2,'fr','ln','Prétirages'); INSERT INTO collectionname VALUES (2,'de','ln','Preprints'); INSERT INTO collectionname VALUES (2,'es','ln','Preprints'); INSERT INTO collectionname VALUES (2,'ca','ln','Preprints'); INSERT INTO collectionname VALUES (2,'pl','ln','Preprinty'); INSERT INTO collectionname VALUES (2,'pt','ln','Preprints'); INSERT INTO collectionname VALUES (2,'it','ln','Preprint'); INSERT INTO collectionname VALUES (2,'ru','ln','Препринты'); INSERT INTO collectionname VALUES (2,'sk','ln','Preprinty'); INSERT INTO collectionname VALUES (2,'cs','ln','Preprinty'); INSERT INTO collectionname VALUES (2,'no','ln','Førtrykk'); INSERT INTO collectionname VALUES (2,'sv','ln','Preprints'); INSERT INTO collectionname VALUES (2,'el','ln','Προδημοσιεύσεις'); INSERT INTO collectionname VALUES (2,'uk','ln','Препринти'); INSERT INTO collectionname VALUES (2,'ja','ln','プレプリント'); INSERT INTO collectionname VALUES (2,'bg','ln','Препринти'); INSERT INTO collectionname VALUES (2,'hr','ln','Preprinti'); INSERT INTO collectionname VALUES (2,'zh_CN','ln','预印'); INSERT INTO collectionname VALUES (2,'zh_TW','ln','預印'); INSERT INTO collectionname VALUES (2,'hu','ln','Preprintek'); INSERT INTO collectionname VALUES (2,'af','ln','Pre-drukke'); INSERT INTO collectionname VALUES (2,'gl','ln','Preprints'); INSERT INTO collectionname VALUES (3,'en','ln','Books'); INSERT INTO collectionname VALUES (3,'fr','ln','Livres'); INSERT INTO collectionname VALUES (3,'de','ln','Bücher'); INSERT INTO collectionname VALUES (3,'es','ln','Libros'); INSERT INTO collectionname VALUES (3,'ca','ln','Llibres'); INSERT INTO collectionname VALUES (3,'pl','ln','Książki'); INSERT INTO collectionname VALUES (3,'pt','ln','Livros'); INSERT INTO collectionname VALUES (3,'it','ln','Libri'); INSERT INTO collectionname VALUES (3,'ru','ln','Книги'); INSERT INTO collectionname VALUES (3,'sk','ln','Knihy'); INSERT INTO collectionname VALUES (3,'cs','ln','Knihy'); INSERT INTO collectionname VALUES (3,'no','ln','Bøker'); INSERT INTO collectionname VALUES (3,'sv','ln',''); INSERT INTO collectionname VALUES (3,'el','ln','Βιβλία'); INSERT INTO collectionname VALUES (3,'uk','ln','Книги'); INSERT INTO collectionname VALUES (3,'ja','ln','本'); INSERT INTO collectionname VALUES (3,'bg','ln','Книги'); INSERT INTO collectionname VALUES (3,'hr','ln','Knjige'); INSERT INTO collectionname VALUES (3,'zh_CN','ln','书本'); INSERT INTO collectionname VALUES (3,'zh_TW','ln','書本'); INSERT INTO collectionname VALUES (3,'hu','ln','Könyvek'); INSERT INTO collectionname VALUES (3,'af','ln','Boeke'); INSERT INTO collectionname VALUES (3,'gl','ln','Libros'); INSERT INTO collectionname VALUES (4,'en','ln','Theses'); INSERT INTO collectionname VALUES (4,'fr','ln','Thèses'); INSERT INTO collectionname VALUES (4,'de','ln','Dissertationen'); INSERT INTO collectionname VALUES (4,'es','ln','Tesis'); INSERT INTO collectionname VALUES (4,'ca','ln','Tesis'); INSERT INTO collectionname VALUES (4,'pl','ln','Prace naukowe'); INSERT INTO collectionname VALUES (4,'pt','ln','Teses'); INSERT INTO collectionname VALUES (4,'it','ln','Tesi'); INSERT INTO collectionname VALUES (4,'ru','ln','Диссертации'); INSERT INTO collectionname VALUES (4,'sk','ln','Dizertácie'); INSERT INTO collectionname VALUES (4,'cs','ln','Disertace'); INSERT INTO collectionname VALUES (4,'no','ln','Avhandlinger'); INSERT INTO collectionname VALUES (4,'sv','ln',''); INSERT INTO collectionname VALUES (4,'el','ln','Διατριβές'); INSERT INTO collectionname VALUES (4,'uk','ln','Дисертації'); INSERT INTO collectionname VALUES (4,'ja','ln','説'); INSERT INTO collectionname VALUES (4,'bg','ln','Дисертации'); INSERT INTO collectionname VALUES (4,'hr','ln','Disertacije'); INSERT INTO collectionname VALUES (4,'zh_CN','ln','论文'); INSERT INTO collectionname VALUES (4,'zh_TW','ln','論文'); INSERT INTO collectionname VALUES (4,'hu','ln','Disszertációk'); INSERT INTO collectionname VALUES (4,'af','ln','Tesise'); INSERT INTO collectionname VALUES (4,'gl','ln','Teses'); INSERT INTO collectionname VALUES (5,'en','ln','Reports'); INSERT INTO collectionname VALUES (5,'fr','ln','Rapports'); INSERT INTO collectionname VALUES (5,'de','ln','Reports'); INSERT INTO collectionname VALUES (5,'es','ln','Informes'); INSERT INTO collectionname VALUES (5,'ca','ln','Informes'); INSERT INTO collectionname VALUES (5,'pl','ln','Raporty'); INSERT INTO collectionname VALUES (5,'pt','ln','Relatórios'); INSERT INTO collectionname VALUES (5,'it','ln','Rapporti'); INSERT INTO collectionname VALUES (5,'ru','ln','Рапорты'); INSERT INTO collectionname VALUES (5,'sk','ln','Správy'); INSERT INTO collectionname VALUES (5,'cs','ln','Zprávy'); INSERT INTO collectionname VALUES (5,'no','ln','Rapporter'); INSERT INTO collectionname VALUES (5,'sv','ln',''); INSERT INTO collectionname VALUES (5,'el','ln','Αναφορές'); INSERT INTO collectionname VALUES (5,'uk','ln','Звіти'); INSERT INTO collectionname VALUES (5,'ja','ln','レポート'); INSERT INTO collectionname VALUES (5,'bg','ln','Доклади'); INSERT INTO collectionname VALUES (5,'hr','ln','Izvještaji'); INSERT INTO collectionname VALUES (5,'zh_CN','ln','报告'); INSERT INTO collectionname VALUES (5,'zh_TW','ln','報告'); INSERT INTO collectionname VALUES (5,'hu','ln','Tanulmányok'); INSERT INTO collectionname VALUES (5,'af','ln','Verslae'); INSERT INTO collectionname VALUES (5,'gl','ln','Informes'); INSERT INTO collectionname VALUES (6,'en','ln','Articles'); INSERT INTO collectionname VALUES (6,'fr','ln','Articles'); INSERT INTO collectionname VALUES (6,'de','ln','Artikel'); INSERT INTO collectionname VALUES (6,'es','ln','Articulos'); INSERT INTO collectionname VALUES (6,'ca','ln','Articles'); INSERT INTO collectionname VALUES (6,'pl','ln','Artykuły'); INSERT INTO collectionname VALUES (6,'pt','ln','Artigos'); INSERT INTO collectionname VALUES (6,'it','ln','Articoli'); INSERT INTO collectionname VALUES (6,'ru','ln','Статьи'); INSERT INTO collectionname VALUES (6,'sk','ln','Články'); INSERT INTO collectionname VALUES (6,'cs','ln','Články'); INSERT INTO collectionname VALUES (6,'no','ln','Artikler'); INSERT INTO collectionname VALUES (6,'sv','ln',''); INSERT INTO collectionname VALUES (6,'el','ln',"Άρθρα"); INSERT INTO collectionname VALUES (6,'uk','ln','Статті'); INSERT INTO collectionname VALUES (6,'ja','ln','記事'); INSERT INTO collectionname VALUES (6,'bg','ln','Статии'); INSERT INTO collectionname VALUES (6,'hr','ln','Članci'); INSERT INTO collectionname VALUES (6,'zh_CN','ln','文章'); INSERT INTO collectionname VALUES (6,'zh_TW','ln','文章'); INSERT INTO collectionname VALUES (6,'hu','ln','Cikkek'); INSERT INTO collectionname VALUES (6,'af','ln','Artikels'); INSERT INTO collectionname VALUES (6,'gl','ln','Artigos'); INSERT INTO collectionname VALUES (8,'en','ln','Pictures'); INSERT INTO collectionname VALUES (8,'fr','ln','Photos'); INSERT INTO collectionname VALUES (8,'de','ln','Fotos'); INSERT INTO collectionname VALUES (8,'es','ln','Imagenes'); INSERT INTO collectionname VALUES (8,'ca','ln','Imatges'); INSERT INTO collectionname VALUES (8,'pl','ln','Obrazy'); INSERT INTO collectionname VALUES (8,'pt','ln','Fotografias'); INSERT INTO collectionname VALUES (8,'it','ln','Foto'); INSERT INTO collectionname VALUES (8,'ru','ln','Фотографии'); INSERT INTO collectionname VALUES (8,'sk','ln','Fotografie'); INSERT INTO collectionname VALUES (8,'cs','ln','Fotografie'); INSERT INTO collectionname VALUES (8,'no','ln','Fotografier'); INSERT INTO collectionname VALUES (8,'sv','ln',''); INSERT INTO collectionname VALUES (8,'el','ln','Εικόνες'); INSERT INTO collectionname VALUES (8,'uk','ln','Зображення'); INSERT INTO collectionname VALUES (8,'ja','ln','映像'); INSERT INTO collectionname VALUES (8,'bg','ln','Снимки'); INSERT INTO collectionname VALUES (8,'hr','ln','Slike'); INSERT INTO collectionname VALUES (8,'zh_CN','ln','图片'); INSERT INTO collectionname VALUES (8,'zh_TW','ln','圖片'); INSERT INTO collectionname VALUES (8,'hu','ln','Képek'); INSERT INTO collectionname VALUES (8,'af','ln','Prente'); INSERT INTO collectionname VALUES (8,'gl','ln','Imaxes'); INSERT INTO collectionname VALUES (9,'en','ln','CERN Divisions'); INSERT INTO collectionname VALUES (9,'fr','ln','Divisions du CERN'); INSERT INTO collectionname VALUES (9,'de','ln','Abteilungen des CERN'); INSERT INTO collectionname VALUES (9,'es','ln','Divisiones del CERN'); INSERT INTO collectionname VALUES (9,'ca','ln','Divisions del CERN'); INSERT INTO collectionname VALUES (9,'pl','ln','Działy CERN'); INSERT INTO collectionname VALUES (9,'pt','ln','Divisões do CERN'); INSERT INTO collectionname VALUES (9,'it','ln','Divisioni del CERN'); INSERT INTO collectionname VALUES (9,'ru','ln','Разделения CERNа'); INSERT INTO collectionname VALUES (9,'sk','ln','Oddelenia CERNu'); INSERT INTO collectionname VALUES (9,'cs','ln','Oddělení CERNu'); INSERT INTO collectionname VALUES (9,'no','ln','Divisjoner ved CERN'); INSERT INTO collectionname VALUES (9,'sv','ln',''); INSERT INTO collectionname VALUES (9,'el','ln','Τομείς του CERN'); INSERT INTO collectionname VALUES (9,'uk','ln','Підрозділи CERN'); INSERT INTO collectionname VALUES (9,'ja','ln','CERN 部'); INSERT INTO collectionname VALUES (9,'bg','ln','Отдели в CERN'); INSERT INTO collectionname VALUES (9,'hr','ln','Odjeli CERN-a'); INSERT INTO collectionname VALUES (9,'zh_CN','ln','CERN 分类'); INSERT INTO collectionname VALUES (9,'zh_TW','ln','CERN 分類'); INSERT INTO collectionname VALUES (9,'hu','ln','CERN részlegek'); INSERT INTO collectionname VALUES (9,'af','ln','CERN Afdelings'); INSERT INTO collectionname VALUES (9,'gl','ln','Divisións do CERN'); INSERT INTO collectionname VALUES (10,'en','ln','CERN Experiments'); INSERT INTO collectionname VALUES (10,'fr','ln','Expériences du CERN'); INSERT INTO collectionname VALUES (10,'de','ln','Experimente des CERN'); INSERT INTO collectionname VALUES (10,'es','ln','Experimentos del CERN'); INSERT INTO collectionname VALUES (10,'ca','ln','Experiments del CERN'); INSERT INTO collectionname VALUES (10,'pl','ln','Eksperymenty CERN'); INSERT INTO collectionname VALUES (10,'pt','ln','Experimentos do CERN'); INSERT INTO collectionname VALUES (10,'it','ln','Esperimenti del CERN'); INSERT INTO collectionname VALUES (10,'ru','ln','Эксперименты CERNа'); INSERT INTO collectionname VALUES (10,'sk','ln','Experimenty CERNu'); INSERT INTO collectionname VALUES (10,'cs','ln','Experimenty CERNu'); INSERT INTO collectionname VALUES (10,'no','ln','Eksperimenter ved CERN'); INSERT INTO collectionname VALUES (10,'sv','ln',''); INSERT INTO collectionname VALUES (10,'el','ln','Πειράματα του CERN'); INSERT INTO collectionname VALUES (10,'uk','ln','Експерименти CERN'); INSERT INTO collectionname VALUES (10,'ja','ln','CERN の実験'); INSERT INTO collectionname VALUES (10,'bg','ln','Експерименти в CERN'); INSERT INTO collectionname VALUES (10,'hr','ln','Eksperimenti CERN-a'); INSERT INTO collectionname VALUES (10,'zh_CN','ln','CERN 实验'); INSERT INTO collectionname VALUES (10,'zh_TW','ln','CERN 實驗'); INSERT INTO collectionname VALUES (10,'hu','ln','CERN kísérletek'); INSERT INTO collectionname VALUES (10,'af','ln','CERN Experimente'); INSERT INTO collectionname VALUES (10,'gl','ln','Experimentos do CERN'); INSERT INTO collectionname VALUES (11,'en','ln','Theoretical Physics (TH)'); INSERT INTO collectionname VALUES (11,'fr','ln','Physique Théorique (TH)'); INSERT INTO collectionname VALUES (11,'de','ln','Theoretische Physik (TH)'); INSERT INTO collectionname VALUES (11,'es','ln','Física teórica (TH)'); INSERT INTO collectionname VALUES (11,'ca','ln','Física teòrica (TH)'); INSERT INTO collectionname VALUES (11,'pl','ln','Fizyka Teoretyczna (TH)'); INSERT INTO collectionname VALUES (11,'pt','ln','Física Teórica (TH)'); INSERT INTO collectionname VALUES (11,'it','ln','Fisica Teorica (TH)'); INSERT INTO collectionname VALUES (11,'ru','ln','Теоретическая физика (TH)'); INSERT INTO collectionname VALUES (11,'sk','ln','Teoretická fyzika (TH)'); INSERT INTO collectionname VALUES (11,'cs','ln','Teoretická fyzika (TH)'); INSERT INTO collectionname VALUES (11,'no','ln','Teoretisk fysikk (TH)'); INSERT INTO collectionname VALUES (11,'sv','ln',''); INSERT INTO collectionname VALUES (11,'el','ln','Θεωρητική Φυσική (TH)'); INSERT INTO collectionname VALUES (11,'uk','ln','Теоретична фізика (TH)'); INSERT INTO collectionname VALUES (11,'ja','ln','理論的な物理学 (TH)'); INSERT INTO collectionname VALUES (11,'bg','ln','Теоретична физика (TH)'); INSERT INTO collectionname VALUES (11,'hr','ln','Teorijska fizika (TH)'); INSERT INTO collectionname VALUES (11,'zh_CN','ln','理论物理 (TH)'); INSERT INTO collectionname VALUES (11,'zh_TW','ln','理論物理 (TH)'); INSERT INTO collectionname VALUES (11,'hu','ln','Elméleti fizika (TH)'); INSERT INTO collectionname VALUES (11,'af','ln','Teoretiese Fisika (TH)'); INSERT INTO collectionname VALUES (11,'gl','ln','Física Teórica (TH)'); INSERT INTO collectionname VALUES (12,'en','ln','Experimental Physics (EP)'); INSERT INTO collectionname VALUES (12,'fr','ln','Physique Expérimentale (EP)'); INSERT INTO collectionname VALUES (12,'de','ln','Experimentelle Physik (EP)'); INSERT INTO collectionname VALUES (12,'es','ln','Física experimental (FE)'); INSERT INTO collectionname VALUES (12,'ca','ln','Física experimental (EP)'); INSERT INTO collectionname VALUES (12,'pl','ln','Fizyka Doświadczalna (EP)'); INSERT INTO collectionname VALUES (12,'pt','ln','Física Experimental (EP)'); INSERT INTO collectionname VALUES (12,'it','ln','Fisica Sperimentale (EP)'); INSERT INTO collectionname VALUES (12,'ru','ln','Экспериментальная Физика (EP)'); INSERT INTO collectionname VALUES (12,'sk','ln','Experimentálna fyzika (EP)'); INSERT INTO collectionname VALUES (12,'cs','ln','Experimentální fyzika (EP)'); INSERT INTO collectionname VALUES (12,'no','ln','Eksperimentell fysikk (EP)'); INSERT INTO collectionname VALUES (12,'sv','ln',''); INSERT INTO collectionname VALUES (12,'el','ln','Πειραματική Φυσική (EP)'); INSERT INTO collectionname VALUES (12,'uk','ln','Експериментальна фізика (EP)'); INSERT INTO collectionname VALUES (12,'ja','ln','実験物理学 (EP)'); INSERT INTO collectionname VALUES (12,'bg','ln','Експериментална физика (EP)'); INSERT INTO collectionname VALUES (12,'hr','ln','Eksperimentalna fizika (EP)'); INSERT INTO collectionname VALUES (12,'zh_CN','ln','实验物理 (EP)'); INSERT INTO collectionname VALUES (12,'zh_TW','ln','實驗物理 (EP)'); INSERT INTO collectionname VALUES (12,'hu','ln','Kísérleti fizika (EP)'); INSERT INTO collectionname VALUES (12,'af','ln','Eksperimentele Fisika (EP)'); INSERT INTO collectionname VALUES (12,'gl','ln','Física Experimental (EP)'); INSERT INTO collectionname VALUES (13,'en','ln','ISOLDE'); INSERT INTO collectionname VALUES (13,'fr','ln','ISOLDE'); INSERT INTO collectionname VALUES (13,'de','ln','ISOLDE'); INSERT INTO collectionname VALUES (13,'es','ln','ISOLDE'); INSERT INTO collectionname VALUES (13,'ca','ln','ISOLDE'); INSERT INTO collectionname VALUES (13,'pl','ln','ISOLDE'); INSERT INTO collectionname VALUES (13,'pt','ln','ISOLDE'); INSERT INTO collectionname VALUES (13,'it','ln','ISOLDE'); INSERT INTO collectionname VALUES (13,'ru','ln','ISOLDE'); INSERT INTO collectionname VALUES (13,'sk','ln','ISOLDE'); INSERT INTO collectionname VALUES (13,'cs','ln','ISOLDE'); INSERT INTO collectionname VALUES (13,'no','ln','ISOLDE'); INSERT INTO collectionname VALUES (13,'sv','ln','ISOLDE'); INSERT INTO collectionname VALUES (13,'el','ln','ISOLDE'); INSERT INTO collectionname VALUES (13,'uk','ln','ISOLDE'); INSERT INTO collectionname VALUES (13,'ja','ln','ISOLDE'); INSERT INTO collectionname VALUES (13,'bg','ln','ISOLDE'); INSERT INTO collectionname VALUES (13,'hr','ln','ISOLDE'); INSERT INTO collectionname VALUES (13,'zh_CN','ln','ISOLDE'); INSERT INTO collectionname VALUES (13,'zh_TW','ln','ISOLDE'); INSERT INTO collectionname VALUES (13,'hu','ln','ISOLDE'); INSERT INTO collectionname VALUES (13,'af','ln','ISOLDE'); INSERT INTO collectionname VALUES (13,'gl','ln','ISOLDE'); INSERT INTO collectionname VALUES (14,'en','ln','ALEPH'); INSERT INTO collectionname VALUES (14,'fr','ln','ALEPH'); INSERT INTO collectionname VALUES (14,'de','ln','ALEPH'); INSERT INTO collectionname VALUES (14,'es','ln','ALEPH'); INSERT INTO collectionname VALUES (14,'ca','ln','ALEPH'); INSERT INTO collectionname VALUES (14,'pl','ln','ALEPH'); INSERT INTO collectionname VALUES (14,'pt','ln','ALEPH'); INSERT INTO collectionname VALUES (14,'it','ln','ALEPH'); INSERT INTO collectionname VALUES (14,'ru','ln','ALEPH'); INSERT INTO collectionname VALUES (14,'sk','ln','ALEPH'); INSERT INTO collectionname VALUES (14,'cs','ln','ALEPH'); INSERT INTO collectionname VALUES (14,'no','ln','ALEPH'); INSERT INTO collectionname VALUES (14,'sv','ln','ALEPH'); INSERT INTO collectionname VALUES (14,'el','ln','ALEPH'); INSERT INTO collectionname VALUES (14,'uk','ln','ALEPH'); INSERT INTO collectionname VALUES (14,'ja','ln','ALEPH'); INSERT INTO collectionname VALUES (14,'bg','ln','ALEPH'); INSERT INTO collectionname VALUES (14,'hr','ln','ALEPH'); INSERT INTO collectionname VALUES (14,'zh_CN','ln','ALEPH'); INSERT INTO collectionname VALUES (14,'zh_TW','ln','ALEPH'); INSERT INTO collectionname VALUES (14,'hu','ln','ALEPH'); INSERT INTO collectionname VALUES (14,'af','ln','ALEPH'); INSERT INTO collectionname VALUES (14,'gl','ln','ALEPH'); INSERT INTO collectionname VALUES (15,'en','ln','Articles & Preprints'); INSERT INTO collectionname VALUES (15,'fr','ln','Articles et Prétirages'); INSERT INTO collectionname VALUES (15,'de','ln','Artikel & Preprints'); INSERT INTO collectionname VALUES (15,'es','ln','Articulos y preprints'); INSERT INTO collectionname VALUES (15,'ca','ln','Articles i preprints'); INSERT INTO collectionname VALUES (15,'pl','ln','Artykuły i Preprinty'); INSERT INTO collectionname VALUES (15,'pt','ln','Artigos e Preprints'); INSERT INTO collectionname VALUES (15,'it','ln','Articoli e Preprint'); INSERT INTO collectionname VALUES (15,'ru','ln','Статьи и Препринты'); INSERT INTO collectionname VALUES (15,'sk','ln','Články a Preprinty'); INSERT INTO collectionname VALUES (15,'cs','ln','Články a Preprinty'); INSERT INTO collectionname VALUES (15,'no','ln','Artikler og Førtrykk'); INSERT INTO collectionname VALUES (15,'sv','ln',''); INSERT INTO collectionname VALUES (15,'el','ln',"Άρθρα & Προδημοσιεύσεις"); INSERT INTO collectionname VALUES (15,'uk','ln','Статті та Препринти'); INSERT INTO collectionname VALUES (15,'ja','ln','記事及びプレプリント'); INSERT INTO collectionname VALUES (15,'bg','ln','Статии и Препринти'); INSERT INTO collectionname VALUES (15,'hr','ln','Članci i Preprinti'); INSERT INTO collectionname VALUES (15,'zh_CN','ln','文章和预印'); INSERT INTO collectionname VALUES (15,'zh_TW','ln','文章和預印'); INSERT INTO collectionname VALUES (15,'hu','ln','Cikkek és Preprintek'); INSERT INTO collectionname VALUES (15,'af','ln','Artikels & Pre-drukke'); INSERT INTO collectionname VALUES (15,'gl','ln','Artigos e Preprints'); INSERT INTO collectionname VALUES (16,'en','ln','Books & Reports'); INSERT INTO collectionname VALUES (16,'fr','ln','Livres et Rapports'); INSERT INTO collectionname VALUES (16,'de','ln','Monographien & Reports'); INSERT INTO collectionname VALUES (16,'es','ln','Libros e informes'); INSERT INTO collectionname VALUES (16,'ca','ln','Llibres i informes'); INSERT INTO collectionname VALUES (16,'pl','ln','Książki i Raporty'); INSERT INTO collectionname VALUES (16,'pt','ln','Livros e Relatórios'); INSERT INTO collectionname VALUES (16,'it','ln','Libri e Rapporti'); INSERT INTO collectionname VALUES (16,'ru','ln','Книги и Рапорты'); INSERT INTO collectionname VALUES (16,'sk','ln','Knihy a Správy'); INSERT INTO collectionname VALUES (16,'cs','ln','Knihy a Zprávy'); INSERT INTO collectionname VALUES (16,'no','ln','Bøker og Rapporter'); INSERT INTO collectionname VALUES (16,'sv','ln',''); INSERT INTO collectionname VALUES (16,'el','ln','Βιβλία & Αναφορές'); INSERT INTO collectionname VALUES (16,'uk','ln','Книги та Звіти'); INSERT INTO collectionname VALUES (16,'ja','ln','本及びレポート'); INSERT INTO collectionname VALUES (16,'bg','ln','Книги и Доклади'); INSERT INTO collectionname VALUES (16,'hr','ln','Knjige i Izvještaji'); INSERT INTO collectionname VALUES (16,'zh_CN','ln','书本和报告'); INSERT INTO collectionname VALUES (16,'zh_TW','ln','書本和報告'); INSERT INTO collectionname VALUES (16,'hu','ln','Könyvek és tanulmányok'); INSERT INTO collectionname VALUES (16,'af','ln','Boeke & Verslae'); INSERT INTO collectionname VALUES (16,'gl','ln','Libros e Informes'); INSERT INTO collectionname VALUES (17,'en','ln','Multimedia & Arts'); INSERT INTO collectionname VALUES (17,'fr','ln','Multimédia et Arts'); INSERT INTO collectionname VALUES (17,'de','ln','Multimedia & Kunst'); INSERT INTO collectionname VALUES (17,'es','ln','Multimedia y artes'); INSERT INTO collectionname VALUES (17,'ca','ln','Multimèdia i arts'); INSERT INTO collectionname VALUES (17,'pl','ln','Multimedia i Sztuka'); INSERT INTO collectionname VALUES (17,'pt','ln','Multimédia e Artes'); INSERT INTO collectionname VALUES (17,'it','ln','Multimedia e Arti'); INSERT INTO collectionname VALUES (17,'ru','ln','Мультимедиа и Исскуство'); INSERT INTO collectionname VALUES (17,'sk','ln','Multimédia a Umenie'); INSERT INTO collectionname VALUES (17,'cs','ln','Multimédia a Umění'); INSERT INTO collectionname VALUES (17,'no','ln','Multimedia og Grafikk'); INSERT INTO collectionname VALUES (17,'sv','ln',''); INSERT INTO collectionname VALUES (17,'el','ln','Πολυμέσα & Τέχνες'); INSERT INTO collectionname VALUES (17,'uk','ln','Мультимедіа та Мистецтво'); INSERT INTO collectionname VALUES (17,'ja','ln','マルチメディア及び芸術'); INSERT INTO collectionname VALUES (17,'bg','ln','Мултимедия и Изкуства'); INSERT INTO collectionname VALUES (17,'hr','ln','Multimedija i Umjetnost'); INSERT INTO collectionname VALUES (17,'zh_CN','ln','多媒体和艺术'); INSERT INTO collectionname VALUES (17,'zh_TW','ln','多媒體和藝術'); INSERT INTO collectionname VALUES (17,'hu','ln','Multimédia és képzőművészet'); INSERT INTO collectionname VALUES (17,'af','ln','Multimedia & Kunste'); INSERT INTO collectionname VALUES (17,'gl','ln','Multimedia e Arte'); INSERT INTO collectionname VALUES (18,'en','ln','Poetry'); INSERT INTO collectionname VALUES (18,'fr','ln','Poésie'); INSERT INTO collectionname VALUES (18,'de','ln','Poesie'); INSERT INTO collectionname VALUES (18,'es','ln','Poesía'); INSERT INTO collectionname VALUES (18,'ca','ln','Poesia'); INSERT INTO collectionname VALUES (18,'pl','ln','Poezja'); INSERT INTO collectionname VALUES (18,'pt','ln','Poesia'); INSERT INTO collectionname VALUES (18,'it','ln','Poesia'); INSERT INTO collectionname VALUES (18,'ru','ln','Поэзия'); INSERT INTO collectionname VALUES (18,'sk','ln','Poézia'); INSERT INTO collectionname VALUES (18,'cs','ln','Poezie'); INSERT INTO collectionname VALUES (18,'no','ln','Poesi'); INSERT INTO collectionname VALUES (18,'sv','ln',''); INSERT INTO collectionname VALUES (18,'el','ln','Ποίηση'); INSERT INTO collectionname VALUES (18,'uk','ln','Поезія'); INSERT INTO collectionname VALUES (18,'ja','ln','詩歌'); INSERT INTO collectionname VALUES (18,'bg','ln','Поезия'); INSERT INTO collectionname VALUES (18,'hr','ln','Poezija'); INSERT INTO collectionname VALUES (18,'zh_CN','ln','诗歌'); INSERT INTO collectionname VALUES (18,'zh_TW','ln','詩歌'); INSERT INTO collectionname VALUES (18,'hu','ln','Költészet'); INSERT INTO collectionname VALUES (18,'af','ln','Poësie'); INSERT INTO collectionname VALUES (18,'gl','ln','Poesía'); INSERT INTO collection_collection VALUES (1,15,'r',60); INSERT INTO collection_collection VALUES (1,16,'r',40); INSERT INTO collection_collection VALUES (1,17,'r',30); INSERT INTO collection_collection VALUES (15,6,'r',20); INSERT INTO collection_collection VALUES (15,2,'r',10); INSERT INTO collection_collection VALUES (16,3,'r',30); INSERT INTO collection_collection VALUES (16,4,'r',20); INSERT INTO collection_collection VALUES (16,5,'r',10); INSERT INTO collection_collection VALUES (17,8,'r',20); INSERT INTO collection_collection VALUES (17,18,'r',10); INSERT INTO collection_collection VALUES (1,9,'v',20); INSERT INTO collection_collection VALUES (1,10,'v',10); INSERT INTO collection_collection VALUES (9,11,'r',10); INSERT INTO collection_collection VALUES (9,12,'r',20); INSERT INTO collection_collection VALUES (10,13,'r',10); INSERT INTO collection_collection VALUES (10,14,'r',20); INSERT INTO collection_example VALUES (1,1,1); INSERT INTO collection_example VALUES (1,5,2); INSERT INTO collection_example VALUES (1,8,3); INSERT INTO collection_example VALUES (1,7,5); INSERT INTO collection_example VALUES (1,6,4); INSERT INTO collection_example VALUES (1,4,6); INSERT INTO collection_example VALUES (1,3,7); INSERT INTO collection_example VALUES (1,13,50); INSERT INTO collection_example VALUES (1,2,8); INSERT INTO collection_example VALUES (2,1,1); INSERT INTO collection_example VALUES (2,5,2); INSERT INTO collection_example VALUES (2,8,3); INSERT INTO collection_example VALUES (2,7,5); INSERT INTO collection_example VALUES (2,6,4); INSERT INTO collection_example VALUES (2,4,6); INSERT INTO collection_example VALUES (2,3,7); INSERT INTO collection_example VALUES (2,2,8); INSERT INTO collection_example VALUES (3,6,30); INSERT INTO collection_example VALUES (3,17,10); INSERT INTO collection_example VALUES (3,18,20); INSERT INTO collection_example VALUES (4,1,1); INSERT INTO collection_example VALUES (4,5,2); INSERT INTO collection_example VALUES (4,8,3); INSERT INTO collection_example VALUES (4,7,5); INSERT INTO collection_example VALUES (4,6,4); INSERT INTO collection_example VALUES (4,4,6); INSERT INTO collection_example VALUES (4,3,7); INSERT INTO collection_example VALUES (4,2,8); INSERT INTO collection_example VALUES (5,1,1); INSERT INTO collection_example VALUES (5,5,2); INSERT INTO collection_example VALUES (5,8,3); INSERT INTO collection_example VALUES (5,7,5); INSERT INTO collection_example VALUES (5,6,4); INSERT INTO collection_example VALUES (5,4,6); INSERT INTO collection_example VALUES (5,3,7); INSERT INTO collection_example VALUES (5,2,8); INSERT INTO collection_example VALUES (6,1,10); INSERT INTO collection_example VALUES (6,5,20); INSERT INTO collection_example VALUES (6,8,30); INSERT INTO collection_example VALUES (6,0,27); INSERT INTO collection_example VALUES (6,4,40); INSERT INTO collection_example VALUES (6,3,60); INSERT INTO collection_example VALUES (6,2,80); INSERT INTO collection_example VALUES (8,14,10); INSERT INTO collection_example VALUES (8,15,20); INSERT INTO collection_example VALUES (8,16,30); INSERT INTO collection_example VALUES (15,0,27); INSERT INTO collection_example VALUES (15,1,1); INSERT INTO collection_example VALUES (15,2,8); INSERT INTO collection_example VALUES (15,3,60); INSERT INTO collection_example VALUES (15,4,40); INSERT INTO collection_example VALUES (15,5,2); INSERT INTO collection_example VALUES (15,6,4); INSERT INTO collection_example VALUES (15,7,5); INSERT INTO collection_example VALUES (15,8,3); INSERT INTO collection_example VALUES (16,1,1); INSERT INTO collection_example VALUES (16,2,8); INSERT INTO collection_example VALUES (16,3,7); INSERT INTO collection_example VALUES (16,4,6); INSERT INTO collection_example VALUES (16,5,2); INSERT INTO collection_example VALUES (16,6,4); INSERT INTO collection_example VALUES (16,7,5); INSERT INTO collection_example VALUES (16,8,3); INSERT INTO collection_example VALUES (17,14,10); INSERT INTO collection_example VALUES (17,15,20); INSERT INTO collection_example VALUES (17,16,30); INSERT INTO collection_example VALUES (1,19,0); INSERT INTO collection_example VALUES (15,19,0); INSERT INTO collection_example VALUES (16,19,0); INSERT INTO collection_field_fieldvalue VALUES (2,7,7,'seo',10,18); INSERT INTO collection_field_fieldvalue VALUES (2,7,6,'seo',10,19); INSERT INTO collection_field_fieldvalue VALUES (2,7,5,'seo',10,20); INSERT INTO collection_field_fieldvalue VALUES (2,7,4,'seo',10,21); INSERT INTO collection_field_fieldvalue VALUES (6,7,1,'seo',2,24); INSERT INTO collection_field_fieldvalue VALUES (6,7,2,'seo',2,23); INSERT INTO collection_field_fieldvalue VALUES (6,7,3,'seo',2,22); INSERT INTO collection_field_fieldvalue VALUES (6,7,4,'seo',2,21); INSERT INTO collection_field_fieldvalue VALUES (6,7,5,'seo',2,20); INSERT INTO collection_field_fieldvalue VALUES (6,7,6,'seo',2,19); INSERT INTO collection_field_fieldvalue VALUES (6,7,7,'seo',2,18); INSERT INTO collection_field_fieldvalue VALUES (6,7,8,'seo',2,17); INSERT INTO collection_field_fieldvalue VALUES (6,7,9,'seo',2,16); INSERT INTO collection_field_fieldvalue VALUES (6,7,10,'seo',2,15); INSERT INTO collection_field_fieldvalue VALUES (6,7,11,'seo',2,14); INSERT INTO collection_field_fieldvalue VALUES (6,7,12,'seo',2,13); INSERT INTO collection_field_fieldvalue VALUES (6,7,13,'seo',2,12); INSERT INTO collection_field_fieldvalue VALUES (6,7,14,'seo',2,11); INSERT INTO collection_field_fieldvalue VALUES (6,7,15,'seo',2,10); INSERT INTO collection_field_fieldvalue VALUES (6,7,16,'seo',2,9); INSERT INTO collection_field_fieldvalue VALUES (6,7,17,'seo',2,8); INSERT INTO collection_field_fieldvalue VALUES (6,7,18,'seo',2,7); INSERT INTO collection_field_fieldvalue VALUES (6,7,19,'seo',2,6); INSERT INTO collection_field_fieldvalue VALUES (6,7,20,'seo',2,5); INSERT INTO collection_field_fieldvalue VALUES (6,7,21,'seo',2,4); INSERT INTO collection_field_fieldvalue VALUES (6,7,22,'seo',2,3); INSERT INTO collection_field_fieldvalue VALUES (6,7,23,'seo',2,2); INSERT INTO collection_field_fieldvalue VALUES (6,7,24,'seo',2,1); INSERT INTO collection_field_fieldvalue VALUES (2,7,3,'seo',10,22); INSERT INTO collection_field_fieldvalue VALUES (2,7,2,'seo',10,23); INSERT INTO collection_field_fieldvalue VALUES (6,8,NULL,'sew',2,0); INSERT INTO collection_field_fieldvalue VALUES (2,7,1,'seo',10,24); INSERT INTO collection_field_fieldvalue VALUES (6,4,NULL,'sew',4,70); INSERT INTO collection_field_fieldvalue VALUES (6,2,NULL,'sew',3,70); INSERT INTO collection_field_fieldvalue VALUES (6,19,NULL,'sew',3,65); INSERT INTO collection_field_fieldvalue VALUES (6,5,NULL,'sew',1,70); INSERT INTO collection_field_fieldvalue VALUES (6,11,25,'seo',1,1); INSERT INTO collection_field_fieldvalue VALUES (6,11,26,'seo',1,2); INSERT INTO collection_field_fieldvalue VALUES (8,7,27,'seo',10,3); INSERT INTO collection_field_fieldvalue VALUES (8,7,28,'seo',10,1); INSERT INTO collection_field_fieldvalue VALUES (8,7,29,'seo',10,4); INSERT INTO collection_field_fieldvalue VALUES (8,7,30,'seo',10,2); INSERT INTO collection_field_fieldvalue VALUES (6,3,NULL,'sew',5,70); INSERT INTO collection_field_fieldvalue VALUES (2,7,8,'seo',10,17); INSERT INTO collection_field_fieldvalue VALUES (2,7,9,'seo',10,16); INSERT INTO collection_field_fieldvalue VALUES (2,7,10,'seo',10,15); INSERT INTO collection_field_fieldvalue VALUES (2,7,11,'seo',10,14); INSERT INTO collection_field_fieldvalue VALUES (2,7,12,'seo',10,13); INSERT INTO collection_field_fieldvalue VALUES (2,7,13,'seo',10,12); INSERT INTO collection_field_fieldvalue VALUES (2,7,14,'seo',10,11); INSERT INTO collection_field_fieldvalue VALUES (2,7,15,'seo',10,10); INSERT INTO collection_field_fieldvalue VALUES (2,7,16,'seo',10,9); INSERT INTO collection_field_fieldvalue VALUES (2,7,17,'seo',10,8); INSERT INTO collection_field_fieldvalue VALUES (2,7,18,'seo',10,7); INSERT INTO collection_field_fieldvalue VALUES (2,7,19,'seo',10,6); INSERT INTO collection_field_fieldvalue VALUES (2,7,20,'seo',10,5); INSERT INTO collection_field_fieldvalue VALUES (2,7,21,'seo',10,4); INSERT INTO collection_field_fieldvalue VALUES (2,7,22,'seo',10,3); INSERT INTO collection_field_fieldvalue VALUES (2,7,23,'seo',10,2); INSERT INTO collection_field_fieldvalue VALUES (2,7,24,'seo',10,1); INSERT INTO collection_field_fieldvalue VALUES (2,8,NULL,'sew',20,0); INSERT INTO collection_field_fieldvalue VALUES (2,4,NULL,'sew',40,70); INSERT INTO collection_field_fieldvalue VALUES (2,2,NULL,'sew',60,70); INSERT INTO collection_field_fieldvalue VALUES (2,5,NULL,'sew',30,70); INSERT INTO collection_field_fieldvalue VALUES (2,11,26,'seo',5,1); INSERT INTO collection_field_fieldvalue VALUES (2,3,NULL,'sew',50,70); INSERT INTO collection_field_fieldvalue VALUES (2,11,25,'seo',5,2); INSERT INTO collection_field_fieldvalue VALUES (2,11,32,'seo',5,0); INSERT INTO collection_field_fieldvalue VALUES (3,2,NULL,'sew',10,0); INSERT INTO collection_field_fieldvalue VALUES (3,3,NULL,'sew',20,0); INSERT INTO collection_field_fieldvalue VALUES (3,12,NULL,'sew',30,0); INSERT INTO collection_field_fieldvalue VALUES (4,4,NULL,'sew',30,0); INSERT INTO collection_field_fieldvalue VALUES (4,3,NULL,'sew',40,0); INSERT INTO collection_field_fieldvalue VALUES (4,12,NULL,'sew',10,0); INSERT INTO collection_field_fieldvalue VALUES (4,2,NULL,'sew',50,0); INSERT INTO collection_field_fieldvalue VALUES (4,6,NULL,'sew',20,0); INSERT INTO collection_field_fieldvalue VALUES (4,7,NULL,'seo',10,0); INSERT INTO collection_field_fieldvalue VALUES (4,7,12,'seo',10,2); INSERT INTO collection_field_fieldvalue VALUES (4,7,8,'seo',10,3); INSERT INTO collection_field_fieldvalue VALUES (4,7,10,'seo',10,1); INSERT INTO collection_field_fieldvalue VALUES (5,6,NULL,'sew',20,0); INSERT INTO collection_field_fieldvalue VALUES (5,12,NULL,'sew',10,0); INSERT INTO collection_field_fieldvalue VALUES (5,4,NULL,'sew',30,0); INSERT INTO collection_field_fieldvalue VALUES (5,3,NULL,'sew',40,0); INSERT INTO collection_field_fieldvalue VALUES (5,2,NULL,'sew',50,0); INSERT INTO collection_field_fieldvalue VALUES (5,7,NULL,'seo',10,0); INSERT INTO collection_field_fieldvalue VALUES (5,7,9,'seo',10,3); INSERT INTO collection_field_fieldvalue VALUES (5,7,12,'seo',10,2); INSERT INTO collection_field_fieldvalue VALUES (8,6,NULL,'sew',10,0); INSERT INTO collection_field_fieldvalue VALUES (8,2,NULL,'sew',50,0); INSERT INTO collection_field_fieldvalue VALUES (8,3,NULL,'sew',40,0); INSERT INTO collection_field_fieldvalue VALUES (8,5,NULL,'sew',20,0); INSERT INTO collection_field_fieldvalue VALUES (8,4,NULL,'sew',30,0); INSERT INTO collection_field_fieldvalue VALUES (1,2,NULL,'soo',40,0); INSERT INTO collection_field_fieldvalue VALUES (1,3,NULL,'soo',30,0); INSERT INTO collection_field_fieldvalue VALUES (1,6,NULL,'soo',20,0); INSERT INTO collection_field_fieldvalue VALUES (1,12,NULL,'soo',10,0); INSERT INTO collection_field_fieldvalue VALUES (3,2,NULL,'soo',40,0); INSERT INTO collection_field_fieldvalue VALUES (3,3,NULL,'soo',30,0); INSERT INTO collection_field_fieldvalue VALUES (3,15,NULL,'soo',20,0); INSERT INTO collection_field_fieldvalue VALUES (3,12,NULL,'soo',10,0); INSERT INTO collection_format VALUES (6,1,100); INSERT INTO collection_format VALUES (6,2,90); INSERT INTO collection_format VALUES (6,3,80); INSERT INTO collection_format VALUES (6,4,70); INSERT INTO collection_format VALUES (6,5,60); INSERT INTO collection_format VALUES (2,1,100); INSERT INTO collection_format VALUES (2,2,90); INSERT INTO collection_format VALUES (2,3,80); INSERT INTO collection_format VALUES (2,4,70); INSERT INTO collection_format VALUES (2,5,60); INSERT INTO collection_format VALUES (3,1,100); INSERT INTO collection_format VALUES (3,2,90); INSERT INTO collection_format VALUES (3,3,80); INSERT INTO collection_format VALUES (3,4,70); INSERT INTO collection_format VALUES (3,5,60); INSERT INTO collection_format VALUES (4,1,100); INSERT INTO collection_format VALUES (4,2,90); INSERT INTO collection_format VALUES (4,3,80); INSERT INTO collection_format VALUES (4,4,70); INSERT INTO collection_format VALUES (4,5,60); INSERT INTO collection_format VALUES (5,1,100); INSERT INTO collection_format VALUES (5,2,90); INSERT INTO collection_format VALUES (5,3,80); INSERT INTO collection_format VALUES (5,4,70); INSERT INTO collection_format VALUES (5,5,60); INSERT INTO collection_format VALUES (8,1,100); INSERT INTO collection_format VALUES (8,2,90); INSERT INTO collection_format VALUES (8,3,80); INSERT INTO collection_format VALUES (8,4,70); INSERT INTO collection_format VALUES (8,5,60); INSERT INTO collection_format VALUES (8,6,96); INSERT INTO collection_format VALUES (8,7,93); INSERT INTO collection_format VALUES (1,1,100); INSERT INTO collection_format VALUES (1,2,90); INSERT INTO collection_format VALUES (1,3,80); INSERT INTO collection_format VALUES (1,4,70); INSERT INTO collection_format VALUES (1,5,60); INSERT INTO collection_format VALUES (15,1,100); INSERT INTO collection_format VALUES (15,2,90); INSERT INTO collection_format VALUES (15,18,85); INSERT INTO collection_format VALUES (15,3,80); INSERT INTO collection_format VALUES (15,4,70); INSERT INTO collection_format VALUES (15,5,60); INSERT INTO collection_portalbox (id_collection,id_portalbox,ln,position,score) VALUES (1,1,'en','rt',100); INSERT INTO collection_portalbox (id_collection,id_portalbox,ln,position,score) VALUES (1,2,'en','rt',90); INSERT INTO collection_portalbox (id_collection,id_portalbox,ln,position,score) VALUES (6,3,'en','rt',100); INSERT INTO collection_portalbox (id_collection,id_portalbox,ln,position,score) VALUES (6,49,'en','rt',95); INSERT INTO collection_portalbox (id_collection,id_portalbox,ln,position,score) VALUES (6,4,'en','rt',90); INSERT INTO collection_portalbox (id_collection,id_portalbox,ln,position,score) VALUES (2,5,'en','rt',100); INSERT INTO collection_portalbox (id_collection,id_portalbox,ln,position,score) VALUES (2,45,'en','rt',95); INSERT INTO collection_portalbox (id_collection,id_portalbox,ln,position,score) VALUES (2,6,'en','rt',90); INSERT INTO collection_portalbox (id_collection,id_portalbox,ln,position,score) VALUES (3,7,'en','rt',100); INSERT INTO collection_portalbox (id_collection,id_portalbox,ln,position,score) VALUES (3,46,'en','rt',95); INSERT INTO collection_portalbox (id_collection,id_portalbox,ln,position,score) VALUES (3,8,'en','rt',90); INSERT INTO collection_portalbox (id_collection,id_portalbox,ln,position,score) VALUES (4,9,'en','rt',100); INSERT INTO collection_portalbox (id_collection,id_portalbox,ln,position,score) VALUES (4,47,'en','rt',95); INSERT INTO collection_portalbox (id_collection,id_portalbox,ln,position,score) VALUES (4,10,'en','rt',90); INSERT INTO collection_portalbox (id_collection,id_portalbox,ln,position,score) VALUES (5,11,'en','rt',100); INSERT INTO collection_portalbox (id_collection,id_portalbox,ln,position,score) VALUES (5,48,'en','rt',95); INSERT INTO collection_portalbox (id_collection,id_portalbox,ln,position,score) VALUES (8,14,'en','rt',100); INSERT INTO collection_portalbox (id_collection,id_portalbox,ln,position,score) VALUES (8,50,'en','rt',95); INSERT INTO collection_portalbox (id_collection,id_portalbox,ln,position,score) VALUES (9,15,'en','rt',100); INSERT INTO collection_portalbox (id_collection,id_portalbox,ln,position,score) VALUES (10,16,'en','rt',100); INSERT INTO collection_portalbox (id_collection,id_portalbox,ln,position,score) VALUES (11,17,'en','rt',100); INSERT INTO collection_portalbox (id_collection,id_portalbox,ln,position,score) VALUES (12,18,'en','rt',100); INSERT INTO collection_portalbox (id_collection,id_portalbox,ln,position,score) VALUES (13,19,'en','rt',100); INSERT INTO collection_portalbox (id_collection,id_portalbox,ln,position,score) VALUES (14,20,'en','rt',100); INSERT INTO collection_portalbox (id_collection,id_portalbox,ln,position,score) VALUES (15,21,'en','rt',100); INSERT INTO collection_portalbox (id_collection,id_portalbox,ln,position,score) VALUES (15,51,'en','rt',95); INSERT INTO collection_portalbox (id_collection,id_portalbox,ln,position,score) VALUES (16,22,'en','rt',100); INSERT INTO collection_portalbox (id_collection,id_portalbox,ln,position,score) VALUES (16,52,'en','rt',95); INSERT INTO collection_portalbox (id_collection,id_portalbox,ln,position,score) VALUES (17,23,'en','rt',100); INSERT INTO collection_portalbox (id_collection,id_portalbox,ln,position,score) VALUES (17,53,'en','rt',95); INSERT INTO collection_portalbox (id_collection,id_portalbox,ln,position,score) VALUES (18,24,'en','rt',100); INSERT INTO collection_portalbox (id_collection,id_portalbox,ln,position,score) VALUES (1,25,'fr','rt',100); INSERT INTO collection_portalbox (id_collection,id_portalbox,ln,position,score) VALUES (1,26,'fr','rt',90); INSERT INTO collection_portalbox (id_collection,id_portalbox,ln,position,score) VALUES (1,27,'sk','rt',100); INSERT INTO collection_portalbox (id_collection,id_portalbox,ln,position,score) VALUES (1,28,'sk','rt',90); INSERT INTO collection_portalbox (id_collection,id_portalbox,ln,position,score) VALUES (1,29,'cs','rt',100); INSERT INTO collection_portalbox (id_collection,id_portalbox,ln,position,score) VALUES (1,30,'cs','rt',90); INSERT INTO collection_portalbox (id_collection,id_portalbox,ln,position,score) VALUES (1,31,'de','rt',100); INSERT INTO collection_portalbox (id_collection,id_portalbox,ln,position,score) VALUES (1,32,'de','rt',90); INSERT INTO collection_portalbox (id_collection,id_portalbox,ln,position,score) VALUES (1,33,'es','rt',100); INSERT INTO collection_portalbox (id_collection,id_portalbox,ln,position,score) VALUES (1,34,'es','rt',90); INSERT INTO collection_portalbox (id_collection,id_portalbox,ln,position,score) VALUES (1,35,'it','rt',100); INSERT INTO collection_portalbox (id_collection,id_portalbox,ln,position,score) VALUES (1,36,'it','rt',90); INSERT INTO collection_portalbox (id_collection,id_portalbox,ln,position,score) VALUES (1,37,'no','rt',100); INSERT INTO collection_portalbox (id_collection,id_portalbox,ln,position,score) VALUES (1,38,'no','rt',90); INSERT INTO collection_portalbox (id_collection,id_portalbox,ln,position,score) VALUES (1,39,'pt','rt',100); INSERT INTO collection_portalbox (id_collection,id_portalbox,ln,position,score) VALUES (1,40,'pt','rt',90); INSERT INTO collection_portalbox (id_collection,id_portalbox,ln,position,score) VALUES (1,41,'ru','rt',100); INSERT INTO collection_portalbox (id_collection,id_portalbox,ln,position,score) VALUES (1,42,'ru','rt',90); INSERT INTO collection_portalbox (id_collection,id_portalbox,ln,position,score) VALUES (1,43,'sv','rt',100); INSERT INTO collection_portalbox (id_collection,id_portalbox,ln,position,score) VALUES (1,44,'sv','rt',90); INSERT INTO collection_portalbox (id_collection,id_portalbox,ln,position,score) VALUES (1,54,'el','rt',100); INSERT INTO collection_portalbox (id_collection,id_portalbox,ln,position,score) VALUES (1,55,'el','rt',90); INSERT INTO collection_portalbox (id_collection,id_portalbox,ln,position,score) VALUES (1,56,'uk','rt',100); INSERT INTO collection_portalbox (id_collection,id_portalbox,ln,position,score) VALUES (1,57,'uk','rt',90); INSERT INTO collection_portalbox (id_collection,id_portalbox,ln,position,score) VALUES (1,58,'ca','rt',100); INSERT INTO collection_portalbox (id_collection,id_portalbox,ln,position,score) VALUES (1,59,'ca','rt',90); INSERT INTO collection_portalbox (id_collection,id_portalbox,ln,position,score) VALUES (1,60,'ja','rt',100); INSERT INTO collection_portalbox (id_collection,id_portalbox,ln,position,score) VALUES (1,61,'ja','rt',90); INSERT INTO collection_portalbox (id_collection,id_portalbox,ln,position,score) VALUES (1,62,'pl','rt',100); INSERT INTO collection_portalbox (id_collection,id_portalbox,ln,position,score) VALUES (1,63,'pl','rt',90); INSERT INTO collection_portalbox (id_collection,id_portalbox,ln,position,score) VALUES (1,64,'bg','rt',100); INSERT INTO collection_portalbox (id_collection,id_portalbox,ln,position,score) VALUES (1,65,'bg','rt',90); INSERT INTO collection_portalbox (id_collection,id_portalbox,ln,position,score) VALUES (1,66,'hr','rt',100); INSERT INTO collection_portalbox (id_collection,id_portalbox,ln,position,score) VALUES (1,67,'hr','rt',90); INSERT INTO collection_portalbox (id_collection,id_portalbox,ln,position,score) VALUES (1,68,'zh_CN','rt',100); INSERT INTO collection_portalbox (id_collection,id_portalbox,ln,position,score) VALUES (1,69,'zh_CN','rt',90); INSERT INTO collection_portalbox (id_collection,id_portalbox,ln,position,score) VALUES (1,70,'zh_TW','rt',100); INSERT INTO collection_portalbox (id_collection,id_portalbox,ln,position,score) VALUES (1,71,'zh_TW','rt',90); INSERT INTO collection_portalbox (id_collection,id_portalbox,ln,position,score) VALUES (1,72,'hu','rt',100); INSERT INTO collection_portalbox (id_collection,id_portalbox,ln,position,score) VALUES (1,73,'hu','rt',90); INSERT INTO collection_portalbox (id_collection,id_portalbox,ln,position,score) VALUES (1,74,'af','rt',100); INSERT INTO collection_portalbox (id_collection,id_portalbox,ln,position,score) VALUES (1,75,'af','rt',90); INSERT INTO collection_portalbox (id_collection,id_portalbox,ln,position,score) VALUES (1,76,'gl','rt',100); INSERT INTO collection_portalbox (id_collection,id_portalbox,ln,position,score) VALUES (1,77,'gl','rt',90); INSERT INTO example VALUES (1,'author search','author:"Ellis, J"'); INSERT INTO example VALUES (2,'word search','quantum'); INSERT INTO example VALUES (3,'wildcard word search','quant*'); INSERT INTO example VALUES (4,'phrase search','title:\'standard model\''); INSERT INTO example VALUES (5,'boolean search','quark -sigma +dense'); INSERT INTO example VALUES (6,'complex boolean search','author:draper title:electrical'); INSERT INTO example VALUES (7,'complex boolean search','author:ellis -muon* +abstract:\'dense quark matter\''); INSERT INTO example VALUES (8,'boolean search','ellis muon*'); INSERT INTO example VALUES (13,'reference search','references:"Theor. Math. Phys. 2 (1998) 231"'); INSERT INTO example VALUES (14,'phrase search','abstract:\'Higgs boson\''); INSERT INTO example VALUES (15,'wildcard word search','cal*'); INSERT INTO example VALUES (16,'keyword search','keyword:Nobel'); INSERT INTO example VALUES (17,'author search','author:Cole'); INSERT INTO example VALUES (18,'phrase search','title:\'nuclear electronics\''); INSERT INTO example VALUES (19,'combined search','supergravity and author:"Ellis, J" and year:1980->1990'); INSERT INTO fieldvalue VALUES (1,'Particle Physics','Particle Physics'); INSERT INTO fieldvalue VALUES (2,'Particle Physics - Experimental Results','Particle Physics - Experimental Results'); INSERT INTO fieldvalue VALUES (3,'Particle Physics - Phenomenology','Particle Physics - Phenomenology'); INSERT INTO fieldvalue VALUES (4,'Particle Physics - Theory','Particle Physics - Theory'); INSERT INTO fieldvalue VALUES (5,'Particle Physics - Lattice','Particle Physics - Lattice'); INSERT INTO fieldvalue VALUES (6,'Nuclear Physics','Nuclear Physics'); INSERT INTO fieldvalue VALUES (7,'General Relativity and Cosmology','General Relativity and Cosmology'); INSERT INTO fieldvalue VALUES (8,'General Theoretical Physics','General Theoretical Physics'); INSERT INTO fieldvalue VALUES (9,'Detectors and Experimental Techniques','Detectors and Experimental Techniques'); INSERT INTO fieldvalue VALUES (10,'Accelerators and Storage Rings','Accelerators and Storage Rings'); INSERT INTO fieldvalue VALUES (11,'Health Physics and Radiation Effects','Health Physics and Radiation Effects'); INSERT INTO fieldvalue VALUES (12,'Computing and Computers','Computing and Computers'); INSERT INTO fieldvalue VALUES (13,'Mathematical Physics and Mathematics','Mathematical Physics and Mathematics'); INSERT INTO fieldvalue VALUES (14,'Astrophysics and Astronomy','Astrophysics and Astronomy'); INSERT INTO fieldvalue VALUES (15,'Nonlinear Systems','Nonlinear Systems'); INSERT INTO fieldvalue VALUES (16,'Condensed Matter','Condensed Matter'); INSERT INTO fieldvalue VALUES (17,'Other Fields of Physics','Other Fields of Physics'); INSERT INTO fieldvalue VALUES (18,'Chemical Physics and Chemistry','Chemical Physics and Chemistry'); INSERT INTO fieldvalue VALUES (19,'Engineering','Engineering'); INSERT INTO fieldvalue VALUES (20,'Information Transfer and Management','Information Transfer and Management'); INSERT INTO fieldvalue VALUES (21,'Other Aspects of Science','Other Aspects of Science'); INSERT INTO fieldvalue VALUES (22,'Commerce, Economics, Social Science','Commerce, Economics, Social Science'); INSERT INTO fieldvalue VALUES (23,'Biography, Geography, History','Biography, Geography, History'); INSERT INTO fieldvalue VALUES (24,'Other Subjects','Other Subjects'); INSERT INTO fieldvalue VALUES (25,'CERN TH','TH'); INSERT INTO fieldvalue VALUES (26,'CERN PPE','PPE'); INSERT INTO fieldvalue VALUES (27,'Experiments and Tracks','Experiments and Tracks'); INSERT INTO fieldvalue VALUES (28,'Personalities and History of CERN','Personalities and History of CERN'); INSERT INTO fieldvalue VALUES (29,'Diagrams and Charts','Diagrams and Charts'); INSERT INTO fieldvalue VALUES (30,'Life at CERN','Life at CERN'); INSERT INTO fieldvalue VALUES (31,'CERN ETT','ETT'); INSERT INTO fieldvalue VALUES (32,'CERN EP','EP'); INSERT INTO oaiARCHIVE VALUES (2,'CERN experimental papers','cern:experiment','','','c=;p1=CERN;f1=reportnumber;m1=a;p2=(EP|PPE);f2=division;m2=r;p3=;f3=;m3=;',NULL,'CERN','reportnumber','a','(EP|PPE)','division','r','','',''); INSERT INTO oaiARCHIVE VALUES (3,'CERN theoretical papers','cern:theory','','','c=;p1=CERN;f1=reportnumber;m1=a;p2=TH;f2=division;m2=e;p3=;f3=;m3=;',NULL,'CERN','reportnumber','a','TH','division','e','','',''); INSERT INTO portalbox VALUES (1,'ABOUT THIS SITE','Welcome to the demo site of the CDS Invenio, a free document server software coming from CERN. Please feel free to explore all the features of this demo site to the full.'); INSERT INTO portalbox VALUES (2,'SEE ALSO','<a href=\"http://cdsware.cern.ch/\">CDS Invenio</a><br /><a href=\"http://www.cern.ch/\">CERN</a><br /><a href=\"http://google.com/\">Google</a>'); INSERT INTO portalbox VALUES (3,'ABOUT ARTICLES','The Articles collection contains all the papers published in scientific journals by our staff. The collection starts from 1998.'); INSERT INTO portalbox VALUES (4,'SEE ALSO','<a href=\"http://arXiv.org/\">arXiv.org</a><br /><a href=\"http://cds.cern.ch/\">CDS</a><br /><a href=\"www.chemweb.com\">ChemWeb</a><br /><a href=\"http://www.ams.org/mathscinet\">MathSciNet</a>'); INSERT INTO portalbox VALUES (5,'ABOUT PREPRINTS','The Preprints collection contains not-yet-published papers and research results obtained at the institute. The collection starts from 2001.'); INSERT INTO portalbox VALUES (6,'SEE ALSO','<a href=\"http://arXiv.org/\">arXiv.org</a><br /><a href=\"http://cds.cern.ch/\">CDS</a>'); INSERT INTO portalbox VALUES (7,'ABOUT BOOKS','The Books collection contains monographs published by institute staff as well as pointers to interesting online e-books available in fulltext.'); INSERT INTO portalbox VALUES (8,'SEE ALSO','<a href=\"http://etext.lib.virginia.edu/ebooks/ebooklist.html\">UV e-Books</a><br /><a href=\"http://www.gutenberg.org/\">Project Gutenberg</a>'); INSERT INTO portalbox VALUES (9,'ABOUT THESES','The Theses collection contains all students\' theses defended at the institute. The collection starts from 1950.'); INSERT INTO portalbox VALUES (10,'SEE ALSO','<a href=\"http://www.theses.org/\">NDLTD Theses</a><br /><a href=\"http://www.thesis.de/\">Thesis.DE</a>'); INSERT INTO portalbox VALUES (11,'ABOUT REPORTS','The Reports collection contains miscellaneous technical reports, unpublished elsewhere. The collection starts from 1950.'); INSERT INTO portalbox VALUES (12,'TEST portal box','this is a test portal box'); INSERT INTO portalbox VALUES (13,'test','this is a test portal box'); INSERT INTO portalbox VALUES (14,'ABOUT PICTURES','The Pictures collection contains selected photographs and illustrations. Please note that photographs are copyrighted. The collection includes historical archive that starts from 1950.'); INSERT INTO portalbox VALUES (15,'ABOUT CERN DIVISIONS','These virtual collections present a specific point of view on the database content from CERN Divisions persective.'); INSERT INTO portalbox VALUES (16,'ABOUT CERN EXPERIMENTS','These virtual collections present a specific point of view on the database content from CERN Experiments persective.'); INSERT INTO portalbox VALUES (17,'ABOUT TH','This virtual collection groups together all the documents written by authors from CERN TH Division.'); INSERT INTO portalbox VALUES (18,'ABOUT EP','This virtual collection groups together all the documents written by authors from CERN EP Division.'); INSERT INTO portalbox VALUES (19,'ABOUT ISOLDE','This virtual collection groups together all the documents about ISOLDE CERN experiment.'); INSERT INTO portalbox VALUES (20,'ABOUT ALEPH','This virtual collection groups together all the documents about ALEPH CERN experiment.'); INSERT INTO portalbox VALUES (21,'ABOUT ARTICLES AND PREPRINTS','This collection groups together all published and non-published articles, many of which in electronic fulltext form.'); INSERT INTO portalbox VALUES (22,'ABOUT BOOKS AND REPORTS','This collection groups together all monograph-like publications, be they books, theses, reports, book chapters, proceedings, and so on.'); INSERT INTO portalbox VALUES (23,'ABOUT MULTIMEDIA & OUTREACH','This collection groups together all multimedia- and outreach- oriented material.'); INSERT INTO portalbox VALUES (24,'ABOUT POETRY','This collection presents poetry excerpts, mainly to demonstrate and test the treatment of various languages.<p>Vitrum edere possum; mihi non nocet.<br />Μπορώ να φάω σπασμένα γυαλιά χωρίς να πάθω τίποτα.<br />Pòdi manjar de veire, me nafrariá pas.<br />Ég get etið gler án þess að meiða mig.<br />Ic mæg glæs eotan ond hit ne hearmiað me.<br />ᛁᚳ᛫ᛗᚨᚷ᛫ᚷᛚᚨᛋ᛫ᛖᚩᛏᚪᚾ᛫ᚩᚾᛞ᛫ᚻᛁᛏ᛫ᚾᛖ᛫ᚻᛖᚪᚱᛗᛁᚪᚧ᛫ᛗᛖ᛬<br />⠊⠀⠉⠁⠝⠀⠑⠁⠞⠀⠛⠇⠁⠎⠎⠀⠁⠝⠙⠀⠊⠞⠀⠙⠕⠑⠎⠝⠞⠀⠓⠥⠗⠞⠀⠍⠑<br />Pot să mănânc sticlă și ea nu mă rănește.<br />Meg tudom enni az üveget, nem lesz tőle bajom.<br />Môžem jesť sklo. Nezraní ma.<br /><span dir="rtl" lang="he">אני יכול לאכול זכוכית וזה לא מזיק לי.</span><br /><span dir="rtl" lang="ji">איך קען עסן גלאָז און עס טוט מיר נישט װײ.</span><br /><span dir="RTL" lang=AR>أنا قادر على أكل الزجاج و هذا لا يؤلمني.</span><br />Я могу есть стекло, оно мне не вредит.<br />მინას ვჭამ და არა მტკივა.<br />Կրնամ ապակի ուտել և ինծի անհանգիստ չըներ։<br />मैं काँच खा सकता हूँ, मुझे उस से कोई पीडा नहीं होती.<br />काचं शक्नोम्यत्तुम् । नोपहिनस्ति माम् ॥<br />ฉันกินกระจกได้ แต่มันไม่ทำให้ฉันเจ็บ<br />Tôi có thể ăn thủy tinh mà không hại gì.<br /><span lang="zh">我能吞下玻璃而不伤身体。</span><br /><span lang=ja>私はガラスを食べられます。それは私を傷つけません。</span><br /><span lang=ko>나는 유리를 먹을 수 있어요. 그래도 아프지 않아요</span><br />(<a href="http://www.columbia.edu/kermit/utf8.html">http://www.columbia.edu/kermit/utf8.html</a>)'); INSERT INTO portalbox VALUES (25,'À PROPOS DE CE SITE','Bienvenue sur le site de démonstration de CDS Invenio, un logiciel libre pour des serveurs des documents, venant du CERN. Veuillez explorer les possibilités de ce site de démonstration de tous ses côtés.'); INSERT INTO portalbox VALUES (26,'VOIR AUSSI','<a href=\"http://cdsware.cern.ch/\">CDS Invenio</a><br /><a href=\"http://www.cern.ch/\">CERN</a><br /><a href=\"http://google.com/\">Google</a>'); INSERT INTO portalbox VALUES (27,'O TÝCHTO STRÁNKACH','Vitajte na demonštračných stránkach CDS Invenio, voľne dostupného softwaru pre dokumentové servery, pochádzajúceho z CERNu. Prehliadnite si možnosti našeho demonštračného serveru podla ľubovôle.'); INSERT INTO portalbox VALUES (28,'VIĎ TIEŽ','<a href=\"http://cdsware.cern.ch/\">CDS Invenio</a><br /><a href=\"http://www.cern.ch/\">CERN</a><br /><a href=\"http://google.com/\">Google</a>'); INSERT INTO portalbox VALUES (29,'O TĚCHTO STRÁNKÁCH','Vítejte na demonstračních stránkách CDS Invenio, volně dostupného softwaru pro dokumentové servery, pocházejícího z CERNu. Prohlédněte si možnosti našeho demonstračního serveru podle libosti.'); INSERT INTO portalbox VALUES (30,'VIZ TÉŽ','<a href=\"http://cdsware.cern.ch/\">CDS Invenio</a><br /><a href=\"http://www.cern.ch/\">CERN</a><br /><a href=\"http://google.com/\">Google</a>'); INSERT INTO portalbox VALUES (31,'ÜBER DIESEN SEITEN','Willkommen Sie bei der Demo-Seite des CDS Invenio, des Dokument Management Systems Software aus CERN. Hier können Sie den System gleich und frei ausprobieren.'); INSERT INTO portalbox VALUES (32,'SEHEN SIE AUCH','<a href=\"http://cdsware.cern.ch/\">CDS Invenio</a><br /><a href=\"http://www.cern.ch/\">CERN</a><br /><a href=\"http://google.com/\">Google</a>'); INSERT INTO portalbox VALUES (33,'ACERCA DE ESTAS PÁGINAS','Bienvenidos a las páginas de demostración de CDS Invenio, un software gratuito desarrollado por el CERN que permite crear un servidor de documentos. Le invitamos a explorar a fondo todas las funcionalidades ofrecidas por estas páginas de demostración.'); INSERT INTO portalbox VALUES (34,'VEA TAMBIÉN','<a href=\"http://cdsware.cern.ch/\">CDS Invenio</a><br /><a href=\"http://www.cern.ch/\">CERN</a><br /><a href=\"http://google.com/\">Google</a>'); INSERT INTO portalbox VALUES (35,'A PROPOSITO DI QUESTO SITO','Benvenuti nel sito demo di CDS Invenio, un software libero per server di documenti sviluppato al CERN. Vi invitiamo ad esplorare a fondo tutte le caratteristiche di questo sito demo.'); INSERT INTO portalbox VALUES (36,'VEDI ANCHE','<a href=\"http://cdsware.cern.ch/\">CDS Invenio</a><br /><a href=\"http://www.cern.ch/\">CERN</a><br /><a href=\"http://google.com/\">Google</a>'); INSERT INTO portalbox VALUES (37,'OM DENNE SIDEN','Velkommen til demosiden for CDS Invenio, en gratis dokumentserver fra CERN. Vennligst føl deg fri til å utforske alle mulighetene i denne demoen til det fulle.'); INSERT INTO portalbox VALUES (38,'SE OGSÅ','<a href=\"http://cdsware.cern.ch/\">CDS Invenio</a><br /><a href=\"http://www.cern.ch/\">CERN</a><br /><a href=\"http://google.com/\">Google</a>'); INSERT INTO portalbox VALUES (39,'SOBRE ESTE SITE','Bem vindo ao site de demonstração do CDS Invenio, um servidor de documentos livre desenvolvido pelo CERN. Sinta-se à vontade para explorar plenamente todos os recursos deste site demonstração.'); INSERT INTO portalbox VALUES (40,'VEJA TAMBÉM','<a href=\"http://cdsware.cern.ch/\">CDS Invenio</a><br /><a href=\"http://www.cern.ch/\">CERN</a><br /><a href=\"http://google.com/\">Google</a>'); INSERT INTO portalbox VALUES (41,'ОБ ЭТОМ САЙТЕ','Добро пожаловать на наш демонстрационный сайт CDS Invenio. CDS Invenio -- свободная программа для серверов документов, разработанная в CERNе. Пожалуйста пользуйтесь свободно этим сайтом.'); INSERT INTO portalbox VALUES (42,'СМОТРИТЕ ТАКЖЕ','<a href=\"http://cdsware.cern.ch/\">CDS Invenio</a><br /><a href=\"http://www.cern.ch/\">CERN</a><br /><a href=\"http://google.com/\">Google</a>'); INSERT INTO portalbox VALUES (43,'OM DENNA WEBBPLATS','Välkommen till demoinstallationen av CDS Invenio, en fri programvara för hantering av dokument, från CERN. Välkommen att undersöka alla funktioner i denna installation.'); INSERT INTO portalbox VALUES (44,'SE ÄVEN','<a href=\"http://cdsware.cern.ch/\">CDS Invenio</a><br /><a href=\"http://www.cern.ch/\">CERN</a><br /><a href=\"http://google.com/\">Google</a>'); INSERT INTO portalbox VALUES (45,'SUBMIT PREPRINT','<a href=\"/submit?doctype=TEXT\">Submit a new preprint</a>'); INSERT INTO portalbox VALUES (46,'SUBMIT BOOK','<a href=\"/submit?doctype=TEXT\">Submit a new book</a>'); INSERT INTO portalbox VALUES (47,'SUBMIT THESIS','<a href=\"/submit?doctype=TEXT\">Submit a new thesis</a>'); INSERT INTO portalbox VALUES (48,'SUBMIT REPORT','<a href=\"/submit?doctype=TEXT\">Submit a new report</a>'); INSERT INTO portalbox VALUES (49,'SUBMIT ARTICLE','<a href=\"/submit?doctype=TEXT\">Submit a new article</a>'); INSERT INTO portalbox VALUES (50,'SUBMIT PICTURE','<a href=\"/submit?doctype=DEMOPIC\">Submit a new picture</a>'); INSERT INTO portalbox VALUES (51,'SUBMIT NEW DOCUMENT','<a href=\"/submit?doctype=TEXT\">Submit a new article</a><br /><a href=\"/submit?doctype=TEXT\">Submit a new preprint</a>'); INSERT INTO portalbox VALUES (52,'SUBMIT NEW DOCUMENT','<a href=\"/submit?doctype=TEXT\">Submit a new book</a><br /><a href=\"/submit?doctype=TEXT\">Submit a new thesis</a><br /><a href=\"/submit?doctype=TEXT\">Submit a new report</a>'); INSERT INTO portalbox VALUES (53,'SUBMIT NEW DOCUMENT','<a href=\"/submit?doctype=DEMOPIC\">Submit a new picture</a>'); INSERT INTO portalbox VALUES (54,'ΣΧΕΤΙΚΑ ΜΕ ΤΗΝ ΣΕΛΙΔΑ','Καλως ήλθατε στον δικτυακό τόπο του CDS Invenio, ενός δωρεάν εξυπηρετητή για έγγραφα προερχόμενο απο το CERN. Είστε ευπρόσδεκτοι να εξερευνήσετε σε βάθος τις δυνατότητες που σας παρέχει ο δικτυακός αυτός τόπος.'); INSERT INTO portalbox VALUES (55,'ΔΕΙΤΕ ΕΠΙΣΗΣ','<a href=\"http://cdsware.cern.ch/\">CDS Invenio</a><br /><a href=\"http://www.cern.ch/\">CERN</a><br /><a href=\"http://google.com/\">Google</a>'); INSERT INTO portalbox VALUES (56,'ПРО ЦЕЙ САЙТ','Ласкаво просимо до демонстраційного сайту CDS Invenio, вільного програмного забезпечення, розробленого CERN. Випробуйте всі можливості цього демонстраційного сайту в повному обсязі.'); INSERT INTO portalbox VALUES (57,'ДИВИСЬ ТАКОЖ','<a href=\"http://cdsware.cern.ch/\">CDS Invenio</a><br /><a href=\"http://www.cern.ch/\">CERN</a><br /><a href=\"http://google.com/\">Google</a>'); INSERT INTO portalbox VALUES (58,'SOBRE AQUEST LLOC','Benvinguts al lloc de demo de CDS Invenio, un servidor de documents lliure originat al CERN. Us convidem a explorar a fons totes les funcionalitats ofertes en aquestes pàgines de demostració.'); INSERT INTO portalbox VALUES (59,'VEGEU TAMBÉ','<a href=\"http://cdsware.cern.ch/\">CDS Invenio</a><br /><a href=\"http://www.cern.ch/\">CERN</a><br /><a href=\"http://google.com/\">Google</a>'); INSERT INTO portalbox VALUES (60,'この場所について','CDS Invenioデモンストレーションの場所への歓迎, CERN から来る自由な文書のサーバーソフトウェア, このデモンストレーションの場所の特徴すべてを探検する自由の感じ'); INSERT INTO portalbox VALUES (61,'また見なさい','<a href=\"http://cdsware.cern.ch/\">CDS Invenio</a><br /><a href=\"http://www.cern.ch/\">CERN</a><br /><a href=\"http://google.com/\">Google</a>'); INSERT INTO portalbox VALUES (62,'O TEJ STRONIE','Witamy w wersji demo systemu CDS Invenio, darmowego oprogramowania do obsługi serwera dokumentów, stworzonego w CERN. Zachęcamy do odkrywania wszelkich funkcjonalności oferowanych przez tę stronę.'); INSERT INTO portalbox VALUES (63,'ZOBACZ TAKŻE','<a href=\"http://cdsware.cern.ch/\">CDS Invenio</a><br /><a href=\"http://www.cern.ch/\">CERN</a><br /><a href=\"http://google.com/\">Google</a>'); INSERT INTO portalbox VALUES (64,'ЗА САЙТА','Добре дошли на демонстрационния сайт на CDS Invenio, свободен софтуер за документни сървъри изработен в ЦЕРН. Чувствайте се свободни да изследвате всяка една от характеристиките на сайта.'); INSERT INTO portalbox VALUES (65,'ВИЖ СЪЩО','<a href=\"http://cdsware.cern.ch/\">CDS Invenio</a><br /><a href=\"http://www.cern.ch/\">CERN</a><br /><a href=\"http://google.com/\">Google</a>'); INSERT INTO portalbox VALUES (66,'O OVOM SITE-u','Dobrodošli na CDS Invenio demo site. CDS Invenio je slobodno dostupan poslužitelj dokumenata razvijen na CERN-u. Slobodno istražite sve mogućnosti ove aplikacije.'); INSERT INTO portalbox VALUES (67,'TAKOĐER POGLEDAJTE','<a href=\"http://cdsware.cern.ch/\">CDS Invenio</a><br /><a href=\"http://www.cern.ch/\">CERN</a><br /><a href=\"http://google.com/\">Google</a>'); INSERT INTO portalbox VALUES (68,'关于这个网站','欢迎来到CDS Invenio 的示范网站!CDS Invenio是一个由CERN开发的免费文件服务器软件。 要了解这网站所提供的各项特点, 请立刻行动,尽情探索。'); INSERT INTO portalbox VALUES (69,'参见','<a href=\"http://cdsware.cern.ch/\">CDS Invenio</a><br /><a href=\"http://www.cern.ch/\">CERN</a><br /><a href=\"http://google.com/\">Google</a>'); INSERT INTO portalbox VALUES (70,'關於這個網站', '歡迎來到CDS Invenio 的示範網站!CDS Invenio是一個由CERN開發的免費文件伺服器軟體。 要瞭解這網站所提供的各項特點, 請立刻行動,盡情探索。'); INSERT INTO portalbox VALUES (71,'參見','<a href=\"http://cdsware.cern.ch/\">CDS Invenio</a><br /><a href=\"http://www.cern.ch/\">CERN</a><br /><a href=\"http://google.com/\">Google</a>'); INSERT INTO portalbox VALUES (72,'IMPRESSZUM', 'Üdvözöljük a CDS Invenio bemutatóoldalain! Ezt a szabad dokumentumkezelő szoftvert a CERN-ben fejlesztették. Fedezze fel bátran a tesztrendszer nyújtotta szolgáltatásokat!'); INSERT INTO portalbox VALUES (73,'LÁSD MÉG','<a href=\"http://cdsware.cern.ch/\">CDS Invenio</a><br /><a href=\"http://www.cern.ch/\">CERN</a><br /><a href=\"http://google.com/\">Google</a>'); INSERT INTO portalbox VALUES (74,'OMTRENT HIERDIE TUISTE', 'Welkom by die demo tuiste van CDS Invenio, gratis dokument bediener sagteware wat deur CERN geskryf is. Voel vry om al die eienskappe van die demo te deursoek.'); INSERT INTO portalbox VALUES (75,'SIEN OOK','<a href=\"http://cdsware.cern.ch/\">CDS Invenio</a><br /><a href=\"http://www.cern.ch/\">CERN</a><br /><a href=\"http://google.com/\">Google</a>'); INSERT INTO portalbox VALUES (76,'ACERCA DESTE SITIO', 'Benvido ó sitio de demostración do CDS Invenio, un software de servidor de documentos do CERN. Por favor síntete libre de explorar todas as características deste sitio de demostración.'); INSERT INTO portalbox VALUES (77,'VEXA TAMÉN','<a href=\"http://cdsware.cern.ch/\">CDS Invenio</a><br /><a href=\"http://www.cern.ch/\">CERN</a><br /><a href=\"http://google.com/\">Google</a>'); INSERT INTO sbmCOLLECTION VALUES (36,'Document Types'); INSERT INTO sbmCOLLECTION_sbmCOLLECTION VALUES (0,36,1); INSERT INTO sbmCOLLECTION_sbmDOCTYPE VALUES (36,'DEMOTHE',1); INSERT INTO sbmCOLLECTION_sbmDOCTYPE VALUES (36,'DEMOPOE',2); INSERT INTO sbmCOLLECTION_sbmDOCTYPE VALUES (36,'DEMOPIC',3); INSERT INTO sbmCOLLECTION_sbmDOCTYPE VALUES (36,'DEMOART',4); INSERT INTO sbmCOLLECTION_sbmDOCTYPE VALUES (36,'DEMOBOO',5); INSERT INTO sbmCATEGORIES (doctype,sname,lname,score) VALUES ('DEMOPIC','LIFE','Life at CERN',3); INSERT INTO sbmCATEGORIES (doctype,sname,lname,score) VALUES ('DEMOPIC','HIST','Personalities and History of CERN',2); INSERT INTO sbmCATEGORIES (doctype,sname,lname,score) VALUES ('DEMOPIC','EXP','Experiments',1); INSERT INTO sbmCATEGORIES (doctype,sname,lname,score) VALUES ('DEMOART','ARTICLE','Article',1); INSERT INTO sbmCATEGORIES (doctype,sname,lname,score) VALUES ('DEMOART','PREPRINT','Preprint',2); INSERT INTO sbmCATEGORIES (doctype,sname,lname,score) VALUES ('DEMOART','REPORT','Report',3); INSERT INTO sbmDOCTYPE VALUES ('Demo Picture Submission','DEMOPIC','2007-09-13','2007-10-17','<br /><br />\r\nThe Demo Picture submission demonstrates a slightly more detailed submission type.<br />\r\nIt makes use of different categories (which in this case are used in the picture\'s reference number to better describe it) and creates icons for the submitted picture files. Records created with this submission are inserted into the ATLANTIS \"Pictures\" collection.\r\n<br /><br />\r\n'); INSERT INTO sbmDOCTYPE VALUES ('Demo Thesis Submission','DEMOTHE','2008-03-02','2008-03-05','<br />\r\n<br />\r\nThe Demo Thesis submission demonstrates a very simple submission type.<br />\r\nIt has no categories, submits directly into the ATLANTIS \"Theses\" collection and also stamps full-text files.\r\n<br /><br />\r\n'); INSERT INTO sbmDOCTYPE VALUES ('Demo Article Submission','DEMOART','2008-03-06','2008-03-06','<br /><br />The Demo Article submission demonstrates a more complex submission type.<br /><br />\r\nThe submission gives a document a category. This category is used in the document\'s reference number and also serves as a means to classify it into a specific ATLANTIS collection. Documents submitted into the \"Article\" category are inserted into the ATLANTIS \"Articles\" collection, documents categorized as \"Preprint\" are inserted into the ATLANTIS \"Preprints\" collection, and a document categorized as a \"Report\" is inserted into the ATLANTIS \"Reports\" collection.<br /><br />\r\n'); INSERT INTO sbmDOCTYPE VALUES ('Demo Book Submission (Refereed)','DEMOBOO','2008-03-06','2008-03-06','<br /><br />The Demo Book submission demonstrates a refereed submission.<br /><br />\r\nWhen the details of a book are submitted by a user, they must be approved by a referee before the record is integrated into the ATLANTIS repository.<br />\r\nApproved books are integrated into the ATLANTIS \"Books\" collection.<br />\r\n'); INSERT INTO sbmDOCTYPE VALUES ('Demo Poetry Submission','DEMOPOE','2008-03-12','2008-03-12','<br /><br />\r\nThe Demo Poetry submission demonstrates a simple submission type with a submission form split over two pages.<br />\r\nIt does not use categories. Records created with this submission are inserted into the ATLANTIS \"Poetry\" collection.\r\n<br /><br />'); INSERT INTO sbmFIELD VALUES ('SBIDEMOPIC',1,1,'DEMOPIC_TITLE','<table width=\"100%\" bgcolor=\"#D3E3E2\" align=\"center\" cellspacing=\"2\" cellpadding=\"2\" border=\"1\"><tr><td align=\"left\"><br /><b>Submit an ATLANTIS picture:</b><br /><br /><span style=\"color: red;\">*</span>Picture Title:<br />','M','Picture Title','','2007-09-13','2007-10-04',NULL,NULL); INSERT INTO sbmFIELD VALUES ('SBIDEMOPIC',1,2,'DEMOPIC_PHOTOG','<br /><br />Picture Author(s) or Photographers(s): <i>(one per line)</i><br />','O','Photographer(s)','','2007-09-13','2007-09-13',NULL,NULL); INSERT INTO sbmFIELD VALUES ('SBIDEMOPIC',1,3,'DEMOPIC_DATE','<br /><br /><span style=\"color: red;\">*</span>Picture Date: <i>(dd/mm/yyyy)</i> ','M','Picture Date','DatCheckNew','2007-09-13','2007-10-04',NULL,NULL); INSERT INTO sbmFIELD VALUES ('SBIDEMOPIC',1,4,'DEMOPIC_KW','<br /><br />Keywords:<br /><i>(one keyword/key-phrase per line)</i><br />','O','Picture Keywords','','2007-09-13','2007-09-13',NULL,NULL); INSERT INTO sbmFIELD VALUES ('SBIDEMOPIC',1,5,'DEMOPIC_DESCR','<br /><br />Picture Description:<br />','O','Picture Description','','2007-09-13','2007-09-13',NULL,NULL); INSERT INTO sbmFIELD VALUES ('SBIDEMOPIC',1,6,'DEMOPIC_ADD_RN','<br /><br />Your picture will be given a reference number automatically.<br /> However, if the picture has other reference numbers, please enter them here:<br /><i>(one per line)</i><br />','O','Additional Reference Numbers','','2007-09-13','2007-09-13',NULL,NULL); INSERT INTO sbmFIELD VALUES ('SBIDEMOPIC',1,7,'DEMOPIC_NOTE','<br /><br />Additional Comments or Notes about the Picture:<br />','O','Picture Notes or Comments','','2007-09-13','2007-09-13',NULL,NULL); INSERT INTO sbmFIELD VALUES ('SBIDEMOPIC',1,8,'DEMOPIC_FILE','<br /><br /><span style=\"color: red;\">*</span>Enter the full path to the source picture-file to upload:<br />','M','Picture File','','2007-09-13','2007-09-13',NULL,NULL); INSERT INTO sbmFIELD VALUES ('SBIDEMOPIC',1,9,'DEMOPIC_FINISH','<br /><br /></td></tr></table>','O','','','2007-09-13','2007-09-13',NULL,NULL); INSERT INTO sbmFIELD VALUES ('MBIDEMOPIC',1,1,'DEMOPIC_RN','<table width=\"100%\" bgcolor=\"#D3E3E2\" align=\"center\" cellspacing=\"2\" cellpadding=\"2\" border=\"1\"><tr><td align=\"left\"><br /><b>Modify a picture\'s bibliographic information:</b><br /><br /><span style=\'color: red;\'>*</span>Picture Reference Number: ','M','Reference Number','','2007-10-04','2007-10-04',NULL,NULL); INSERT INTO sbmFIELD VALUES ('MBIDEMOPIC',1,2,'DEMOPIC_CHANGE','<br /><br /><span style=\"color: red;\">*</span>Choose the fields to be modified:<br />','M','Fields to Modify','','2007-10-04','2007-10-04',NULL,NULL); INSERT INTO sbmFIELD VALUES ('MBIDEMOPIC',1,3,'DEMOPIC_CONT','<br /><br /></td></tr></table>','O','','','2007-10-04','2007-10-04',NULL,NULL); INSERT INTO sbmFIELD VALUES ('SBIDEMOTHE',1,1,'DEMOTHE_REP','<TABLE WIDTH=\"100%\" BGCOLOR=\"#D3E3E2\" ALIGN=\"center\" CELLSPACING=\"2\" CELLPADDING=\"2\" BORDER=\"1\"><TR><TD ALIGN=\"left\"><br /><b>Submit an ATLANTIS Thesis:</b><br /><br />Your thesis will be given a reference number automatically.<br /> However, if it has other reference numbers, please enter them here:<br /><i>(one per line)</i><br />','O','Other Report Numbers','','2008-03-02','2008-03-06',NULL,NULL); INSERT INTO sbmFIELD VALUES ('SBIDEMOTHE',1,2,'DEMOTHE_TITLE','<br /><br /><span style=\"color: red;\">*</span>Thesis Title:<br />','M','Title','','2008-03-02','2008-03-06',NULL,NULL); INSERT INTO sbmFIELD VALUES ('SBIDEMOTHE',1,3,'DEMOTHE_SUBTTL','<br /><br />Thesis Subtitle <i>(if any)</i>:<br />','O','Subtitle','','2008-03-02','2008-03-06',NULL,NULL); INSERT INTO sbmFIELD VALUES ('SBIDEMOTHE',1,4,'DEMOTHE_AU','<br /><br /><table width=\"100%\"><tr><td valign=\"top\"><span style=\"color: red;\">*</span>Author of the Thesis: <i>(one per line)</i><br />','M','Author(s)','','2008-03-02','2008-03-06',NULL,NULL); INSERT INTO sbmFIELD VALUES ('SBIDEMOTHE',1,5,'DEMOTHE_SUPERV','</td></tr><tr><td valign=\"top\"><br>Thesis Supervisor(s): <i>(one per line)</i><br />','O','Thesis Supervisor(s)','','2008-03-02','2008-03-06',NULL,NULL); INSERT INTO sbmFIELD VALUES ('SBIDEMOTHE',1,6,'DEMOTHE_ABS','</td></tr></table><br /><span style=\"color: red;\">*</span>Abstract:<br />','M','Abstract','','2008-03-02','2008-03-06',NULL,NULL); INSERT INTO sbmFIELD VALUES ('SBIDEMOTHE',1,7,'DEMOTHE_NUMP','<br /><br />Number of Pages: ','O','Number of Pages','','2008-03-02','2008-03-06',NULL,NULL); INSERT INTO sbmFIELD VALUES ('SBIDEMOTHE',1,8,'DEMOTHE_LANG','<br><br><span style=\"color: red;\">*</span>Language: ','M','Thesis Language','','2008-03-02','2008-03-06',NULL,NULL); INSERT INTO sbmFIELD VALUES ('SBIDEMOTHE',1,9,'DEMOTHE_PUBL','<br /><br /><span style=\"color: red;\">*</span>Thesis Publisher (or Institute): ','M','Thesis Publisher/University','','2008-03-02','2008-03-06',NULL,NULL); INSERT INTO sbmFIELD VALUES ('SBIDEMOTHE',1,10,'DEMOTHE_PLDEF',' at <span style=\"color: red;\">*</span>Place/Town: ','M','Place of Thesis Defence','','2008-03-02','2008-03-06',NULL,NULL); INSERT INTO sbmFIELD VALUES ('SBIDEMOTHE',1,11,'DEMOTHE_DIPL','<br /><br /><span style=\"color: red;\">*</span>Diploma Awarded: ','M','Diploma Awarded','','2008-03-02','2008-03-06',NULL,NULL); INSERT INTO sbmFIELD VALUES ('SBIDEMOTHE',1,12,'DEMOTHE_DATE','<br /><br /><span style=\"color: red;\">*</span>Thesis Defence date <i>(dd/mm/yyyy)</i>: ','M','Date of Thesis Defence','DatCheckNew','2008-03-02','2008-03-06',NULL,NULL); INSERT INTO sbmFIELD VALUES ('SBIDEMOTHE',1,13,'DEMOTHE_UNIV','<br /><span style=\"color: red;\">*</span>Awarding University: ','M','Awarding University','','2008-03-02','2008-03-06',NULL,NULL); INSERT INTO sbmFIELD VALUES ('SBIDEMOTHE',1,14,'DEMOTHE_PLACE',' at <span style=\"color: red;\">*</span>Place/Town: ','M','Awarding University town','','2008-03-02','2008-03-06',NULL,NULL); INSERT INTO sbmFIELD VALUES ('SBIDEMOTHE',1,15,'DEMOTHE_FILE','<br><br><span style=\"color: red;\">*</span>Enter the full path to the source file to upload:<br />','M','Source File','','2008-03-02','2008-03-06',NULL,NULL); INSERT INTO sbmFIELD VALUES ('SBIDEMOTHE',1,16,'DEMOTHE_END','<br /><br /></td></tr></table><br />','O','','','2008-03-02','2008-03-02',NULL,NULL); INSERT INTO sbmFIELD VALUES ('MBIDEMOTHE',1,1,'DEMOTHE_RN','<table width=\"100%\" bgcolor=\"#D3E3E2\" align=\"center\" cellspacing=\"2\" cellpadding=\"2\" border=\"1\"><tr><td align=\"left\"><br /><b>Modify a thesis\' bibliographic information:</b><br /><br /><span style=\'color: red;\'>*</span>Thesis Reference Number: ','M','Reference Number','','2008-03-05','2008-03-05',NULL,NULL); INSERT INTO sbmFIELD VALUES ('MBIDEMOTHE',1,2,'DEMOTHE_CHANGE','<br /><br /><span style=\"color: red;\">*</span>Choose the fields to be modified:<br />','M','Fields to Modify','','2008-03-05','2008-03-05',NULL,NULL); INSERT INTO sbmFIELD VALUES ('MBIDEMOTHE',1,3,'DEMOTHE_CONT','<br /><br /></td></tr></table>','O','','','2008-03-05','2008-03-05',NULL,NULL); INSERT INTO sbmFIELD VALUES ('SBIDEMOART',1,1,'DEMOART_REP','<TABLE WIDTH=\"100%\" BGCOLOR=\"#D3E3E2\" ALIGN=\"center\" CELLSPACING=\"2\" CELLPADDING=\"2\" BORDER=\"1\"><TR><TD ALIGN=\"left\"><br /><b>Submit an ATLANTIS Article:</b><br /><br />Your document will be given a reference number automatically.<br /> However, if it has other reference numbers, please enter them here:<br /><i>(one per line)</i><br />','O','Other Report Numbers','','2008-03-07','2008-03-07',NULL,NULL); INSERT INTO sbmFIELD VALUES ('SBIDEMOART',1,2,'DEMOART_TITLE','<br /><br /><span style=\"color: red;\">*</span>Document Title:<br />','M','Title','','2008-03-07','2008-03-07',NULL,NULL); INSERT INTO sbmFIELD VALUES ('SBIDEMOART',1,3,'DEMOART_AU','<br /><br /><table width=\"100%\"><tr><td valign=\"top\"><span style=\"color: red;\">*</span>Author of the Document: <i>(one per line)</i><br />','M','Author(s)','','2008-03-07','2008-03-07',NULL,NULL); INSERT INTO sbmFIELD VALUES ('SBIDEMOART',1,4,'DEMOART_ABS','</td></tr></table><br /><span style=\"color: red;\">*</span>Abstract:<br />','M','Abstract','','2008-03-07','2008-03-07',NULL,NULL); INSERT INTO sbmFIELD VALUES ('SBIDEMOART',1,5,'DEMOART_NUMP','<br /><br />Number of Pages: ','O','Number of Pages','','2008-03-07','2008-03-07',NULL,NULL); INSERT INTO sbmFIELD VALUES ('SBIDEMOART',1,6,'DEMOART_LANG','<br /><br /><span style=\"color: red;\">*</span>Language: ','O','Language','','2008-03-07','2008-03-07',NULL,NULL); INSERT INTO sbmFIELD VALUES ('SBIDEMOART',1,7,'DEMOART_DATE','<br /><br /><span style=\"color: red;\">*</span>Date of Document: <i>(dd/mm/yyyy)</i> ','M','Date of Document','DatCheckNew','2008-03-07','2008-03-07',NULL,NULL); INSERT INTO sbmFIELD VALUES ('SBIDEMOART',1,8,'DEMOART_KW','<br /><br />Keywords/Key-phrases: <i>(one per line)</i><br />','O','Keywords/Key-phrases','','2008-03-07','2008-03-07',NULL,NULL); INSERT INTO sbmFIELD VALUES ('SBIDEMOART',1,9,'DEMOART_NOTE','<br /><br />Additional Notes or Comments:<br />','O','Notes/Comments','','2008-03-07','2008-03-07',NULL,NULL); INSERT INTO sbmFIELD VALUES ('SBIDEMOART',1,10,'DEMOART_FILE','<br><br><span style=\"color: red;\">*</span>Enter the full path to the source file to upload:<br />','M','Source File','','2008-03-07','2008-03-07',NULL,NULL); INSERT INTO sbmFIELD VALUES ('SBIDEMOART',1,11,'DEMOART_END','<br /><br /></td></tr></table><br />','O','','','2008-03-07','2008-03-07',NULL,NULL); INSERT INTO sbmFIELD VALUES ('MBIDEMOART',1,1,'DEMOART_RN','<table width=\"100%\" bgcolor=\"#D3E3E2\" align=\"center\" cellspacing=\"2\" cellpadding=\"2\" border=\"1\"><tr><td align=\"left\"><br /><b>Modify an article\'s bibliographic information:</b><br /><br /><span style=\'color: red;\'>*</span>Document Reference Number: ','M','Reference Number','','2008-03-07','2008-03-07',NULL,NULL); INSERT INTO sbmFIELD VALUES ('MBIDEMOART',1,2,'DEMOART_CHANGE','<br /><br /><span style=\"color: red;\">*</span>Choose the fields to be modified:<br />','M','Fields to Modify','','2008-03-07','2008-03-07',NULL,NULL); INSERT INTO sbmFIELD VALUES ('MBIDEMOART',1,3,'DEMOART_CONT','<br /><br /></td></tr></table>','O','','','2008-03-07','2008-03-07',NULL,NULL); INSERT INTO sbmFIELD VALUES ('SBIDEMOBOO',1,1,'DEMOBOO_REP','<TABLE WIDTH=\"100%\" BGCOLOR=\"#D3E3E2\" ALIGN=\"center\" CELLSPACING=\"2\" CELLPADDING=\"2\" BORDER=\"1\"><TR><TD ALIGN=\"left\"><br /><b>Submit an ATLANTIS Book:</b><br /><br />Your book will be given a reference number automatically.<br /> However, if it has other reference numbers, please enter them here:<br /><i>(one per line)</i><br />','O','Other Report Numbers','','2008-03-07','2008-03-07',NULL,NULL); INSERT INTO sbmFIELD VALUES ('SBIDEMOBOO',1,2,'DEMOBOO_TITLE','<br /><br /><span style=\"color: red;\">*</span>Book Title:<br />','M','Title','','2008-03-07','2008-03-07',NULL,NULL); INSERT INTO sbmFIELD VALUES ('SBIDEMOBOO',1,3,'DEMOBOO_AU','<br /><br /><table width=\"100%\"><tr><td valign=\"top\"><span style=\"color: red;\">*</span>Author of the Book: <i>(one per line)</i><br />','M','Author(s)','','2008-03-07','2008-03-07',NULL,NULL); INSERT INTO sbmFIELD VALUES ('SBIDEMOBOO',1,4,'DEMOBOO_ABS','</td></tr></table><br /><span style=\"color: red;\">*</span>Abstract:<br />','M','Abstract','','2008-03-07','2008-03-07',NULL,NULL); INSERT INTO sbmFIELD VALUES ('SBIDEMOBOO',1,5,'DEMOBOO_NUMP','<br /><br />Number of Pages: ','O','Number of Pages','','2008-03-07','2008-03-07',NULL,NULL); INSERT INTO sbmFIELD VALUES ('SBIDEMOBOO',1,6,'DEMOBOO_LANG','<br /><br /><span style=\"color: red;\">*</span>Language: ','O','Language','','2008-03-07','2008-03-07',NULL,NULL); INSERT INTO sbmFIELD VALUES ('SBIDEMOBOO',1,7,'DEMOBOO_DATE','<br /><br /><span style=\"color: red;\">*</span>Date of the Book: <i>(dd/mm/yyyy)</i> ','M','Date of Document','DatCheckNew','2008-03-07','2008-03-07',NULL,NULL); INSERT INTO sbmFIELD VALUES ('SBIDEMOBOO',1,8,'DEMOBOO_KW','<br /><br />Keywords/Key-phrases: <i>(one per line)</i><br />','O','Keywords/Key-phrases','','2008-03-07','2008-03-07',NULL,NULL); INSERT INTO sbmFIELD VALUES ('SBIDEMOBOO',1,9,'DEMOBOO_NOTE','<br /><br />Additional Notes or Comments:<br />','O','Notes/Comments','','2008-03-07','2008-03-07',NULL,NULL); INSERT INTO sbmFIELD VALUES ('SBIDEMOBOO',1,10,'DEMOBOO_FILE','<br><br>Enter the full path to the source file to upload:<br />','O','Source File','','2008-03-07','2008-03-07',NULL,NULL); INSERT INTO sbmFIELD VALUES ('SBIDEMOBOO',1,11,'DEMOBOO_END','<br /><br /></td></tr></table><br />','O','','','2008-03-07','2008-03-07',NULL,NULL); INSERT INTO sbmFIELD VALUES ('MBIDEMOBOO',1,1,'DEMOBOO_RN','<table width=\"100%\" bgcolor=\"#D3E3E2\" align=\"center\" cellspacing=\"2\" cellpadding=\"2\" border=\"1\"><tr><td align=\"left\"><br /><b>Modify a book\'s bibliographic information:</b><br /><br /><span style=\'color: red;\'>*</span>Book Reference Number: ','M','Reference Number','','2008-03-07','2008-03-07',NULL,NULL); INSERT INTO sbmFIELD VALUES ('MBIDEMOBOO',1,2,'DEMOBOO_CHANGE','<br /><br /><span style=\"color: red;\">*</span>Choose the fields to be modified:<br />','M','Fields to Modify','','2008-03-07','2008-03-07',NULL,NULL); INSERT INTO sbmFIELD VALUES ('MBIDEMOBOO',1,3,'DEMOBOO_CONT','<br /><br /></td></tr></table>','O','','','2008-03-07','2008-03-07',NULL,NULL); INSERT INTO sbmFIELD VALUES ('APPDEMOBOO',1,1,'DEMOBOO_RN','<table width=\"100%\" bgcolor=\"#D3E3E2\" align=\"center\" cellspacing=\"2\" cellpadding=\"2\" border=\"1\"><tr><td align=\"left\"><br /><b>Approve or reject an ATLANTIS book:</b><br /><br /><span style=\'color: red;\'>*</span>Book Reference Number: ','M','Reference Number','','2008-03-07','2008-03-07',NULL,NULL); INSERT INTO sbmFIELD VALUES ('APPDEMOBOO',1,2,'DEMOBOO_DECSN','<br /><br /><span style=\"color: red;\">*</span>Decision:<br />\r\n','M','Decision','','2008-03-07','2008-03-07',NULL,NULL); INSERT INTO sbmFIELD VALUES ('APPDEMOBOO',1,3,'DEMOBOO_COMNT','<br /><br />Comments on Decision:<br />\r\n','O','Referee\'s Comments','','2008-03-07','2008-03-07',NULL,NULL); INSERT INTO sbmFIELD VALUES ('APPDEMOBOO',1,4,'DEMOBOO_REGB','<br /><br /></td></tr></table>','O','','','2008-03-07','2008-03-07',NULL,NULL); INSERT INTO sbmFIELD VALUES ('SBIDEMOPOE',1,1,'DEMOPOE_TITLE','<TABLE WIDTH=\"100%\" BGCOLOR=\"#D3E3E2\" ALIGN=\"center\" CELLSPACING=\"2\" CELLPADDING=\"2\" BORDER=\"1\"><TR><TD ALIGN=\"left\"><br /><b>Submit an ATLANTIS Poem:</b><br /><br /><span style=\"color: red;\">*</span>Poem Title:<br />','M','>Title','','2008-03-12','2008-03-12',NULL,NULL); INSERT INTO sbmFIELD VALUES ('SBIDEMOPOE',1,2,'DEMOPOE_AU','<br /><br /><span style=\"color: red;\">*</span>Author(s) of the Poem: <i>(one per line)</i><br />','M','Author(s)','','2008-03-12','2008-03-12',NULL,NULL); INSERT INTO sbmFIELD VALUES ('SBIDEMOPOE',1,3,'DEMOPOE_LANG','<br /><br /><table width=\"100%\"><tr><td valign=\"top\"><span style=\"color: red;\">*</span>Poem Language: ','M','Language','','2008-03-12','2008-03-12',NULL,NULL); INSERT INTO sbmFIELD VALUES ('SBIDEMOPOE',1,4,'DEMOPOE_YEAR','</td><td><span style=\"color: red;\">*</span>Year of the Poem: ','M','Poem Year','','2008-03-12','2008-03-12',NULL,NULL); INSERT INTO sbmFIELD VALUES ('SBIDEMOPOE',1,5,'DEMOPOE_DUMMY','','O','','','2008-03-12','2008-03-12',NULL,NULL); INSERT INTO sbmFIELD VALUES ('SBIDEMOPOE',2,1,'DEMOPOE_ABS','<TABLE WIDTH=\"100%\" BGCOLOR=\"#D3E3E2\" ALIGN=\"center\" CELLSPACING=\"2\" CELLPADDING=\"2\" BORDER=\"1\"><TR><TD ALIGN=\"left\"><br /><br /><span style=\"color: red;\">*</span>Poem Text:<br />','M','Abstract','','2008-03-12','2008-03-12',NULL,NULL); INSERT INTO sbmFIELD VALUES ('SBIDEMOPOE',2,2,'DEMOPOE_END','<br /><br /></td></tr></table><br />','O','','','2008-03-12','2008-03-12',NULL,NULL); INSERT INTO sbmFIELD VALUES ('MBIDEMOPOE',1,1,'DEMOPOE_RN','<table width=\"100%\" bgcolor=\"#D3E3E2\" align=\"center\" cellspacing=\"2\" cellpadding=\"2\" border=\"1\"><tr><td align=\"left\"><br /><b>Modify a poem\'s bibliographic information:</b><br /><br /><span style=\'color: red;\'>*</span>Poem Reference Number: ','M','Reference Number','','2008-03-12','2008-03-12',NULL,NULL); INSERT INTO sbmFIELD VALUES ('MBIDEMOPOE',1,2,'DEMOPOE_CHANGE','<br /><br /><span style=\"color: red;\">*</span>Choose the fields to be modified:<br />','M','Fields to Modify','','2008-03-12','2008-03-12',NULL,NULL); INSERT INTO sbmFIELD VALUES ('MBIDEMOPOE',1,3,'DEMOPOE_CONT','<br /><br /></td></tr></table>','O','','','2008-03-12','2008-03-12',NULL,NULL); INSERT INTO sbmFIELDDESC VALUES ('DEMOPIC_TITLE',NULL,'245__a','T',NULL,5,60,NULL,NULL,NULL,'2007-09-13','2007-09-13',NULL,NULL,0); INSERT INTO sbmFIELDDESC VALUES ('DEMOPIC_PHOTOG',NULL,'100__a','T',NULL,6,30,NULL,NULL,NULL,'2007-09-13','2007-09-19','<br /><br />Picture Author(s) or Photographers(s)<br /><i>(optional)(<B>one per line</B>)</i>:<br />',NULL,0); INSERT INTO sbmFIELDDESC VALUES ('DEMOPIC_DATE',NULL,'260__c','I',10,NULL,NULL,NULL,NULL,NULL,'2007-09-13','2007-09-19','<br /><br />Date of the picture (dd/mm/yyyy): ',NULL,0); INSERT INTO sbmFIELDDESC VALUES ('DEMOPIC_KW',NULL,'6531_a','T',NULL,2,50,NULL,NULL,NULL,'2007-09-13','2007-09-13','<br /><br />Keywords<br /><i>(Optional, <b>one keyword/key-phrase per line</b>)</i>:<br />',NULL,0); INSERT INTO sbmFIELDDESC VALUES ('DEMOPIC_DESCR',NULL,'520__a','T',NULL,12,80,NULL,NULL,NULL,'2007-09-13','2007-09-13','<br /><br />Picture Description:<br />',NULL,0); INSERT INTO sbmFIELDDESC VALUES ('DEMOPIC_ADD_RN',NULL,'088__a','T',NULL,4,30,NULL,NULL,NULL,'2007-09-13','2007-09-13','<br /><br />Additional Reference Numbers:<br />',NULL,0); INSERT INTO sbmFIELDDESC VALUES ('DEMOPIC_NOTE',NULL,'500__a','T',NULL,6,60,NULL,NULL,NULL,'2007-09-13','2007-09-13','<br /><br />Additional Comments or Notes about the Picture:<br />',NULL,0); INSERT INTO sbmFIELDDESC VALUES ('DEMOPIC_FILE',NULL,'','F',40,NULL,NULL,NULL,NULL,NULL,'2007-09-13','2007-09-13',NULL,NULL,0); INSERT INTO sbmFIELDDESC VALUES ('DEMOPIC_FINISH',NULL,'','D',NULL,NULL,NULL,NULL,NULL,'<div align=\"center\">\r\n<input type=\"button\" class=\"adminbutton\" width=\"400\" height=\"50\" name=\"endS\" value=\"finish submission\" onclick=\"finish();\" />\r\n</div>','2007-09-13','2007-09-13',NULL,NULL,0); INSERT INTO sbmFIELDDESC VALUES ('DEMOPIC_CHANGE',NULL,'','S',NULL,NULL,NULL,NULL,NULL,'<select name=\"DEMOPIC_CHANGE[]\" size=\"8\" multiple>\r\n <option value=\"Select:\">Select:</option>\r\n <option value=\"DEMOPIC_TITLE\">Title</option>\r\n <option value=\"DEMOPIC_PHOTOG\">Photographer(s)</option>\r\n <option value=\"DEMOPIC_DATE\">Picture Date</option>\r\n <option value=\"DEMOPIC_KW\">Keywords</option>\r\n <option value=\"DEMOPIC_DESCR\">Picture Description</option>\r\n <option value=\"DEMOPIC_ADD_RN\">Picture Reference Numbers</option>\r\n <option value=\"DEMOPIC_NOTE\">Notes or Comments</option>\r\n</select>','2007-10-04','2007-10-04',NULL,NULL,0); INSERT INTO sbmFIELDDESC VALUES ('DEMOPIC_RN',NULL,'037__a','I',30,NULL,NULL,NULL,'DEMO-PICTURE-<COMBO>-<YYYY>-???',NULL,'2007-10-04','2007-10-04',NULL,NULL,0); INSERT INTO sbmFIELDDESC VALUES ('DEMOPIC_CONT',NULL,'','D',NULL,NULL,NULL,NULL,NULL,'<div align=\"center\">\r\n<input type=\"button\" class=\"adminbutton\" width=\"400\" height=\"50\" name=\"endS\" value=\"Continue\" onclick=\"finish();\" />\r\n</div>','2007-10-04','2007-10-04',NULL,NULL,0); INSERT INTO sbmFIELDDESC VALUES ('DEMOTHE_REP',NULL,'088__a','T',NULL,4,30,NULL,NULL,NULL,'2008-03-02','2008-03-02','<br />Other Report Numbers (one per line):',NULL,0); INSERT INTO sbmFIELDDESC VALUES ('DEMOTHE_TITLE',NULL,'245__a','T',NULL,5,60,NULL,NULL,NULL,'2008-03-02','2008-03-02','<br />Title:<br />',NULL,0); INSERT INTO sbmFIELDDESC VALUES ('DEMOTHE_SUBTTL',NULL,'245__b','T',NULL,3,60,NULL,NULL,NULL,'2008-03-02','2008-03-02','<br /><br />Thesis Subtitle (if any):<br />',NULL,0); INSERT INTO sbmFIELDDESC VALUES ('DEMOTHE_AU',NULL,'100__a','T',NULL,6,60,NULL,NULL,NULL,'2008-03-02','2008-03-02','<br />Authors:<br />(one per line):<br />',NULL,0); INSERT INTO sbmFIELDDESC VALUES ('DEMOTHE_SUPERV',NULL,'','T',NULL,6,60,NULL,NULL,NULL,'2008-03-02','2008-03-02','<br />Thesis Supervisor(s)<br />(one per line):<br />',NULL,0); INSERT INTO sbmFIELDDESC VALUES ('DEMOTHE_ABS',NULL,'520__a','T',NULL,12,80,NULL,NULL,NULL,'2008-03-02','2008-03-02','<br />Abstract:<br />',NULL,0); INSERT INTO sbmFIELDDESC VALUES ('DEMOTHE_NUMP',NULL,'300__a','I',5,NULL,NULL,NULL,NULL,NULL,'2008-03-02','2008-03-06','<br />Number of Pages: ',NULL,0); INSERT INTO sbmFIELDDESC VALUES ('DEMOTHE_LANG',NULL,'041__a','S',NULL,NULL,NULL,NULL,NULL,'<SELECT name=\"DEMOTHE_LANG\">\r\n <OPTION>Select:</option>\r\n <option value=\"eng\">English</option>\r\n <option value=\"fre\">French</option>\r\n <option value=\"ger\">German</option>\r\n <option value=\"dut\">Dutch</option>\r\n <option value=\"ita\">Italian</option>\r\n <option value=\"spa\">Spanish</option>\r\n <option value=\"por\">Portuguese</option>\r\n <option value=\"gre\">Greek</option>\r\n <option value=\"slo\">Slovak</option>\r\n <option value=\"cze\">Czech</option>\r\n <option value=\"hun\">Hungarian</option>\r\n <option value=\"pol\">Polish</option>\r\n <option value=\"nor\">Norwegian</option>\r\n <option value=\"swe\">Swedish</option>\r\n <option value=\"fin\">Finnish</option>\r\n <option value=\"rus\">Russian</option>\r\n</SELECT>','2008-03-02','2008-03-02','<br /><br />Select the Language: ',NULL,0); INSERT INTO sbmFIELDDESC VALUES ('DEMOTHE_PUBL',NULL,'','I',35,NULL,NULL,NULL,NULL,NULL,'2008-03-02','2008-03-02','<br />Thesis Publisher (or University): ',NULL,0); INSERT INTO sbmFIELDDESC VALUES ('DEMOTHE_PLDEF',NULL,'','I',20,NULL,NULL,NULL,NULL,NULL,'2008-03-02','2008-03-02','<br /><br />Place of Thesis Defence:<br />',NULL,0); INSERT INTO sbmFIELDDESC VALUES ('DEMOTHE_DIPL',NULL,'','S',NULL,NULL,NULL,NULL,NULL,'<select name=\"DEMOTHE_DIPL\">\r\n <option value=\"\">Select:</option>\r\n <option value=\"Diploma\">Diploma</option>\r\n <option value=\"MSc\">MSc</option>\r\n <option value=\"PhD\">PhD</option>\r\n</select>','2008-03-02','2008-03-02','<br /><br />Diploma Awarded:<br />',NULL,0); INSERT INTO sbmFIELDDESC VALUES ('DEMOTHE_DATE',NULL,'269__c','I',10,NULL,NULL,NULL,NULL,NULL,'2008-03-02','2008-03-02','<br />Date: ',NULL,0); INSERT INTO sbmFIELDDESC VALUES ('DEMOTHE_UNIV',NULL,'502__b','I',30,NULL,NULL,NULL,NULL,NULL,'2008-03-02','2008-03-02','<br />Awarding University:<br />',NULL,0); INSERT INTO sbmFIELDDESC VALUES ('DEMOTHE_PLACE',NULL,'','I',20,NULL,NULL,NULL,NULL,NULL,'2008-03-02','2008-03-02',NULL,NULL,0); INSERT INTO sbmFIELDDESC VALUES ('DEMOTHE_FILE',NULL,'','F',60,NULL,NULL,NULL,NULL,NULL,'2008-03-02','2008-03-02',NULL,NULL,0); INSERT INTO sbmFIELDDESC VALUES ('DEMOTHE_END',NULL,'','D',NULL,NULL,NULL,NULL,NULL,'<div align=\"center\">\r\n<INPUT TYPE=\"button\" class=\"adminbutton\" name=\"endS\" width=\"400\" height=\"50\" value=\"Finish Submission\" onclick=\"finish();\">\r\n</div>','2008-03-02','2008-03-02',NULL,NULL,0); INSERT INTO sbmFIELDDESC VALUES ('DEMOTHE_RN',NULL,'037__a','I',30,NULL,NULL,NULL,'DEMO-THESIS-<YYYY>-???',NULL,'2008-03-05','2008-03-05',NULL,NULL,0); INSERT INTO sbmFIELDDESC VALUES ('DEMOTHE_CHANGE',NULL,'','S',NULL,NULL,NULL,NULL,NULL,'<select name=\"DEMOTHE_CHANGE[]\" size=\"9\" multiple>\r\n <option value=\"Select:\">Select:</option>\r\n <option value=\"DEMOTHE_REP\">Other Report Numbers</option>\r\n <option value=\"DEMOTHE_TITLE\">Title</option>\r\n <option value=\"DEMOTHE_SUBTITLE\">Subtitle</option>\r\n <option value=\"DEMOTHE_AU\">Author(s)</option>\r\n <option value=\"DEMOTHE_SUPERV\">Supervisor(s)</option>\r\n <option value=\"DEMOTHE_ABS\">Abstract</option>\r\n <option value=\"DEMOTHE_NUMP\">Number of Pages</option>\r\n <option value=\"DEMOTHE_LANG\">Language</option>\r\n</select>','2008-03-05','2008-03-06',NULL,NULL,0); INSERT INTO sbmFIELDDESC VALUES ('DEMOTHE_CONT',NULL,'','D',NULL,NULL,NULL,NULL,NULL,'<div align=\"center\">\r\n<input type=\"button\" class=\"adminbutton\" width=\"400\" height=\"50\" name=\"endS\" value=\"Continue\" onclick=\"finish();\" />\r\n</div>','2008-03-05','2008-03-05',NULL,NULL,0); INSERT INTO sbmFIELDDESC VALUES ('DEMOART_ABS',NULL,'520__a','T',NULL,12,80,NULL,NULL,NULL,'2008-03-07','2008-03-07','<br />Abstract:<br />',NULL,0); INSERT INTO sbmFIELDDESC VALUES ('DEMOART_AU',NULL,'100__a','T',NULL,6,60,NULL,NULL,NULL,'2008-03-07','2008-03-07','<br />Authors: <i>(one per line)</i><br />',NULL,0); INSERT INTO sbmFIELDDESC VALUES ('DEMOART_CHANGE',NULL,'','S',NULL,NULL,NULL,NULL,NULL,'<select name=\"DEMOART_CHANGE[]\" size=\"8\" multiple>\r\n <option value=\"Select:\">Select:</option>\r\n <option value=\"DEMOART_REP\">Other Report Numbers</option>\r\n <option value=\"DEMOART_TITLE\">Title</option>\r\n <option value=\"DEMOART_AU\">Author(s)</option>\r\n <option value=\"DEMOART_LANG\">Language</option>\r\n <option value=\"DEMOART_KW\">Keywords</option>\r\n <option value=\"DEMOART_ABS\">Abstract</option>\r\n <option value=\"DEMOART_NUMP\">Number of Pages</option>\r\n</select>','2008-03-07','2008-03-07',NULL,NULL,0); INSERT INTO sbmFIELDDESC VALUES ('DEMOART_CONT',NULL,'','D',NULL,NULL,NULL,NULL,NULL,'<div align=\"center\">\r\n<input type=\"button\" class=\"adminbutton\" width=\"400\" height=\"50\" name=\"endS\" value=\"Continue\" onclick=\"finish();\" />\r\n</div>','2008-03-07','2008-03-07',NULL,NULL,0); INSERT INTO sbmFIELDDESC VALUES ('DEMOART_DATE',NULL,'269__c','I',10,NULL,NULL,NULL,NULL,NULL,'2008-03-07','2008-03-07','<br />Date: ',NULL,0); INSERT INTO sbmFIELDDESC VALUES ('DEMOART_END',NULL,'','D',NULL,NULL,NULL,NULL,NULL,'<div align=\"center\">\r\n<INPUT TYPE=\"button\" class=\"adminbutton\" name=\"endS\" width=\"400\" height=\"50\" value=\"Finish Submission\" onclick=\"finish();\">\r\n</div>','2008-03-07','2008-03-07',NULL,NULL,0); INSERT INTO sbmFIELDDESC VALUES ('DEMOART_FILE',NULL,'','F',60,NULL,NULL,NULL,NULL,NULL,'2008-03-07','2008-03-07',NULL,NULL,0); INSERT INTO sbmFIELDDESC VALUES ('DEMOART_KW',NULL,'6531_a','T',NULL,4,50,NULL,NULL,NULL,'2008-03-07','2008-03-07','<br /><br />Keywords:<br /><i>(one keyword/key-phrase per line)</i><br />',NULL,0); INSERT INTO sbmFIELDDESC VALUES ('DEMOART_LANG',NULL,'041__a','S',NULL,NULL,NULL,NULL,NULL,'<SELECT name=\"DEMOART_LANG\">\r\n <OPTION>Select:</option>\r\n <option value=\"eng\">English</option>\r\n <option value=\"fre\">French</option>\r\n <option value=\"ger\">German</option>\r\n <option value=\"dut\">Dutch</option>\r\n <option value=\"ita\">Italian</option>\r\n <option value=\"spa\">Spanish</option>\r\n <option value=\"por\">Portuguese</option>\r\n <option value=\"gre\">Greek</option>\r\n <option value=\"slo\">Slovak</option>\r\n <option value=\"cze\">Czech</option>\r\n <option value=\"hun\">Hungarian</option>\r\n <option value=\"pol\">Polish</option>\r\n <option value=\"nor\">Norwegian</option>\r\n <option value=\"swe\">Swedish</option>\r\n <option value=\"fin\">Finnish</option>\r\n <option value=\"rus\">Russian</option>\r\n</SELECT>','2008-03-07','2008-03-07','<br /><br />Select the Language: ',NULL,0); INSERT INTO sbmFIELDDESC VALUES ('DEMOART_NOTE',NULL,'500__a','T',NULL,6,60,NULL,NULL,NULL,'2008-03-07','2008-03-07','<br /><br />Additional Comments or Notes:<br />',NULL,0); INSERT INTO sbmFIELDDESC VALUES ('DEMOART_NUMP',NULL,'300__a','I',5,NULL,NULL,NULL,NULL,NULL,'2008-03-07','2008-03-07','<br />Number of Pages: ',NULL,0); INSERT INTO sbmFIELDDESC VALUES ('DEMOART_REP',NULL,'088__a','T',NULL,4,30,NULL,NULL,NULL,'2008-03-07','2008-03-07','<br />Other Report Numbers <i>(one per line)</i>:',NULL,0); INSERT INTO sbmFIELDDESC VALUES ('DEMOART_RN',NULL,'037__a','I',35,NULL,NULL,NULL,'DEMO-<COMBO>-<YYYY>-???',NULL,'2008-03-07','2008-03-07',NULL,NULL,0); INSERT INTO sbmFIELDDESC VALUES ('DEMOART_TITLE',NULL,'245__a','T',NULL,5,60,NULL,NULL,NULL,'2008-03-07','2008-03-07','<br />Title:<br />',NULL,0); INSERT INTO sbmFIELDDESC VALUES ('DEMOBOO_ABS',NULL,'520__a','T',NULL,12,80,NULL,NULL,NULL,'2008-03-07','2008-03-07','<br />Abstract:<br />',NULL,0); INSERT INTO sbmFIELDDESC VALUES ('DEMOBOO_AU',NULL,'100__a','T',NULL,6,60,NULL,NULL,NULL,'2008-03-07','2008-03-07','<br />Authors: <i>(one per line)</i><br />',NULL,0); INSERT INTO sbmFIELDDESC VALUES ('DEMOBOO_CHANGE',NULL,'','S',NULL,NULL,NULL,NULL,NULL,'<select name=\"DEMOBOO_CHANGE[]\" size=\"8\" multiple>\r\n <option value=\"Select:\">Select:</option>\r\n <option value=\"DEMOBOO_REP\">Other Report Numbers</option>\r\n <option value=\"DEMOBOO_TITLE\">Title</option>\r\n <option value=\"DEMOBOO_AU\">Author(s)</option>\r\n <option value=\"DEMOBOO_LANG\">Language</option>\r\n <option value=\"DEMOBOO_KW\">Keywords</option>\r\n <option value=\"DEMOBOO_ABS\">Abstract</option>\r\n <option value=\"DEMOBOO_NUMP\">Number of Pages</option>\r\n</select>','2008-03-07','2008-03-07',NULL,NULL,0); INSERT INTO sbmFIELDDESC VALUES ('DEMOBOO_CONT',NULL,'','D',NULL,NULL,NULL,NULL,NULL,'<div align=\"center\">\r\n<input type=\"button\" class=\"adminbutton\" width=\"400\" height=\"50\" name=\"endS\" value=\"Continue\" onclick=\"finish();\" />\r\n</div>','2008-03-07','2008-03-07',NULL,NULL,0); INSERT INTO sbmFIELDDESC VALUES ('DEMOBOO_DATE',NULL,'269__c','I',10,NULL,NULL,NULL,NULL,NULL,'2008-03-07','2008-03-07','<br />Date: ',NULL,0); INSERT INTO sbmFIELDDESC VALUES ('DEMOBOO_END',NULL,'','D',NULL,NULL,NULL,NULL,NULL,'<div align=\"center\">\r\n<INPUT TYPE=\"button\" class=\"adminbutton\" name=\"endS\" width=\"400\" height=\"50\" value=\"Finish Submission\" onclick=\"finish();\">\r\n</div>','2008-03-07','2008-03-07',NULL,NULL,0); INSERT INTO sbmFIELDDESC VALUES ('DEMOBOO_FILE',NULL,'','F',60,NULL,NULL,NULL,NULL,NULL,'2008-03-07','2008-03-07',NULL,NULL,0); INSERT INTO sbmFIELDDESC VALUES ('DEMOBOO_KW',NULL,'6531_a','T',NULL,4,50,NULL,NULL,NULL,'2008-03-07','2008-03-07','<br /><br />Keywords:<br /><i>(one keyword/key-phrase per line)</i><br />',NULL,0); INSERT INTO sbmFIELDDESC VALUES ('DEMOBOO_LANG',NULL,'041__a','S',NULL,NULL,NULL,NULL,NULL,'<SELECT name=\"DEMOBOO_LANG\">\r\n <OPTION>Select:</option>\r\n <option value=\"eng\">English</option>\r\n <option value=\"fre\">French</option>\r\n <option value=\"ger\">German</option>\r\n <option value=\"dut\">Dutch</option>\r\n <option value=\"ita\">Italian</option>\r\n <option value=\"spa\">Spanish</option>\r\n <option value=\"por\">Portuguese</option>\r\n <option value=\"gre\">Greek</option>\r\n <option value=\"slo\">Slovak</option>\r\n <option value=\"cze\">Czech</option>\r\n <option value=\"hun\">Hungarian</option>\r\n <option value=\"pol\">Polish</option>\r\n <option value=\"nor\">Norwegian</option>\r\n <option value=\"swe\">Swedish</option>\r\n <option value=\"fin\">Finnish</option>\r\n <option value=\"rus\">Russian</option>\r\n</SELECT>','2008-03-07','2008-03-07','<br /><br />Select the Language: ',NULL,0); INSERT INTO sbmFIELDDESC VALUES ('DEMOBOO_NOTE',NULL,'500__a','T',NULL,6,60,NULL,NULL,NULL,'2008-03-07','2008-03-07','<br /><br />Additional Comments or Notes:<br />',NULL,0); INSERT INTO sbmFIELDDESC VALUES ('DEMOBOO_NUMP',NULL,'300__a','I',5,NULL,NULL,NULL,NULL,NULL,'2008-03-07','2008-03-07','<br />Number of Pages: ',NULL,0); INSERT INTO sbmFIELDDESC VALUES ('DEMOBOO_REP',NULL,'088__a','T',NULL,4,30,NULL,NULL,NULL,'2008-03-07','2008-03-07','<br />Other Report Numbers <i>(one per line)</i>:',NULL,0); INSERT INTO sbmFIELDDESC VALUES ('DEMOBOO_RN',NULL,'037__a','I',35,NULL,NULL,NULL,'DEMO-BOOK-<YYYY>-???',NULL,'2008-03-07','2008-03-07',NULL,NULL,0); INSERT INTO sbmFIELDDESC VALUES ('DEMOBOO_TITLE',NULL,'245__a','T',NULL,5,60,NULL,NULL,NULL,'2008-03-07','2008-03-07','<br />Title:<br />',NULL,0); INSERT INTO sbmFIELDDESC VALUES ('DEMOBOO_COMNT',NULL,'','T',NULL,6,60,NULL,NULL,NULL,'2008-03-07','2008-03-07',NULL,NULL,0); INSERT INTO sbmFIELDDESC VALUES ('DEMOBOO_DECSN',NULL,'','S',NULL,NULL,NULL,NULL,NULL,'<select name=\"DEMOBOO_DECSN\">\r\n<option>Select:</option>\r\n<option value=\"approve\">Approve</option>\r\n<option value=\"reject\">Reject</option>\r\n</select>\r\n','2008-03-07','2008-03-07',NULL,NULL,0); INSERT INTO sbmFIELDDESC VALUES ('DEMOBOO_REGB',NULL,'','D',NULL,NULL,NULL,NULL,NULL,'<div align=\"center\">\r\n<INPUT TYPE=\"button\" class=\"adminbutton\" name=\"endS\" width=\"400\" height=\"50\" value=\"Register Decision\" onclick=\"finish();\">\r\n</div>','2008-03-07','2008-03-07',NULL,NULL,0); INSERT INTO sbmFIELDDESC VALUES ('DEMOPOE_ABS',NULL,'520__a','T',NULL,20,80,NULL,NULL,NULL,'2008-03-12','2008-03-12','<br />Abstract:<br />',NULL,0); INSERT INTO sbmFIELDDESC VALUES ('DEMOPOE_AU',NULL,'100__a','T',NULL,6,60,NULL,NULL,NULL,'2008-03-12','2008-03-12','<br />Authors: <i>(one per line)</i><br />',NULL,0); INSERT INTO sbmFIELDDESC VALUES ('DEMOPOE_CHANGE',NULL,'','S',NULL,NULL,NULL,NULL,NULL,'<select name=\"DEMOPOE_CHANGE[]\" size=\"6\" multiple>\r\n <option value=\"Select:\">Select:</option>\r\n <option value=\"DEMOPOE_TITLE\">Title</option>\r\n <option value=\"DEMOPOE_AU\">Author(s)</option>\r\n <option value=\"DEMOPOE_LANG\">Language</option>\r\n <option value=\"DEMOPOE_YEAR\">Year</option>\r\n <option value=\"DEMOPOE_ABS\">Poem Text</option>\r\n</select>\r\n','2008-03-12','2008-03-12',NULL,NULL,0); INSERT INTO sbmFIELDDESC VALUES ('DEMOPOE_CONT',NULL,'','D',NULL,NULL,NULL,NULL,NULL,'<div align=\"center\">\r\n<input type=\"button\" class=\"adminbutton\" width=\"400\" height=\"50\" name=\"endS\" value=\"Continue\" onclick=\"finish();\" />\r\n</div>','2008-03-12','2008-03-12',NULL,NULL,0); INSERT INTO sbmFIELDDESC VALUES ('DEMOPOE_DUMMY',NULL,'','D',NULL,NULL,NULL,NULL,NULL,'</td></tr></table><br /><br /></td></tr></table>','2008-03-12','2008-03-12',NULL,NULL,0); INSERT INTO sbmFIELDDESC VALUES ('DEMOPOE_END',NULL,'','D',NULL,NULL,NULL,NULL,NULL,'<div align=\"center\">\r\n<INPUT TYPE=\"button\" class=\"adminbutton\" name=\"endS\" width=\"400\" height=\"50\" value=\"Finish Submission\" onclick=\"finish();\">\r\n</div>','2008-03-12','2008-03-12',NULL,NULL,0); INSERT INTO sbmFIELDDESC VALUES ('DEMOPOE_LANG',NULL,'041__a','S',NULL,NULL,NULL,NULL,NULL,'<SELECT name=\"DEMOPOE_LANG\">\r\n <OPTION>Select:</option>\r\n <option value=\"eng\">English</option>\r\n <option value=\"fre\">French</option>\r\n <option value=\"ger\">German</option>\r\n <option value=\"dut\">Dutch</option>\r\n <option value=\"ita\">Italian</option>\r\n <option value=\"spa\">Spanish</option>\r\n <option value=\"por\">Portuguese</option>\r\n <option value=\"gre\">Greek</option>\r\n <option value=\"slo\">Slovak</option>\r\n <option value=\"cze\">Czech</option>\r\n <option value=\"hun\">Hungarian</option>\r\n <option value=\"pol\">Polish</option>\r\n <option value=\"nor\">Norwegian</option>\r\n <option value=\"swe\">Swedish</option>\r\n <option value=\"fin\">Finnish</option>\r\n <option value=\"rus\">Russian</option>\r\n</SELECT>','2008-03-12','2008-03-12','<br /><br />Select the Language: ',NULL,0); INSERT INTO sbmFIELDDESC VALUES ('DEMOPOE_RN',NULL,'037__a','I',35,NULL,NULL,NULL,'DEMO-POETRY-<YYYY>-???',NULL,'2008-03-12','2008-03-12',NULL,NULL,0); INSERT INTO sbmFIELDDESC VALUES ('DEMOPOE_TITLE',NULL,'245__a','T',NULL,5,60,NULL,NULL,NULL,'2008-03-12','2008-03-12','<br />Title:<br />',NULL,0); INSERT INTO sbmFIELDDESC VALUES ('DEMOPOE_YEAR',NULL,'909C0y','I',4,NULL,NULL,4,NULL,NULL,'2008-03-12','2008-03-12','<br /><br />Year: ',NULL,0); INSERT INTO sbmFUNCTIONS VALUES ('SBI','DEMOPIC','Mail_Submitter',70,1); INSERT INTO sbmFUNCTIONS VALUES ('SBI','DEMOPIC','Print_Success',60,1); INSERT INTO sbmFUNCTIONS VALUES ('SBI','DEMOPIC','Insert_Record',50,1); INSERT INTO sbmFUNCTIONS VALUES ('SBI','DEMOPIC','Make_Record',40,1); INSERT INTO sbmFUNCTIONS VALUES ('SBI','DEMOPIC','Move_Files_to_Storage',30,1); INSERT INTO sbmFUNCTIONS VALUES ('SBI','DEMOPIC','Report_Number_Generation',20,1); INSERT INTO sbmFUNCTIONS VALUES ('SBI','DEMOPIC','Move_to_Done',80,1); INSERT INTO sbmFUNCTIONS VALUES ('SBI','DEMOPIC','Create_Recid',10,1); INSERT INTO sbmFUNCTIONS VALUES ('MBI','DEMOPIC','Get_Report_Number',10,1); INSERT INTO sbmFUNCTIONS VALUES ('MBI','DEMOPIC','Get_Recid',20,1); INSERT INTO sbmFUNCTIONS VALUES ('MBI','DEMOPIC','Is_Original_Submitter',30,1); INSERT INTO sbmFUNCTIONS VALUES ('MBI','DEMOPIC','Create_Modify_Interface',40,1); INSERT INTO sbmFUNCTIONS VALUES ('MBI','DEMOPIC','Get_Report_Number',10,2); INSERT INTO sbmFUNCTIONS VALUES ('MBI','DEMOPIC','Get_Recid',20,2); INSERT INTO sbmFUNCTIONS VALUES ('MBI','DEMOPIC','Make_Modify_Record',30,2); INSERT INTO sbmFUNCTIONS VALUES ('MBI','DEMOPIC','Insert_Modify_Record',40,2); INSERT INTO sbmFUNCTIONS VALUES ('MBI','DEMOPIC','Print_Success_MBI',50,2); INSERT INTO sbmFUNCTIONS VALUES ('MBI','DEMOPIC','Send_Modify_Mail',60,2); INSERT INTO sbmFUNCTIONS VALUES ('MBI','DEMOPIC','Move_to_Done',70,2); INSERT INTO sbmFUNCTIONS VALUES ('SBI','DEMOTHE','Move_to_Done',90,1); INSERT INTO sbmFUNCTIONS VALUES ('SBI','DEMOTHE','Mail_Submitter',80,1); INSERT INTO sbmFUNCTIONS VALUES ('SBI','DEMOTHE','Make_Record',50,1); INSERT INTO sbmFUNCTIONS VALUES ('SBI','DEMOTHE','Insert_Record',60,1); INSERT INTO sbmFUNCTIONS VALUES ('SBI','DEMOTHE','Print_Success',70,1); INSERT INTO sbmFUNCTIONS VALUES ('SBI','DEMOTHE','Move_Files_to_Storage',40,1); INSERT INTO sbmFUNCTIONS VALUES ('SBI','DEMOTHE','Stamp_Uploaded_Files',30,1); INSERT INTO sbmFUNCTIONS VALUES ('SBI','DEMOTHE','Report_Number_Generation',20,1); INSERT INTO sbmFUNCTIONS VALUES ('SBI','DEMOTHE','Create_Recid',10,1); INSERT INTO sbmFUNCTIONS VALUES ('MBI','DEMOTHE','Get_Report_Number',10,1); INSERT INTO sbmFUNCTIONS VALUES ('MBI','DEMOTHE','Get_Recid',20,1); INSERT INTO sbmFUNCTIONS VALUES ('MBI','DEMOTHE','Is_Original_Submitter',30,1); INSERT INTO sbmFUNCTIONS VALUES ('MBI','DEMOTHE','Create_Modify_Interface',40,1); INSERT INTO sbmFUNCTIONS VALUES ('MBI','DEMOTHE','Print_Success_MBI',50,2); INSERT INTO sbmFUNCTIONS VALUES ('MBI','DEMOTHE','Insert_Modify_Record',40,2); INSERT INTO sbmFUNCTIONS VALUES ('MBI','DEMOTHE','Make_Modify_Record',30,2); INSERT INTO sbmFUNCTIONS VALUES ('MBI','DEMOTHE','Get_Recid',20,2); INSERT INTO sbmFUNCTIONS VALUES ('MBI','DEMOTHE','Get_Report_Number',10,2); INSERT INTO sbmFUNCTIONS VALUES ('MBI','DEMOTHE','Send_Modify_Mail',60,2); INSERT INTO sbmFUNCTIONS VALUES ('MBI','DEMOTHE','Move_to_Done',70,2); INSERT INTO sbmFUNCTIONS VALUES ('SBI','DEMOART','Print_Success',60,1); INSERT INTO sbmFUNCTIONS VALUES ('SBI','DEMOART','Insert_Record',50,1); INSERT INTO sbmFUNCTIONS VALUES ('SBI','DEMOART','Make_Record',40,1); INSERT INTO sbmFUNCTIONS VALUES ('SBI','DEMOART','Move_Files_to_Storage',30,1); INSERT INTO sbmFUNCTIONS VALUES ('SBI','DEMOART','Report_Number_Generation',20,1); INSERT INTO sbmFUNCTIONS VALUES ('SBI','DEMOART','Create_Recid',10,1); INSERT INTO sbmFUNCTIONS VALUES ('SBI','DEMOART','Mail_Submitter',70,1); INSERT INTO sbmFUNCTIONS VALUES ('SBI','DEMOART','Move_to_Done',80,1); INSERT INTO sbmFUNCTIONS VALUES ('MBI','DEMOART','Create_Modify_Interface',40,1); INSERT INTO sbmFUNCTIONS VALUES ('MBI','DEMOART','Get_Recid',20,1); INSERT INTO sbmFUNCTIONS VALUES ('MBI','DEMOART','Is_Original_Submitter',30,1); INSERT INTO sbmFUNCTIONS VALUES ('MBI','DEMOART','Get_Report_Number',10,1); INSERT INTO sbmFUNCTIONS VALUES ('MBI','DEMOART','Print_Success_MBI',50,2); INSERT INTO sbmFUNCTIONS VALUES ('MBI','DEMOART','Insert_Modify_Record',40,2); INSERT INTO sbmFUNCTIONS VALUES ('MBI','DEMOART','Make_Modify_Record',30,2); INSERT INTO sbmFUNCTIONS VALUES ('MBI','DEMOART','Get_Recid',20,2); INSERT INTO sbmFUNCTIONS VALUES ('MBI','DEMOART','Get_Report_Number',10,2); INSERT INTO sbmFUNCTIONS VALUES ('MBI','DEMOART','Send_Modify_Mail',60,2); INSERT INTO sbmFUNCTIONS VALUES ('MBI','DEMOART','Move_to_Done',70,2); INSERT INTO sbmFUNCTIONS VALUES ('MBI','DEMOBOO','Create_Modify_Interface',40,1); INSERT INTO sbmFUNCTIONS VALUES ('MBI','DEMOBOO','Get_Recid',20,1); INSERT INTO sbmFUNCTIONS VALUES ('MBI','DEMOBOO','Is_Original_Submitter',30,1); INSERT INTO sbmFUNCTIONS VALUES ('MBI','DEMOBOO','Get_Report_Number',10,1); INSERT INTO sbmFUNCTIONS VALUES ('MBI','DEMOBOO','Print_Success_MBI',50,2); INSERT INTO sbmFUNCTIONS VALUES ('MBI','DEMOBOO','Insert_Modify_Record',40,2); INSERT INTO sbmFUNCTIONS VALUES ('MBI','DEMOBOO','Make_Modify_Record',30,2); INSERT INTO sbmFUNCTIONS VALUES ('MBI','DEMOBOO','Get_Recid',20,2); INSERT INTO sbmFUNCTIONS VALUES ('MBI','DEMOBOO','Get_Report_Number',10,2); INSERT INTO sbmFUNCTIONS VALUES ('MBI','DEMOBOO','Send_Modify_Mail',60,2); INSERT INTO sbmFUNCTIONS VALUES ('MBI','DEMOBOO','Move_to_Done',70,2); INSERT INTO sbmFUNCTIONS VALUES ('APP','DEMOBOO','Get_Report_Number',10,1); INSERT INTO sbmFUNCTIONS VALUES ('APP','DEMOBOO','Test_Status',20,1); INSERT INTO sbmFUNCTIONS VALUES ('APP','DEMOBOO','Is_Referee',30,1); INSERT INTO sbmFUNCTIONS VALUES ('APP','DEMOBOO','CaseEDS',40,1); INSERT INTO sbmFUNCTIONS VALUES ('APP','DEMOBOO','Send_APP_Mail',90,2); INSERT INTO sbmFUNCTIONS VALUES ('APP','DEMOBOO','Print_Success_APP',80,2); INSERT INTO sbmFUNCTIONS VALUES ('APP','DEMOBOO','Update_Approval_DB',70,2); INSERT INTO sbmFUNCTIONS VALUES ('APP','DEMOBOO','Insert_Record',60,2); INSERT INTO sbmFUNCTIONS VALUES ('APP','DEMOBOO','Print_Success_APP',50,3); INSERT INTO sbmFUNCTIONS VALUES ('APP','DEMOBOO','Send_APP_Mail',60,3); INSERT INTO sbmFUNCTIONS VALUES ('APP','DEMOBOO','Move_From_Pending',20,3); INSERT INTO sbmFUNCTIONS VALUES ('APP','DEMOBOO','Get_Info',30,3); INSERT INTO sbmFUNCTIONS VALUES ('APP','DEMOBOO','Get_Report_Number',10,3); INSERT INTO sbmFUNCTIONS VALUES ('APP','DEMOBOO','Update_Approval_DB',40,3); INSERT INTO sbmFUNCTIONS VALUES ('APP','DEMOBOO','Move_to_Done',70,3); INSERT INTO sbmFUNCTIONS VALUES ('SBI','DEMOBOO','Move_to_Pending',90,1); INSERT INTO sbmFUNCTIONS VALUES ('SBI','DEMOBOO','Print_Success',80,1); INSERT INTO sbmFUNCTIONS VALUES ('SBI','DEMOBOO','Send_Approval_Request',70,1); INSERT INTO sbmFUNCTIONS VALUES ('SBI','DEMOBOO','Update_Approval_DB',60,1); INSERT INTO sbmFUNCTIONS VALUES ('SBI','DEMOBOO','Mail_Submitter',50,1); INSERT INTO sbmFUNCTIONS VALUES ('SBI','DEMOBOO','Move_Files_to_Storage',40,1); INSERT INTO sbmFUNCTIONS VALUES ('SBI','DEMOBOO','Make_Dummy_MARC_XML_Record',30,1); INSERT INTO sbmFUNCTIONS VALUES ('SBI','DEMOBOO','Report_Number_Generation',20,1); INSERT INTO sbmFUNCTIONS VALUES ('SBI','DEMOBOO','Create_Recid',10,1); INSERT INTO sbmFUNCTIONS VALUES ('APP','DEMOBOO','Make_Record',50,2); INSERT INTO sbmFUNCTIONS VALUES ('APP','DEMOBOO','Get_Info',40,2); INSERT INTO sbmFUNCTIONS VALUES ('APP','DEMOBOO','Get_Recid',30,2); INSERT INTO sbmFUNCTIONS VALUES ('APP','DEMOBOO','Move_From_Pending',20,2); INSERT INTO sbmFUNCTIONS VALUES ('APP','DEMOBOO','Get_Report_Number',10,2); INSERT INTO sbmFUNCTIONS VALUES ('APP','DEMOBOO','Move_to_Done',100,2); INSERT INTO sbmFUNCTIONS VALUES ('SBI','DEMOPOE','Create_Recid',10,1); INSERT INTO sbmFUNCTIONS VALUES ('SBI','DEMOPOE','Report_Number_Generation',20,1); INSERT INTO sbmFUNCTIONS VALUES ('SBI','DEMOPOE','Make_Record',30,1); INSERT INTO sbmFUNCTIONS VALUES ('SBI','DEMOPOE','Insert_Record',40,1); INSERT INTO sbmFUNCTIONS VALUES ('SBI','DEMOPOE','Print_Success',50,1); INSERT INTO sbmFUNCTIONS VALUES ('SBI','DEMOPOE','Mail_Submitter',60,1); INSERT INTO sbmFUNCTIONS VALUES ('SBI','DEMOPOE','Move_to_Done',70,1); INSERT INTO sbmFUNCTIONS VALUES ('MBI','DEMOPOE','Get_Report_Number',10,1); INSERT INTO sbmFUNCTIONS VALUES ('MBI','DEMOPOE','Get_Recid',20,1); INSERT INTO sbmFUNCTIONS VALUES ('MBI','DEMOPOE','Is_Original_Submitter',30,1); INSERT INTO sbmFUNCTIONS VALUES ('MBI','DEMOPOE','Create_Modify_Interface',40,1); INSERT INTO sbmFUNCTIONS VALUES ('MBI','DEMOPOE','Print_Success_MBI',50,2); INSERT INTO sbmFUNCTIONS VALUES ('MBI','DEMOPOE','Insert_Modify_Record',40,2); INSERT INTO sbmFUNCTIONS VALUES ('MBI','DEMOPOE','Make_Modify_Record',30,2); INSERT INTO sbmFUNCTIONS VALUES ('MBI','DEMOPOE','Get_Recid',20,2); INSERT INTO sbmFUNCTIONS VALUES ('MBI','DEMOPOE','Get_Report_Number',10,2); INSERT INTO sbmFUNCTIONS VALUES ('MBI','DEMOPOE','Send_Modify_Mail',60,2); INSERT INTO sbmFUNCTIONS VALUES ('MBI','DEMOPOE','Move_to_Done',70,2); INSERT INTO sbmIMPLEMENT VALUES ('DEMOPIC','SBI','Y','SBIDEMOPIC',1,'2007-09-13','2007-10-04',1,'','',0,0,''); INSERT INTO sbmIMPLEMENT VALUES ('DEMOPIC','MBI','Y','MBIDEMOPIC',1,'2007-10-04','2007-10-04',2,'','',0,0,''); INSERT INTO sbmIMPLEMENT VALUES ('DEMOTHE','SBI','Y','SBIDEMOTHE',1,'2008-03-02','2008-03-05',1,'','1',1,0,''); INSERT INTO sbmIMPLEMENT VALUES ('DEMOTHE','MBI','Y','MBIDEMOTHE',1,'2008-03-05','2008-03-05',2,'','',0,0,''); INSERT INTO sbmIMPLEMENT VALUES ('DEMOART','SBI','Y','SBIDEMOART',1,'2008-03-06','2008-03-07',1,'','',0,0,''); INSERT INTO sbmIMPLEMENT VALUES ('DEMOART','MBI','Y','MBIDEMOART',1,'2008-03-07','2008-03-07',2,'','',0,0,''); INSERT INTO sbmIMPLEMENT VALUES ('DEMOBOO','SBI','Y','SBIDEMOBOO',1,'2008-03-06','2008-03-07',1,'','',0,0,''); INSERT INTO sbmIMPLEMENT VALUES ('DEMOBOO','MBI','Y','MBIDEMOBOO',1,'2008-03-07','2008-03-07',2,'','',0,0,''); INSERT INTO sbmIMPLEMENT VALUES ('DEMOBOO','APP','Y','APPDEMOBOO',1,'2002-05-06','2002-05-28',3,'0','0',0,1,''); INSERT INTO sbmIMPLEMENT VALUES ('DEMOPOE','SBI','Y','SBIDEMOPOE',2,'2008-03-12','2008-03-12',1,'','',0,0,''); INSERT INTO sbmIMPLEMENT VALUES ('DEMOPOE','MBI','Y','MBIDEMOPOE',1,'2008-03-12','2008-03-12',2,'','',0,0,''); INSERT INTO sbmPARAMETERS VALUES ('DEMOPIC','addressesMBI',''); INSERT INTO sbmPARAMETERS VALUES ('DEMOPIC','authorfile','DEMOPIC_PHOTOG'); INSERT INTO sbmPARAMETERS VALUES ('DEMOPIC','autorngen','Y'); INSERT INTO sbmPARAMETERS VALUES ('DEMOPIC','counterpath','lastid_DEMOPIC_<PA>categ</PA>_<PA>yy</PA>'); INSERT INTO sbmPARAMETERS VALUES ('DEMOPIC','createTemplate','DEMOPICcreate.tpl'); INSERT INTO sbmPARAMETERS VALUES ('DEMOPIC','documenttype','picture'); INSERT INTO sbmPARAMETERS VALUES ('DEMOPIC','edsrn','DEMOPIC_RN'); INSERT INTO sbmPARAMETERS VALUES ('DEMOPIC','emailFile','SuE'); INSERT INTO sbmPARAMETERS VALUES ('DEMOPIC','fieldnameMBI','DEMOPIC_CHANGE'); INSERT INTO sbmPARAMETERS VALUES ('DEMOPIC','iconsize','180'); INSERT INTO sbmPARAMETERS VALUES ('DEMOPIC','modifyTemplate','DEMOPICmodify.tpl'); INSERT INTO sbmPARAMETERS VALUES ('DEMOPIC','newrnin','NEWRN'); INSERT INTO sbmPARAMETERS VALUES ('DEMOPIC','paths_and_suffixes','{\"DEMOPIC_FILE\":\"\"}'); INSERT INTO sbmPARAMETERS VALUES ('DEMOPIC','rename','<PA>file:DEMOPIC_RN</PA>'); INSERT INTO sbmPARAMETERS VALUES ('DEMOPIC','rnformat','DEMO-PICTURE-<PA>categ</PA>-<PA>yy</PA>'); INSERT INTO sbmPARAMETERS VALUES ('DEMOPIC','rnin','comboDEMOPIC'); INSERT INTO sbmPARAMETERS VALUES ('DEMOPIC','sourceDoc','photos'); INSERT INTO sbmPARAMETERS VALUES ('DEMOPIC','sourceTemplate','DEMOPIC.tpl'); INSERT INTO sbmPARAMETERS VALUES ('DEMOPIC','status','ADDED'); INSERT INTO sbmPARAMETERS VALUES ('DEMOPIC','titleFile','DEMOPIC_TITLE'); INSERT INTO sbmPARAMETERS VALUES ('DEMOPIC','yeargen','AUTO'); INSERT INTO sbmPARAMETERS VALUES ('DEMOTHE','counterpath','lastid_DEMOTHE_<PA>yy</PA>'); INSERT INTO sbmPARAMETERS VALUES ('DEMOTHE','autorngen','Y'); INSERT INTO sbmPARAMETERS VALUES ('DEMOTHE','edsrn','DEMOTHE_RN'); INSERT INTO sbmPARAMETERS VALUES ('DEMOTHE','rnformat','DEMO-THESIS-<PA>yy</PA>'); INSERT INTO sbmPARAMETERS VALUES ('DEMOTHE','yeargen','AUTO'); INSERT INTO sbmPARAMETERS VALUES ('DEMOTHE','rnin','comboDEMOTHE'); INSERT INTO sbmPARAMETERS VALUES ('DEMOTHE','files_to_be_stamped','DEMOTHE_FILE'); INSERT INTO sbmPARAMETERS VALUES ('DEMOTHE','latex_template','demo-stamp-left.tex'); INSERT INTO sbmPARAMETERS VALUES ('DEMOTHE','stamp','first'); INSERT INTO sbmPARAMETERS VALUES ('DEMOTHE','latex_template_vars','{\'REPORTNUMBER\':\'DEMOTHE_RN\',\'DATE\':\'DEMOTHE_DATE\'}'); INSERT INTO sbmPARAMETERS VALUES ('DEMOTHE','createTemplate','DEMOTHEcreate.tpl'); INSERT INTO sbmPARAMETERS VALUES ('DEMOTHE','sourceTemplate','DEMOTHE.tpl'); INSERT INTO sbmPARAMETERS VALUES ('DEMOTHE','documenttype','fulltext'); INSERT INTO sbmPARAMETERS VALUES ('DEMOTHE','iconsize','180'); INSERT INTO sbmPARAMETERS VALUES ('DEMOTHE','paths_and_suffixes','{\"DEMOTHE_FILE\":\"\"}'); INSERT INTO sbmPARAMETERS VALUES ('DEMOTHE','rename','<PA>file:DEMOTHE_RN</PA>'); INSERT INTO sbmPARAMETERS VALUES ('DEMOTHE','newrnin',''); INSERT INTO sbmPARAMETERS VALUES ('DEMOTHE','status','ADDED'); INSERT INTO sbmPARAMETERS VALUES ('DEMOTHE','authorfile','DEMOTHE_AU'); INSERT INTO sbmPARAMETERS VALUES ('DEMOTHE','emailFile','SuE'); INSERT INTO sbmPARAMETERS VALUES ('DEMOTHE','titleFile','DEMOTHE_TITLE'); INSERT INTO sbmPARAMETERS VALUES ('DEMOTHE','fieldnameMBI','DEMOTHE_CHANGE'); INSERT INTO sbmPARAMETERS VALUES ('DEMOTHE','modifyTemplate','DEMOTHEmodify.tpl'); INSERT INTO sbmPARAMETERS VALUES ('DEMOTHE','addressesMBI',''); INSERT INTO sbmPARAMETERS VALUES ('DEMOTHE','sourceDoc','Thesis'); INSERT INTO sbmPARAMETERS VALUES ('DEMOART','addressesMBI',''); INSERT INTO sbmPARAMETERS VALUES ('DEMOART','authorfile','DEMOART_AU'); INSERT INTO sbmPARAMETERS VALUES ('DEMOART','autorngen','Y'); INSERT INTO sbmPARAMETERS VALUES ('DEMOART','counterpath','lastid_DEMOART_<PA>categ</PA>_<PA>yy</PA>'); INSERT INTO sbmPARAMETERS VALUES ('DEMOART','createTemplate','DEMOARTcreate.tpl'); INSERT INTO sbmPARAMETERS VALUES ('DEMOART','documenttype','fulltext'); INSERT INTO sbmPARAMETERS VALUES ('DEMOART','edsrn','DEMOART_RN'); INSERT INTO sbmPARAMETERS VALUES ('DEMOART','emailFile','SuE'); INSERT INTO sbmPARAMETERS VALUES ('DEMOART','fieldnameMBI','DEMOART_CHANGE'); INSERT INTO sbmPARAMETERS VALUES ('DEMOART','iconsize','180'); INSERT INTO sbmPARAMETERS VALUES ('DEMOART','modifyTemplate','DEMOARTmodify.tpl'); INSERT INTO sbmPARAMETERS VALUES ('DEMOART','newrnin',''); INSERT INTO sbmPARAMETERS VALUES ('DEMOART','paths_and_suffixes','{\"DEMOART_FILE\":\"\"}'); INSERT INTO sbmPARAMETERS VALUES ('DEMOART','rename','<PA>file:DEMOART_RN</PA>'); INSERT INTO sbmPARAMETERS VALUES ('DEMOART','rnformat','DEMO-<PA>categ</PA>-<PA>yy</PA>'); INSERT INTO sbmPARAMETERS VALUES ('DEMOART','rnin','comboDEMOART'); INSERT INTO sbmPARAMETERS VALUES ('DEMOART','sourceDoc','Textual Document'); INSERT INTO sbmPARAMETERS VALUES ('DEMOART','sourceTemplate','DEMOART.tpl'); INSERT INTO sbmPARAMETERS VALUES ('DEMOART','status','ADDED'); INSERT INTO sbmPARAMETERS VALUES ('DEMOART','titleFile','DEMOART_TITLE'); INSERT INTO sbmPARAMETERS VALUES ('DEMOART','yeargen','AUTO'); INSERT INTO sbmPARAMETERS VALUES ('DEMOBOO','autorngen','Y'); INSERT INTO sbmPARAMETERS VALUES ('DEMOBOO','counterpath','lastid_DEMOBOO_<PA>yy</PA>'); INSERT INTO sbmPARAMETERS VALUES ('DEMOBOO','edsrn','DEMOBOO_RN'); INSERT INTO sbmPARAMETERS VALUES ('DEMOBOO','rnformat','DEMO-BOOK-<PA>yy</PA>'); INSERT INTO sbmPARAMETERS VALUES ('DEMOBOO','rnin','comboDEMOBOO'); INSERT INTO sbmPARAMETERS VALUES ('DEMOBOO','yeargen','AUTO'); INSERT INTO sbmPARAMETERS VALUES ('DEMOBOO','newrnin','NEWRN'); INSERT INTO sbmPARAMETERS VALUES ('DEMOBOO','status','APPROVAL'); INSERT INTO sbmPARAMETERS VALUES ('DEMOBOO','authorfile','DEMOBOO_AU'); INSERT INTO sbmPARAMETERS VALUES ('DEMOBOO','emailFile','SuE'); INSERT INTO sbmPARAMETERS VALUES ('DEMOBOO','titleFile','DEMOBOO_TITLE'); INSERT INTO sbmPARAMETERS VALUES ('DEMOBOO','categformatDAM',''); INSERT INTO sbmPARAMETERS VALUES ('DEMOBOO','addressesDAM',''); INSERT INTO sbmPARAMETERS VALUES ('DEMOBOO','directory','DEMOBOO'); INSERT INTO sbmPARAMETERS VALUES ('DEMOBOO','fieldnameMBI','DEMOBOO_CHANGE'); INSERT INTO sbmPARAMETERS VALUES ('DEMOBOO','modifyTemplate','DEMOBOOmodify.tpl'); INSERT INTO sbmPARAMETERS VALUES ('DEMOBOO','sourceTemplate','DEMOBOO.tpl'); INSERT INTO sbmPARAMETERS VALUES ('DEMOBOO','addressesMBI',''); INSERT INTO sbmPARAMETERS VALUES ('DEMOBOO','sourceDoc','BOOK'); INSERT INTO sbmPARAMETERS VALUES ('DEMOBOO','casevalues','approve,reject'); INSERT INTO sbmPARAMETERS VALUES ('DEMOBOO','casesteps','2,3'); INSERT INTO sbmPARAMETERS VALUES ('DEMOBOO','casevariable','DEMOBOO_DECSN'); INSERT INTO sbmPARAMETERS VALUES ('DEMOBOO','casedefault',''); INSERT INTO sbmPARAMETERS VALUES ('DEMOBOO','categformatAPP',''); INSERT INTO sbmPARAMETERS VALUES ('DEMOBOO','addressesAPP',''); INSERT INTO sbmPARAMETERS VALUES ('DEMOBOO','createTemplate','DEMOBOOcreate.tpl'); INSERT INTO sbmPARAMETERS VALUES ('DEMOBOO','documenttype','fulltext'); INSERT INTO sbmPARAMETERS VALUES ('DEMOBOO','iconsize','180'); INSERT INTO sbmPARAMETERS VALUES ('DEMOBOO','paths_and_suffixes','{\"DEMOBOO_FILE\":\"\"}'); INSERT INTO sbmPARAMETERS VALUES ('DEMOBOO','rename','<PA>file:DEMOBOO_RN</PA>'); INSERT INTO sbmPARAMETERS VALUES ('DEMOBOO','dummyrec_source_tpl','DEMOBOO.tpl'); INSERT INTO sbmPARAMETERS VALUES ('DEMOBOO','dummyrec_create_tpl','DEMOBOOcreate.tpl'); INSERT INTO sbmPARAMETERS VALUES ('DEMOBOO','decision_file','DEMOBOO_DECSN'); INSERT INTO sbmPARAMETERS VALUES ('DEMOBOO','comments_file','DEMOBOO_COMNT'); INSERT INTO sbmPARAMETERS VALUES ('DEMOPOE','addressesMBI',''); INSERT INTO sbmPARAMETERS VALUES ('DEMOPOE','authorfile','DEMOPOE_AU'); INSERT INTO sbmPARAMETERS VALUES ('DEMOPOE','autorngen','Y'); INSERT INTO sbmPARAMETERS VALUES ('DEMOPOE','counterpath','lastid_DEMOPOE_<PA>yy</PA>'); INSERT INTO sbmPARAMETERS VALUES ('DEMOPOE','createTemplate','DEMOPOEcreate.tpl'); INSERT INTO sbmPARAMETERS VALUES ('DEMOPOE','edsrn','DEMOPOE_RN'); INSERT INTO sbmPARAMETERS VALUES ('DEMOPOE','emailFile','SuE'); INSERT INTO sbmPARAMETERS VALUES ('DEMOPOE','fieldnameMBI','DEMOPOE_CHANGE'); INSERT INTO sbmPARAMETERS VALUES ('DEMOPOE','modifyTemplate','DEMOPOEmodify.tpl'); INSERT INTO sbmPARAMETERS VALUES ('DEMOPOE','newrnin',''); INSERT INTO sbmPARAMETERS VALUES ('DEMOPOE','rnformat','DEMO-POETRY-<PA>yy</PA>'); INSERT INTO sbmPARAMETERS VALUES ('DEMOPOE','rnin','comboDEMOPOE'); INSERT INTO sbmPARAMETERS VALUES ('DEMOPOE','sourceDoc','Poem'); INSERT INTO sbmPARAMETERS VALUES ('DEMOPOE','sourceTemplate','DEMOPOE.tpl'); INSERT INTO sbmPARAMETERS VALUES ('DEMOPOE','status','ADDED'); INSERT INTO sbmPARAMETERS VALUES ('DEMOPOE','titleFile','DEMOPOE_TITLE'); INSERT INTO sbmPARAMETERS VALUES ('DEMOPOE','yeargen','AUTO'); INSERT INTO rnkMETHOD (id,name,last_updated) VALUES (2,'demo_jif','0000-00-00 00:00:00'); INSERT INTO collection_rnkMETHOD (id_collection,id_rnkMETHOD,score) VALUES (15,2,90); INSERT INTO rnkMETHOD (id,name,last_updated) VALUES (3,'citation','0000-00-00 00:00:00'); INSERT INTO collection_rnkMETHOD (id_collection,id_rnkMETHOD,score) VALUES (15,3,90); INSERT INTO externalcollection (id, name) VALUES (1, 'Amazon'); INSERT INTO externalcollection (id, name) VALUES (2, 'CERN EDMS'); INSERT INTO externalcollection (id, name) VALUES (3, 'CERN Indico'); INSERT INTO externalcollection (id, name) VALUES (4, 'CERN Intranet'); INSERT INTO externalcollection (id, name) VALUES (5, 'CiteSeer'); INSERT INTO externalcollection (id, name) VALUES (6, 'Google Books'); INSERT INTO externalcollection (id, name) VALUES (7, 'Google Scholar'); INSERT INTO externalcollection (id, name) VALUES (8, 'Google Web'); INSERT INTO externalcollection (id, name) VALUES (9, 'IEC'); INSERT INTO externalcollection (id, name) VALUES (10, 'IHS'); INSERT INTO externalcollection (id, name) VALUES (11, 'INSPEC'); INSERT INTO externalcollection (id, name) VALUES (12, 'ISO'); INSERT INTO externalcollection (id, name) VALUES (13, 'KISS Books/Journals'); INSERT INTO externalcollection (id, name) VALUES (14, 'KISS Preprints'); INSERT INTO externalcollection (id, name) VALUES (15, 'NEBIS'); INSERT INTO externalcollection (id, name) VALUES (16, 'SLAC Library Catalog'); INSERT INTO externalcollection (id, name) VALUES (17, 'SPIRES HEP'); INSERT INTO externalcollection (id, name) VALUES (18, 'Scirus'); INSERT INTO collection_externalcollection (id_collection,id_externalcollection,type) VALUES (1,1,1); INSERT INTO collection_externalcollection (id_collection,id_externalcollection,type) VALUES (1,2,1); INSERT INTO collection_externalcollection (id_collection,id_externalcollection,type) VALUES (1,3,1); INSERT INTO collection_externalcollection (id_collection,id_externalcollection,type) VALUES (1,4,1); INSERT INTO collection_externalcollection (id_collection,id_externalcollection,type) VALUES (1,5,1); INSERT INTO collection_externalcollection (id_collection,id_externalcollection,type) VALUES (1,6,1); INSERT INTO collection_externalcollection (id_collection,id_externalcollection,type) VALUES (1,7,1); INSERT INTO collection_externalcollection (id_collection,id_externalcollection,type) VALUES (1,8,1); INSERT INTO collection_externalcollection (id_collection,id_externalcollection,type) VALUES (1,9,1); INSERT INTO collection_externalcollection (id_collection,id_externalcollection,type) VALUES (1,10,1); INSERT INTO collection_externalcollection (id_collection,id_externalcollection,type) VALUES (1,11,1); INSERT INTO collection_externalcollection (id_collection,id_externalcollection,type) VALUES (1,12,1); INSERT INTO collection_externalcollection (id_collection,id_externalcollection,type) VALUES (1,13,1); INSERT INTO collection_externalcollection (id_collection,id_externalcollection,type) VALUES (1,14,1); INSERT INTO collection_externalcollection (id_collection,id_externalcollection,type) VALUES (1,15,1); INSERT INTO collection_externalcollection (id_collection,id_externalcollection,type) VALUES (1,16,1); INSERT INTO collection_externalcollection (id_collection,id_externalcollection,type) VALUES (1,17,1); INSERT INTO collection_externalcollection (id_collection,id_externalcollection,type) VALUES (1,18,1); INSERT INTO collection_externalcollection (id_collection,id_externalcollection,type) VALUES (2,1,1); INSERT INTO collection_externalcollection (id_collection,id_externalcollection,type) VALUES (2,2,1); INSERT INTO collection_externalcollection (id_collection,id_externalcollection,type) VALUES (2,3,2); INSERT INTO collection_externalcollection (id_collection,id_externalcollection,type) VALUES (2,4,1); INSERT INTO collection_externalcollection (id_collection,id_externalcollection,type) VALUES (2,5,2); INSERT INTO collection_externalcollection (id_collection,id_externalcollection,type) VALUES (2,6,1); INSERT INTO collection_externalcollection (id_collection,id_externalcollection,type) VALUES (2,7,1); INSERT INTO collection_externalcollection (id_collection,id_externalcollection,type) VALUES (2,8,1); INSERT INTO collection_externalcollection (id_collection,id_externalcollection,type) VALUES (2,9,1); INSERT INTO collection_externalcollection (id_collection,id_externalcollection,type) VALUES (2,10,1); INSERT INTO collection_externalcollection (id_collection,id_externalcollection,type) VALUES (2,11,1); INSERT INTO collection_externalcollection (id_collection,id_externalcollection,type) VALUES (2,12,1); INSERT INTO collection_externalcollection (id_collection,id_externalcollection,type) VALUES (2,13,2); INSERT INTO collection_externalcollection (id_collection,id_externalcollection,type) VALUES (2,14,2); INSERT INTO collection_externalcollection (id_collection,id_externalcollection,type) VALUES (2,15,1); INSERT INTO collection_externalcollection (id_collection,id_externalcollection,type) VALUES (2,16,1); INSERT INTO collection_externalcollection (id_collection,id_externalcollection,type) VALUES (2,17,2); INSERT INTO collection_externalcollection (id_collection,id_externalcollection,type) VALUES (2,18,2); INSERT INTO collection_externalcollection (id_collection,id_externalcollection,type) VALUES (3,1,1); INSERT INTO collection_externalcollection (id_collection,id_externalcollection,type) VALUES (3,2,1); INSERT INTO collection_externalcollection (id_collection,id_externalcollection,type) VALUES (3,3,1); INSERT INTO collection_externalcollection (id_collection,id_externalcollection,type) VALUES (3,4,1); INSERT INTO collection_externalcollection (id_collection,id_externalcollection,type) VALUES (3,5,1); INSERT INTO collection_externalcollection (id_collection,id_externalcollection,type) VALUES (3,6,1); INSERT INTO collection_externalcollection (id_collection,id_externalcollection,type) VALUES (3,7,1); INSERT INTO collection_externalcollection (id_collection,id_externalcollection,type) VALUES (3,8,1); INSERT INTO collection_externalcollection (id_collection,id_externalcollection,type) VALUES (3,9,1); INSERT INTO collection_externalcollection (id_collection,id_externalcollection,type) VALUES (3,10,1); INSERT INTO collection_externalcollection (id_collection,id_externalcollection,type) VALUES (3,11,1); INSERT INTO collection_externalcollection (id_collection,id_externalcollection,type) VALUES (3,12,1); INSERT INTO collection_externalcollection (id_collection,id_externalcollection,type) VALUES (3,13,1); INSERT INTO collection_externalcollection (id_collection,id_externalcollection,type) VALUES (3,14,1); INSERT INTO collection_externalcollection (id_collection,id_externalcollection,type) VALUES (3,15,1); INSERT INTO collection_externalcollection (id_collection,id_externalcollection,type) VALUES (3,16,1); INSERT INTO collection_externalcollection (id_collection,id_externalcollection,type) VALUES (3,17,1); INSERT INTO collection_externalcollection (id_collection,id_externalcollection,type) VALUES (3,18,1); INSERT INTO collection_externalcollection (id_collection,id_externalcollection,type) VALUES (4,1,1); INSERT INTO collection_externalcollection (id_collection,id_externalcollection,type) VALUES (4,2,1); INSERT INTO collection_externalcollection (id_collection,id_externalcollection,type) VALUES (4,3,1); INSERT INTO collection_externalcollection (id_collection,id_externalcollection,type) VALUES (4,4,1); INSERT INTO collection_externalcollection (id_collection,id_externalcollection,type) VALUES (4,5,1); INSERT INTO collection_externalcollection (id_collection,id_externalcollection,type) VALUES (4,6,1); INSERT INTO collection_externalcollection (id_collection,id_externalcollection,type) VALUES (4,7,1); INSERT INTO collection_externalcollection (id_collection,id_externalcollection,type) VALUES (4,8,1); INSERT INTO collection_externalcollection (id_collection,id_externalcollection,type) VALUES (4,9,1); INSERT INTO collection_externalcollection (id_collection,id_externalcollection,type) VALUES (4,10,1); INSERT INTO collection_externalcollection (id_collection,id_externalcollection,type) VALUES (4,11,1); INSERT INTO collection_externalcollection (id_collection,id_externalcollection,type) VALUES (4,12,1); INSERT INTO collection_externalcollection (id_collection,id_externalcollection,type) VALUES (4,13,1); INSERT INTO collection_externalcollection (id_collection,id_externalcollection,type) VALUES (4,14,1); INSERT INTO collection_externalcollection (id_collection,id_externalcollection,type) VALUES (4,15,1); INSERT INTO collection_externalcollection (id_collection,id_externalcollection,type) VALUES (4,16,1); INSERT INTO collection_externalcollection (id_collection,id_externalcollection,type) VALUES (4,17,1); INSERT INTO collection_externalcollection (id_collection,id_externalcollection,type) VALUES (4,18,1); INSERT INTO collection_externalcollection (id_collection,id_externalcollection,type) VALUES (5,1,1); INSERT INTO collection_externalcollection (id_collection,id_externalcollection,type) VALUES (5,2,1); INSERT INTO collection_externalcollection (id_collection,id_externalcollection,type) VALUES (5,3,1); INSERT INTO collection_externalcollection (id_collection,id_externalcollection,type) VALUES (5,4,1); INSERT INTO collection_externalcollection (id_collection,id_externalcollection,type) VALUES (5,5,1); INSERT INTO collection_externalcollection (id_collection,id_externalcollection,type) VALUES (5,6,1); INSERT INTO collection_externalcollection (id_collection,id_externalcollection,type) VALUES (5,7,1); INSERT INTO collection_externalcollection (id_collection,id_externalcollection,type) VALUES (5,8,1); INSERT INTO collection_externalcollection (id_collection,id_externalcollection,type) VALUES (5,9,1); INSERT INTO collection_externalcollection (id_collection,id_externalcollection,type) VALUES (5,10,1); INSERT INTO collection_externalcollection (id_collection,id_externalcollection,type) VALUES (5,11,1); INSERT INTO collection_externalcollection (id_collection,id_externalcollection,type) VALUES (5,12,1); INSERT INTO collection_externalcollection (id_collection,id_externalcollection,type) VALUES (5,13,1); INSERT INTO collection_externalcollection (id_collection,id_externalcollection,type) VALUES (5,14,1); INSERT INTO collection_externalcollection (id_collection,id_externalcollection,type) VALUES (5,15,1); INSERT INTO collection_externalcollection (id_collection,id_externalcollection,type) VALUES (5,16,1); INSERT INTO collection_externalcollection (id_collection,id_externalcollection,type) VALUES (5,17,1); INSERT INTO collection_externalcollection (id_collection,id_externalcollection,type) VALUES (5,18,1); INSERT INTO collection_externalcollection (id_collection,id_externalcollection,type) VALUES (6,1,1); INSERT INTO collection_externalcollection (id_collection,id_externalcollection,type) VALUES (6,2,1); INSERT INTO collection_externalcollection (id_collection,id_externalcollection,type) VALUES (6,3,2); INSERT INTO collection_externalcollection (id_collection,id_externalcollection,type) VALUES (6,4,1); INSERT INTO collection_externalcollection (id_collection,id_externalcollection,type) VALUES (6,5,2); INSERT INTO collection_externalcollection (id_collection,id_externalcollection,type) VALUES (6,6,1); INSERT INTO collection_externalcollection (id_collection,id_externalcollection,type) VALUES (6,7,1); INSERT INTO collection_externalcollection (id_collection,id_externalcollection,type) VALUES (6,8,1); INSERT INTO collection_externalcollection (id_collection,id_externalcollection,type) VALUES (6,9,1); INSERT INTO collection_externalcollection (id_collection,id_externalcollection,type) VALUES (6,10,1); INSERT INTO collection_externalcollection (id_collection,id_externalcollection,type) VALUES (6,11,1); INSERT INTO collection_externalcollection (id_collection,id_externalcollection,type) VALUES (6,12,1); INSERT INTO collection_externalcollection (id_collection,id_externalcollection,type) VALUES (6,13,2); INSERT INTO collection_externalcollection (id_collection,id_externalcollection,type) VALUES (6,14,2); INSERT INTO collection_externalcollection (id_collection,id_externalcollection,type) VALUES (6,15,1); INSERT INTO collection_externalcollection (id_collection,id_externalcollection,type) VALUES (6,16,1); INSERT INTO collection_externalcollection (id_collection,id_externalcollection,type) VALUES (6,17,2); INSERT INTO collection_externalcollection (id_collection,id_externalcollection,type) VALUES (6,18,2); INSERT INTO collection_externalcollection (id_collection,id_externalcollection,type) VALUES (7,1,1); INSERT INTO collection_externalcollection (id_collection,id_externalcollection,type) VALUES (7,2,1); INSERT INTO collection_externalcollection (id_collection,id_externalcollection,type) VALUES (7,3,1); INSERT INTO collection_externalcollection (id_collection,id_externalcollection,type) VALUES (7,4,1); INSERT INTO collection_externalcollection (id_collection,id_externalcollection,type) VALUES (7,5,1); INSERT INTO collection_externalcollection (id_collection,id_externalcollection,type) VALUES (7,6,1); INSERT INTO collection_externalcollection (id_collection,id_externalcollection,type) VALUES (7,7,1); INSERT INTO collection_externalcollection (id_collection,id_externalcollection,type) VALUES (7,8,1); INSERT INTO collection_externalcollection (id_collection,id_externalcollection,type) VALUES (7,9,1); INSERT INTO collection_externalcollection (id_collection,id_externalcollection,type) VALUES (7,10,1); INSERT INTO collection_externalcollection (id_collection,id_externalcollection,type) VALUES (7,11,1); INSERT INTO collection_externalcollection (id_collection,id_externalcollection,type) VALUES (7,12,1); INSERT INTO collection_externalcollection (id_collection,id_externalcollection,type) VALUES (7,13,1); INSERT INTO collection_externalcollection (id_collection,id_externalcollection,type) VALUES (7,14,1); INSERT INTO collection_externalcollection (id_collection,id_externalcollection,type) VALUES (7,15,1); INSERT INTO collection_externalcollection (id_collection,id_externalcollection,type) VALUES (7,16,1); INSERT INTO collection_externalcollection (id_collection,id_externalcollection,type) VALUES (7,17,1); INSERT INTO collection_externalcollection (id_collection,id_externalcollection,type) VALUES (7,18,1); INSERT INTO collection_externalcollection (id_collection,id_externalcollection,type) VALUES (8,1,1); INSERT INTO collection_externalcollection (id_collection,id_externalcollection,type) VALUES (8,2,1); INSERT INTO collection_externalcollection (id_collection,id_externalcollection,type) VALUES (8,3,1); INSERT INTO collection_externalcollection (id_collection,id_externalcollection,type) VALUES (8,4,1); INSERT INTO collection_externalcollection (id_collection,id_externalcollection,type) VALUES (8,5,1); INSERT INTO collection_externalcollection (id_collection,id_externalcollection,type) VALUES (8,6,1); INSERT INTO collection_externalcollection (id_collection,id_externalcollection,type) VALUES (8,7,1); INSERT INTO collection_externalcollection (id_collection,id_externalcollection,type) VALUES (8,8,1); INSERT INTO collection_externalcollection (id_collection,id_externalcollection,type) VALUES (8,9,1); INSERT INTO collection_externalcollection (id_collection,id_externalcollection,type) VALUES (8,10,1); INSERT INTO collection_externalcollection (id_collection,id_externalcollection,type) VALUES (8,11,1); INSERT INTO collection_externalcollection (id_collection,id_externalcollection,type) VALUES (8,12,1); INSERT INTO collection_externalcollection (id_collection,id_externalcollection,type) VALUES (8,13,1); INSERT INTO collection_externalcollection (id_collection,id_externalcollection,type) VALUES (8,14,1); INSERT INTO collection_externalcollection (id_collection,id_externalcollection,type) VALUES (8,15,1); INSERT INTO collection_externalcollection (id_collection,id_externalcollection,type) VALUES (8,16,1); INSERT INTO collection_externalcollection (id_collection,id_externalcollection,type) VALUES (8,17,1); INSERT INTO collection_externalcollection (id_collection,id_externalcollection,type) VALUES (8,18,1); INSERT INTO collection_externalcollection (id_collection,id_externalcollection,type) VALUES (9,1,1); INSERT INTO collection_externalcollection (id_collection,id_externalcollection,type) VALUES (9,2,1); INSERT INTO collection_externalcollection (id_collection,id_externalcollection,type) VALUES (9,3,1); INSERT INTO collection_externalcollection (id_collection,id_externalcollection,type) VALUES (9,4,1); INSERT INTO collection_externalcollection (id_collection,id_externalcollection,type) VALUES (9,5,1); INSERT INTO collection_externalcollection (id_collection,id_externalcollection,type) VALUES (9,6,1); INSERT INTO collection_externalcollection (id_collection,id_externalcollection,type) VALUES (9,7,1); INSERT INTO collection_externalcollection (id_collection,id_externalcollection,type) VALUES (9,8,1); INSERT INTO collection_externalcollection (id_collection,id_externalcollection,type) VALUES (9,9,1); INSERT INTO collection_externalcollection (id_collection,id_externalcollection,type) VALUES (9,10,1); INSERT INTO collection_externalcollection (id_collection,id_externalcollection,type) VALUES (9,11,1); INSERT INTO collection_externalcollection (id_collection,id_externalcollection,type) VALUES (9,12,1); INSERT INTO collection_externalcollection (id_collection,id_externalcollection,type) VALUES (9,13,1); INSERT INTO collection_externalcollection (id_collection,id_externalcollection,type) VALUES (9,14,1); INSERT INTO collection_externalcollection (id_collection,id_externalcollection,type) VALUES (9,15,1); INSERT INTO collection_externalcollection (id_collection,id_externalcollection,type) VALUES (9,16,1); INSERT INTO collection_externalcollection (id_collection,id_externalcollection,type) VALUES (9,17,1); INSERT INTO collection_externalcollection (id_collection,id_externalcollection,type) VALUES (9,18,1); INSERT INTO collection_externalcollection (id_collection,id_externalcollection,type) VALUES (10,1,1); INSERT INTO collection_externalcollection (id_collection,id_externalcollection,type) VALUES (10,2,1); INSERT INTO collection_externalcollection (id_collection,id_externalcollection,type) VALUES (10,3,1); INSERT INTO collection_externalcollection (id_collection,id_externalcollection,type) VALUES (10,4,1); INSERT INTO collection_externalcollection (id_collection,id_externalcollection,type) VALUES (10,5,1); INSERT INTO collection_externalcollection (id_collection,id_externalcollection,type) VALUES (10,6,1); INSERT INTO collection_externalcollection (id_collection,id_externalcollection,type) VALUES (10,7,1); INSERT INTO collection_externalcollection (id_collection,id_externalcollection,type) VALUES (10,8,1); INSERT INTO collection_externalcollection (id_collection,id_externalcollection,type) VALUES (10,9,1); INSERT INTO collection_externalcollection (id_collection,id_externalcollection,type) VALUES (10,10,1); INSERT INTO collection_externalcollection (id_collection,id_externalcollection,type) VALUES (10,11,1); INSERT INTO collection_externalcollection (id_collection,id_externalcollection,type) VALUES (10,12,1); INSERT INTO collection_externalcollection (id_collection,id_externalcollection,type) VALUES (10,13,1); INSERT INTO collection_externalcollection (id_collection,id_externalcollection,type) VALUES (10,14,1); INSERT INTO collection_externalcollection (id_collection,id_externalcollection,type) VALUES (10,15,1); INSERT INTO collection_externalcollection (id_collection,id_externalcollection,type) VALUES (10,16,1); INSERT INTO collection_externalcollection (id_collection,id_externalcollection,type) VALUES (10,17,1); INSERT INTO collection_externalcollection (id_collection,id_externalcollection,type) VALUES (10,18,1); INSERT INTO collection_externalcollection (id_collection,id_externalcollection,type) VALUES (11,1,1); INSERT INTO collection_externalcollection (id_collection,id_externalcollection,type) VALUES (11,2,1); INSERT INTO collection_externalcollection (id_collection,id_externalcollection,type) VALUES (11,3,1); INSERT INTO collection_externalcollection (id_collection,id_externalcollection,type) VALUES (11,4,1); INSERT INTO collection_externalcollection (id_collection,id_externalcollection,type) VALUES (11,5,1); INSERT INTO collection_externalcollection (id_collection,id_externalcollection,type) VALUES (11,6,1); INSERT INTO collection_externalcollection (id_collection,id_externalcollection,type) VALUES (11,7,1); INSERT INTO collection_externalcollection (id_collection,id_externalcollection,type) VALUES (11,8,1); INSERT INTO collection_externalcollection (id_collection,id_externalcollection,type) VALUES (11,9,1); INSERT INTO collection_externalcollection (id_collection,id_externalcollection,type) VALUES (11,10,1); INSERT INTO collection_externalcollection (id_collection,id_externalcollection,type) VALUES (11,11,1); INSERT INTO collection_externalcollection (id_collection,id_externalcollection,type) VALUES (11,12,1); INSERT INTO collection_externalcollection (id_collection,id_externalcollection,type) VALUES (11,13,1); INSERT INTO collection_externalcollection (id_collection,id_externalcollection,type) VALUES (11,14,1); INSERT INTO collection_externalcollection (id_collection,id_externalcollection,type) VALUES (11,15,1); INSERT INTO collection_externalcollection (id_collection,id_externalcollection,type) VALUES (11,16,1); INSERT INTO collection_externalcollection (id_collection,id_externalcollection,type) VALUES (11,17,1); INSERT INTO collection_externalcollection (id_collection,id_externalcollection,type) VALUES (11,18,1); INSERT INTO collection_externalcollection (id_collection,id_externalcollection,type) VALUES (12,1,1); INSERT INTO collection_externalcollection (id_collection,id_externalcollection,type) VALUES (12,2,1); INSERT INTO collection_externalcollection (id_collection,id_externalcollection,type) VALUES (12,3,1); INSERT INTO collection_externalcollection (id_collection,id_externalcollection,type) VALUES (12,4,1); INSERT INTO collection_externalcollection (id_collection,id_externalcollection,type) VALUES (12,5,1); INSERT INTO collection_externalcollection (id_collection,id_externalcollection,type) VALUES (12,6,1); INSERT INTO collection_externalcollection (id_collection,id_externalcollection,type) VALUES (12,7,1); INSERT INTO collection_externalcollection (id_collection,id_externalcollection,type) VALUES (12,8,1); INSERT INTO collection_externalcollection (id_collection,id_externalcollection,type) VALUES (12,9,1); INSERT INTO collection_externalcollection (id_collection,id_externalcollection,type) VALUES (12,10,1); INSERT INTO collection_externalcollection (id_collection,id_externalcollection,type) VALUES (12,11,1); INSERT INTO collection_externalcollection (id_collection,id_externalcollection,type) VALUES (12,12,1); INSERT INTO collection_externalcollection (id_collection,id_externalcollection,type) VALUES (12,13,1); INSERT INTO collection_externalcollection (id_collection,id_externalcollection,type) VALUES (12,14,1); INSERT INTO collection_externalcollection (id_collection,id_externalcollection,type) VALUES (12,15,1); INSERT INTO collection_externalcollection (id_collection,id_externalcollection,type) VALUES (12,16,1); INSERT INTO collection_externalcollection (id_collection,id_externalcollection,type) VALUES (12,17,1); INSERT INTO collection_externalcollection (id_collection,id_externalcollection,type) VALUES (12,18,1); INSERT INTO collection_externalcollection (id_collection,id_externalcollection,type) VALUES (13,1,1); INSERT INTO collection_externalcollection (id_collection,id_externalcollection,type) VALUES (13,2,1); INSERT INTO collection_externalcollection (id_collection,id_externalcollection,type) VALUES (13,3,1); INSERT INTO collection_externalcollection (id_collection,id_externalcollection,type) VALUES (13,4,1); INSERT INTO collection_externalcollection (id_collection,id_externalcollection,type) VALUES (13,5,1); INSERT INTO collection_externalcollection (id_collection,id_externalcollection,type) VALUES (13,6,1); INSERT INTO collection_externalcollection (id_collection,id_externalcollection,type) VALUES (13,7,1); INSERT INTO collection_externalcollection (id_collection,id_externalcollection,type) VALUES (13,8,1); INSERT INTO collection_externalcollection (id_collection,id_externalcollection,type) VALUES (13,9,1); INSERT INTO collection_externalcollection (id_collection,id_externalcollection,type) VALUES (13,10,1); INSERT INTO collection_externalcollection (id_collection,id_externalcollection,type) VALUES (13,11,1); INSERT INTO collection_externalcollection (id_collection,id_externalcollection,type) VALUES (13,12,1); INSERT INTO collection_externalcollection (id_collection,id_externalcollection,type) VALUES (13,13,1); INSERT INTO collection_externalcollection (id_collection,id_externalcollection,type) VALUES (13,14,1); INSERT INTO collection_externalcollection (id_collection,id_externalcollection,type) VALUES (13,15,1); INSERT INTO collection_externalcollection (id_collection,id_externalcollection,type) VALUES (13,16,1); INSERT INTO collection_externalcollection (id_collection,id_externalcollection,type) VALUES (13,17,1); INSERT INTO collection_externalcollection (id_collection,id_externalcollection,type) VALUES (13,18,1); INSERT INTO collection_externalcollection (id_collection,id_externalcollection,type) VALUES (14,1,1); INSERT INTO collection_externalcollection (id_collection,id_externalcollection,type) VALUES (14,2,1); INSERT INTO collection_externalcollection (id_collection,id_externalcollection,type) VALUES (14,3,1); INSERT INTO collection_externalcollection (id_collection,id_externalcollection,type) VALUES (14,4,1); INSERT INTO collection_externalcollection (id_collection,id_externalcollection,type) VALUES (14,5,1); INSERT INTO collection_externalcollection (id_collection,id_externalcollection,type) VALUES (14,6,1); INSERT INTO collection_externalcollection (id_collection,id_externalcollection,type) VALUES (14,7,1); INSERT INTO collection_externalcollection (id_collection,id_externalcollection,type) VALUES (14,8,1); INSERT INTO collection_externalcollection (id_collection,id_externalcollection,type) VALUES (14,9,1); INSERT INTO collection_externalcollection (id_collection,id_externalcollection,type) VALUES (14,10,1); INSERT INTO collection_externalcollection (id_collection,id_externalcollection,type) VALUES (14,11,1); INSERT INTO collection_externalcollection (id_collection,id_externalcollection,type) VALUES (14,12,1); INSERT INTO collection_externalcollection (id_collection,id_externalcollection,type) VALUES (14,13,1); INSERT INTO collection_externalcollection (id_collection,id_externalcollection,type) VALUES (14,14,1); INSERT INTO collection_externalcollection (id_collection,id_externalcollection,type) VALUES (14,15,1); INSERT INTO collection_externalcollection (id_collection,id_externalcollection,type) VALUES (14,16,1); INSERT INTO collection_externalcollection (id_collection,id_externalcollection,type) VALUES (14,17,1); INSERT INTO collection_externalcollection (id_collection,id_externalcollection,type) VALUES (14,18,1); INSERT INTO collection_externalcollection (id_collection,id_externalcollection,type) VALUES (15,1,1); INSERT INTO collection_externalcollection (id_collection,id_externalcollection,type) VALUES (15,2,1); INSERT INTO collection_externalcollection (id_collection,id_externalcollection,type) VALUES (15,3,2); INSERT INTO collection_externalcollection (id_collection,id_externalcollection,type) VALUES (15,4,1); INSERT INTO collection_externalcollection (id_collection,id_externalcollection,type) VALUES (15,5,2); INSERT INTO collection_externalcollection (id_collection,id_externalcollection,type) VALUES (15,6,1); INSERT INTO collection_externalcollection (id_collection,id_externalcollection,type) VALUES (15,7,1); INSERT INTO collection_externalcollection (id_collection,id_externalcollection,type) VALUES (15,8,1); INSERT INTO collection_externalcollection (id_collection,id_externalcollection,type) VALUES (15,9,1); INSERT INTO collection_externalcollection (id_collection,id_externalcollection,type) VALUES (15,10,1); INSERT INTO collection_externalcollection (id_collection,id_externalcollection,type) VALUES (15,11,1); INSERT INTO collection_externalcollection (id_collection,id_externalcollection,type) VALUES (15,12,1); INSERT INTO collection_externalcollection (id_collection,id_externalcollection,type) VALUES (15,13,2); INSERT INTO collection_externalcollection (id_collection,id_externalcollection,type) VALUES (15,14,2); INSERT INTO collection_externalcollection (id_collection,id_externalcollection,type) VALUES (15,15,1); INSERT INTO collection_externalcollection (id_collection,id_externalcollection,type) VALUES (15,16,1); INSERT INTO collection_externalcollection (id_collection,id_externalcollection,type) VALUES (15,17,2); INSERT INTO collection_externalcollection (id_collection,id_externalcollection,type) VALUES (15,18,2); INSERT INTO collection_externalcollection (id_collection,id_externalcollection,type) VALUES (16,1,1); INSERT INTO collection_externalcollection (id_collection,id_externalcollection,type) VALUES (16,2,1); INSERT INTO collection_externalcollection (id_collection,id_externalcollection,type) VALUES (16,3,1); INSERT INTO collection_externalcollection (id_collection,id_externalcollection,type) VALUES (16,4,1); INSERT INTO collection_externalcollection (id_collection,id_externalcollection,type) VALUES (16,5,1); INSERT INTO collection_externalcollection (id_collection,id_externalcollection,type) VALUES (16,6,1); INSERT INTO collection_externalcollection (id_collection,id_externalcollection,type) VALUES (16,7,1); INSERT INTO collection_externalcollection (id_collection,id_externalcollection,type) VALUES (16,8,1); INSERT INTO collection_externalcollection (id_collection,id_externalcollection,type) VALUES (16,9,1); INSERT INTO collection_externalcollection (id_collection,id_externalcollection,type) VALUES (16,10,1); INSERT INTO collection_externalcollection (id_collection,id_externalcollection,type) VALUES (16,11,1); INSERT INTO collection_externalcollection (id_collection,id_externalcollection,type) VALUES (16,12,1); INSERT INTO collection_externalcollection (id_collection,id_externalcollection,type) VALUES (16,13,1); INSERT INTO collection_externalcollection (id_collection,id_externalcollection,type) VALUES (16,14,1); INSERT INTO collection_externalcollection (id_collection,id_externalcollection,type) VALUES (16,15,1); INSERT INTO collection_externalcollection (id_collection,id_externalcollection,type) VALUES (16,16,1); INSERT INTO collection_externalcollection (id_collection,id_externalcollection,type) VALUES (16,17,1); INSERT INTO collection_externalcollection (id_collection,id_externalcollection,type) VALUES (16,18,1); INSERT INTO collection_externalcollection (id_collection,id_externalcollection,type) VALUES (17,1,1); INSERT INTO collection_externalcollection (id_collection,id_externalcollection,type) VALUES (17,2,1); INSERT INTO collection_externalcollection (id_collection,id_externalcollection,type) VALUES (17,3,1); INSERT INTO collection_externalcollection (id_collection,id_externalcollection,type) VALUES (17,4,1); INSERT INTO collection_externalcollection (id_collection,id_externalcollection,type) VALUES (17,5,1); INSERT INTO collection_externalcollection (id_collection,id_externalcollection,type) VALUES (17,6,1); INSERT INTO collection_externalcollection (id_collection,id_externalcollection,type) VALUES (17,7,1); INSERT INTO collection_externalcollection (id_collection,id_externalcollection,type) VALUES (17,8,1); INSERT INTO collection_externalcollection (id_collection,id_externalcollection,type) VALUES (17,9,1); INSERT INTO collection_externalcollection (id_collection,id_externalcollection,type) VALUES (17,10,1); INSERT INTO collection_externalcollection (id_collection,id_externalcollection,type) VALUES (17,11,1); INSERT INTO collection_externalcollection (id_collection,id_externalcollection,type) VALUES (17,12,1); INSERT INTO collection_externalcollection (id_collection,id_externalcollection,type) VALUES (17,13,1); INSERT INTO collection_externalcollection (id_collection,id_externalcollection,type) VALUES (17,14,1); INSERT INTO collection_externalcollection (id_collection,id_externalcollection,type) VALUES (17,15,1); INSERT INTO collection_externalcollection (id_collection,id_externalcollection,type) VALUES (17,16,1); INSERT INTO collection_externalcollection (id_collection,id_externalcollection,type) VALUES (17,17,1); INSERT INTO collection_externalcollection (id_collection,id_externalcollection,type) VALUES (17,18,1); INSERT INTO collection_externalcollection (id_collection,id_externalcollection,type) VALUES (18,1,1); INSERT INTO collection_externalcollection (id_collection,id_externalcollection,type) VALUES (18,2,1); INSERT INTO collection_externalcollection (id_collection,id_externalcollection,type) VALUES (18,3,1); INSERT INTO collection_externalcollection (id_collection,id_externalcollection,type) VALUES (18,4,1); INSERT INTO collection_externalcollection (id_collection,id_externalcollection,type) VALUES (18,5,1); INSERT INTO collection_externalcollection (id_collection,id_externalcollection,type) VALUES (18,6,1); INSERT INTO collection_externalcollection (id_collection,id_externalcollection,type) VALUES (18,7,1); INSERT INTO collection_externalcollection (id_collection,id_externalcollection,type) VALUES (18,8,1); INSERT INTO collection_externalcollection (id_collection,id_externalcollection,type) VALUES (18,9,1); INSERT INTO collection_externalcollection (id_collection,id_externalcollection,type) VALUES (18,10,1); INSERT INTO collection_externalcollection (id_collection,id_externalcollection,type) VALUES (18,11,1); INSERT INTO collection_externalcollection (id_collection,id_externalcollection,type) VALUES (18,12,1); INSERT INTO collection_externalcollection (id_collection,id_externalcollection,type) VALUES (18,13,1); INSERT INTO collection_externalcollection (id_collection,id_externalcollection,type) VALUES (18,14,1); INSERT INTO collection_externalcollection (id_collection,id_externalcollection,type) VALUES (18,15,1); INSERT INTO collection_externalcollection (id_collection,id_externalcollection,type) VALUES (18,16,1); INSERT INTO collection_externalcollection (id_collection,id_externalcollection,type) VALUES (18,17,1); INSERT INTO collection_externalcollection (id_collection,id_externalcollection,type) VALUES (18,18,1); INSERT INTO fmtKNOWLEDGEBASES VALUES ('1','DBCOLLID2COLL','DbCollID to Coll name correspondance.'); INSERT INTO fmtKNOWLEDGEBASES VALUES ('2','EJOURNALS','Knowledge base of all known electronic journals. Useful for reference linking.'); INSERT INTO fmtKNOWLEDGEBASES VALUES ('3','DBCOLLID2BIBTEX','Mapping between the 980 field and BibTeX entry types.'); INSERT INTO fmtKNOWLEDGEBASEMAPPINGS (m_key,m_value,id_fmtKNOWLEDGEBASES) VALUES ('ARTICLE','Published Article', '1'); INSERT INTO fmtKNOWLEDGEBASEMAPPINGS (m_key,m_value,id_fmtKNOWLEDGEBASES) VALUES ('PREPRINT','Preprint', '1'); INSERT INTO fmtKNOWLEDGEBASEMAPPINGS (m_key,m_value,id_fmtKNOWLEDGEBASES) VALUES ('THESIS','Thesis', '1'); INSERT INTO fmtKNOWLEDGEBASEMAPPINGS (m_key,m_value,id_fmtKNOWLEDGEBASES) VALUES ('BOOK','Book', '1'); INSERT INTO fmtKNOWLEDGEBASEMAPPINGS (m_key,m_value,id_fmtKNOWLEDGEBASES) VALUES ('REPORT','Report', '1'); INSERT INTO fmtKNOWLEDGEBASEMAPPINGS (m_key,m_value,id_fmtKNOWLEDGEBASES) VALUES ('PICTURE','Pictures', '1'); INSERT INTO fmtKNOWLEDGEBASEMAPPINGS (m_key,m_value,id_fmtKNOWLEDGEBASES) VALUES ('AAS Photo Bull.','AAS Photo Bull.', '2'); INSERT INTO fmtKNOWLEDGEBASEMAPPINGS (m_key,m_value,id_fmtKNOWLEDGEBASES) VALUES ('Accredit. Qual. Assur.','Accredit. Qual. Assur.', '2'); INSERT INTO fmtKNOWLEDGEBASEMAPPINGS (m_key,m_value,id_fmtKNOWLEDGEBASES) VALUES ('Acoust. Phys.','Acoust. Phys.', '2'); INSERT INTO fmtKNOWLEDGEBASEMAPPINGS (m_key,m_value,id_fmtKNOWLEDGEBASES) VALUES ('Acoust. Res. Lett.','Acoust. Res. Lett.', '2'); INSERT INTO fmtKNOWLEDGEBASEMAPPINGS (m_key,m_value,id_fmtKNOWLEDGEBASES) VALUES ('Acta Astron.','Acta Astron.', '2'); INSERT INTO fmtKNOWLEDGEBASEMAPPINGS (m_key,m_value,id_fmtKNOWLEDGEBASES) VALUES ('Adv. Comput. Math.','Adv. Comput. Math.', '2'); INSERT INTO fmtKNOWLEDGEBASEMAPPINGS (m_key,m_value,id_fmtKNOWLEDGEBASES) VALUES ('Aequ. Math.','Aequ. Math.', '2'); INSERT INTO fmtKNOWLEDGEBASEMAPPINGS (m_key,m_value,id_fmtKNOWLEDGEBASES) VALUES ('Afr. Skies','Afr. Skies', '2'); INSERT INTO fmtKNOWLEDGEBASEMAPPINGS (m_key,m_value,id_fmtKNOWLEDGEBASES) VALUES ('Algorithmica','Algorithmica', '2'); INSERT INTO fmtKNOWLEDGEBASEMAPPINGS (m_key,m_value,id_fmtKNOWLEDGEBASES) VALUES ('Am. J. Phys.','Am. J. Phys.', '2'); INSERT INTO fmtKNOWLEDGEBASEMAPPINGS (m_key,m_value,id_fmtKNOWLEDGEBASES) VALUES ('Ann. Phys.','Ann. Phys.', '2'); INSERT INTO fmtKNOWLEDGEBASEMAPPINGS (m_key,m_value,id_fmtKNOWLEDGEBASES) VALUES ('Annu. Rev. Astron. Astrophys.','Annu. Rev. Astron. Astrophys.', '2'); INSERT INTO fmtKNOWLEDGEBASEMAPPINGS (m_key,m_value,id_fmtKNOWLEDGEBASES) VALUES ('Annu. Rev. Earth Planet. Sci.','Annu. Rev. Earth Planet. Sci.', '2'); INSERT INTO fmtKNOWLEDGEBASEMAPPINGS (m_key,m_value,id_fmtKNOWLEDGEBASES) VALUES ('Appl. Phys. Lett.','Appl. Phys. Lett.', '2'); INSERT INTO fmtKNOWLEDGEBASEMAPPINGS (m_key,m_value,id_fmtKNOWLEDGEBASES) VALUES ('Appl. Phys., A','Appl. Phys., A', '2'); INSERT INTO fmtKNOWLEDGEBASEMAPPINGS (m_key,m_value,id_fmtKNOWLEDGEBASES) VALUES ('Appl. Phys., B','Appl. Phys., B', '2'); INSERT INTO fmtKNOWLEDGEBASEMAPPINGS (m_key,m_value,id_fmtKNOWLEDGEBASES) VALUES ('Appl. Radiat. Isot.','Appl. Radiat. Isot.', '2'); INSERT INTO fmtKNOWLEDGEBASEMAPPINGS (m_key,m_value,id_fmtKNOWLEDGEBASES) VALUES ('Appl. Surf. Sci.','Appl. Surf. Sci.', '2'); INSERT INTO fmtKNOWLEDGEBASEMAPPINGS (m_key,m_value,id_fmtKNOWLEDGEBASES) VALUES ('Arch. Appl. Mech.','Arch. Appl. Mech.', '2'); INSERT INTO fmtKNOWLEDGEBASEMAPPINGS (m_key,m_value,id_fmtKNOWLEDGEBASES) VALUES ('Arch. Envir. Contam. Toxicol.','Arch. Envir. Contam. Toxicol.', '2'); INSERT INTO fmtKNOWLEDGEBASEMAPPINGS (m_key,m_value,id_fmtKNOWLEDGEBASES) VALUES ('Arch. Rational Mech. Analys.','Arch. Rational Mech. Analys.', '2'); INSERT INTO fmtKNOWLEDGEBASEMAPPINGS (m_key,m_value,id_fmtKNOWLEDGEBASES) VALUES ('Astron. Astrophys. Rev.','Astron. Astrophys. Rev.', '2'); INSERT INTO fmtKNOWLEDGEBASEMAPPINGS (m_key,m_value,id_fmtKNOWLEDGEBASES) VALUES ('Astron. Astrophys.','Astron. Astrophys.', '2'); INSERT INTO fmtKNOWLEDGEBASEMAPPINGS (m_key,m_value,id_fmtKNOWLEDGEBASES) VALUES ('Astron. Astrophys., Suppl.','Astron. Astrophys., Suppl.', '2'); INSERT INTO fmtKNOWLEDGEBASEMAPPINGS (m_key,m_value,id_fmtKNOWLEDGEBASES) VALUES ('Astron. J.','Astron. J.', '2'); INSERT INTO fmtKNOWLEDGEBASEMAPPINGS (m_key,m_value,id_fmtKNOWLEDGEBASES) VALUES ('Astron. Lett.','Astron. Lett.', '2'); INSERT INTO fmtKNOWLEDGEBASEMAPPINGS (m_key,m_value,id_fmtKNOWLEDGEBASES) VALUES ('Astron. Nachr.','Astron. Nachr.', '2'); INSERT INTO fmtKNOWLEDGEBASEMAPPINGS (m_key,m_value,id_fmtKNOWLEDGEBASES) VALUES ('Astron. Rep.','Astron. Rep.', '2'); INSERT INTO fmtKNOWLEDGEBASEMAPPINGS (m_key,m_value,id_fmtKNOWLEDGEBASES) VALUES ('Astropart. Phys.','Astropart. Phys.', '2'); INSERT INTO fmtKNOWLEDGEBASEMAPPINGS (m_key,m_value,id_fmtKNOWLEDGEBASES) VALUES ('Astrophys. J.','Astrophys. J.', '2'); INSERT INTO fmtKNOWLEDGEBASEMAPPINGS (m_key,m_value,id_fmtKNOWLEDGEBASES) VALUES ('Astrophys. Norvegica','Astrophys. Norvegica', '2'); INSERT INTO fmtKNOWLEDGEBASEMAPPINGS (m_key,m_value,id_fmtKNOWLEDGEBASES) VALUES ('Balt. Astron.','Balt. Astron.', '2'); INSERT INTO fmtKNOWLEDGEBASEMAPPINGS (m_key,m_value,id_fmtKNOWLEDGEBASES) VALUES ('Bioimaging','Bioimaging', '2'); INSERT INTO fmtKNOWLEDGEBASEMAPPINGS (m_key,m_value,id_fmtKNOWLEDGEBASES) VALUES ('Biol. Cybern.','Biol. Cybern.', '2'); INSERT INTO fmtKNOWLEDGEBASEMAPPINGS (m_key,m_value,id_fmtKNOWLEDGEBASES) VALUES ('Bull. Astron. Belgrade','Bull. Astron. Belgrade', '2'); INSERT INTO fmtKNOWLEDGEBASEMAPPINGS (m_key,m_value,id_fmtKNOWLEDGEBASES) VALUES ('Bull. Astron. Inst. Czech.','Bull. Astron. Inst. Czech.', '2'); INSERT INTO fmtKNOWLEDGEBASEMAPPINGS (m_key,m_value,id_fmtKNOWLEDGEBASES) VALUES ('Bull. Astron. Soc. India','Bull. Astron. Soc. India', '2'); INSERT INTO fmtKNOWLEDGEBASEMAPPINGS (m_key,m_value,id_fmtKNOWLEDGEBASES) VALUES ('Bull. Eng. Geol. Environ.','Bull. Eng. Geol. Environ.', '2'); INSERT INTO fmtKNOWLEDGEBASEMAPPINGS (m_key,m_value,id_fmtKNOWLEDGEBASES) VALUES ('Bull. Environ. Contam. Toxicol.','Bull. Environ. Contam. Toxicol.', '2'); INSERT INTO fmtKNOWLEDGEBASEMAPPINGS (m_key,m_value,id_fmtKNOWLEDGEBASES) VALUES ('Calc. Var. Partial Differ. Equ.','Calc. Var. Partial Differ. Equ.', '2'); INSERT INTO fmtKNOWLEDGEBASEMAPPINGS (m_key,m_value,id_fmtKNOWLEDGEBASES) VALUES ('Chaos','Chaos', '2'); INSERT INTO fmtKNOWLEDGEBASEMAPPINGS (m_key,m_value,id_fmtKNOWLEDGEBASES) VALUES ('Chaos Solitons Fractals','Chaos Solitons Fractals', '2'); INSERT INTO fmtKNOWLEDGEBASEMAPPINGS (m_key,m_value,id_fmtKNOWLEDGEBASES) VALUES ('Chem. Phys.','Chem. Phys.', '2'); INSERT INTO fmtKNOWLEDGEBASEMAPPINGS (m_key,m_value,id_fmtKNOWLEDGEBASES) VALUES ('Chem. Phys. Lett.','Chem. Phys. Lett.', '2'); INSERT INTO fmtKNOWLEDGEBASEMAPPINGS (m_key,m_value,id_fmtKNOWLEDGEBASES) VALUES ('Chin. Astron. Astrophys.','Chin. Astron. Astrophys.', '2'); INSERT INTO fmtKNOWLEDGEBASEMAPPINGS (m_key,m_value,id_fmtKNOWLEDGEBASES) VALUES ('Chin. J. Astron. Astrophys.','Chin. J. Astron. Astrophys.', '2'); INSERT INTO fmtKNOWLEDGEBASEMAPPINGS (m_key,m_value,id_fmtKNOWLEDGEBASES) VALUES ('Class. Quantum Gravity','Class. Quantum Gravity', '2'); INSERT INTO fmtKNOWLEDGEBASEMAPPINGS (m_key,m_value,id_fmtKNOWLEDGEBASES) VALUES ('Clim. Dyn.','Clim. Dyn.', '2'); INSERT INTO fmtKNOWLEDGEBASEMAPPINGS (m_key,m_value,id_fmtKNOWLEDGEBASES) VALUES ('Colloid Polym. Sci.','Colloid Polym. Sci.', '2'); INSERT INTO fmtKNOWLEDGEBASEMAPPINGS (m_key,m_value,id_fmtKNOWLEDGEBASES) VALUES ('Combinatorica','Combinatorica', '2'); INSERT INTO fmtKNOWLEDGEBASEMAPPINGS (m_key,m_value,id_fmtKNOWLEDGEBASES) VALUES ('Combust. Theory Model.','Combust. Theory Model.', '2'); INSERT INTO fmtKNOWLEDGEBASEMAPPINGS (m_key,m_value,id_fmtKNOWLEDGEBASES) VALUES ('Commun. Math. Phys.','Commun. Math. Phys.', '2'); INSERT INTO fmtKNOWLEDGEBASEMAPPINGS (m_key,m_value,id_fmtKNOWLEDGEBASES) VALUES ('Comment. Math. Helv.','Comment. Math. Helv.', '2'); INSERT INTO fmtKNOWLEDGEBASEMAPPINGS (m_key,m_value,id_fmtKNOWLEDGEBASES) VALUES ('Comput. Mech.','Comput. Mech.', '2'); INSERT INTO fmtKNOWLEDGEBASEMAPPINGS (m_key,m_value,id_fmtKNOWLEDGEBASES) VALUES ('Comput. Phys.','Comput. Phys.', '2'); INSERT INTO fmtKNOWLEDGEBASEMAPPINGS (m_key,m_value,id_fmtKNOWLEDGEBASES) VALUES ('Comput. Phys. Commun.','Comput. Phys. Commun.', '2'); INSERT INTO fmtKNOWLEDGEBASEMAPPINGS (m_key,m_value,id_fmtKNOWLEDGEBASES) VALUES ('Comput. Sci. Eng.','Comput. Sci. Eng.', '2'); INSERT INTO fmtKNOWLEDGEBASEMAPPINGS (m_key,m_value,id_fmtKNOWLEDGEBASES) VALUES ('Comput. Vis. Sci.','Comput. Vis. Sci.', '2'); INSERT INTO fmtKNOWLEDGEBASEMAPPINGS (m_key,m_value,id_fmtKNOWLEDGEBASES) VALUES ('Computing','Computing', '2'); INSERT INTO fmtKNOWLEDGEBASEMAPPINGS (m_key,m_value,id_fmtKNOWLEDGEBASES) VALUES ('Constr. Approx.','Constr. Approx.', '2'); INSERT INTO fmtKNOWLEDGEBASEMAPPINGS (m_key,m_value,id_fmtKNOWLEDGEBASES) VALUES ('Contin. Mech. Thermodyn.','Contin. Mech. Thermodyn.', '2'); INSERT INTO fmtKNOWLEDGEBASEMAPPINGS (m_key,m_value,id_fmtKNOWLEDGEBASES) VALUES ('Contrib. Astron. Obs. Skaln. Pleso','Contrib. Astron. Obs. Skaln. Pleso', '2'); INSERT INTO fmtKNOWLEDGEBASEMAPPINGS (m_key,m_value,id_fmtKNOWLEDGEBASES) VALUES ('Contrib. Astron. Obs. Skaln. Pleso Suppl.','Contrib. Astron. Obs. Skaln. Pleso Suppl.', '2'); INSERT INTO fmtKNOWLEDGEBASEMAPPINGS (m_key,m_value,id_fmtKNOWLEDGEBASES) VALUES ('Cryogenics','Cryogenics', '2'); INSERT INTO fmtKNOWLEDGEBASEMAPPINGS (m_key,m_value,id_fmtKNOWLEDGEBASES) VALUES ('Crystallogr. Rep.','Crystallogr. Rep.', '2'); INSERT INTO fmtKNOWLEDGEBASEMAPPINGS (m_key,m_value,id_fmtKNOWLEDGEBASES) VALUES ('Curr. Appl. Phys.','Curr. Appl. Phys.', '2'); INSERT INTO fmtKNOWLEDGEBASEMAPPINGS (m_key,m_value,id_fmtKNOWLEDGEBASES) VALUES ('Curr. Opin. Solid State Mater. Sci.','Curr. Opin. Solid State Mater. Sci.', '2'); INSERT INTO fmtKNOWLEDGEBASEMAPPINGS (m_key,m_value,id_fmtKNOWLEDGEBASES) VALUES ('Discret. Comput. Geom.','Discret. Comput. Geom.', '2'); INSERT INTO fmtKNOWLEDGEBASEMAPPINGS (m_key,m_value,id_fmtKNOWLEDGEBASES) VALUES ('Displays','Displays', '2'); INSERT INTO fmtKNOWLEDGEBASEMAPPINGS (m_key,m_value,id_fmtKNOWLEDGEBASES) VALUES ('Distrib. Comput.','Distrib. Comput.', '2'); INSERT INTO fmtKNOWLEDGEBASEMAPPINGS (m_key,m_value,id_fmtKNOWLEDGEBASES) VALUES ('Distrib. Syst. Eng.','Distrib. Syst. Eng.', '2'); INSERT INTO fmtKNOWLEDGEBASEMAPPINGS (m_key,m_value,id_fmtKNOWLEDGEBASES) VALUES ('Dokl. Phys.','Dokl. Phys.', '2'); INSERT INTO fmtKNOWLEDGEBASEMAPPINGS (m_key,m_value,id_fmtKNOWLEDGEBASES) VALUES ('Electrochem. Solid State Lett.','Electrochem. Solid State Lett.', '2'); INSERT INTO fmtKNOWLEDGEBASEMAPPINGS (m_key,m_value,id_fmtKNOWLEDGEBASES) VALUES ('Electron. Lett.','Electron. Lett.', '2'); INSERT INTO fmtKNOWLEDGEBASEMAPPINGS (m_key,m_value,id_fmtKNOWLEDGEBASES) VALUES ('Elem. Math.','Elem. Math.', '2'); INSERT INTO fmtKNOWLEDGEBASEMAPPINGS (m_key,m_value,id_fmtKNOWLEDGEBASES) VALUES ('Environ. Geol.','Environ. Geol.', '2'); INSERT INTO fmtKNOWLEDGEBASEMAPPINGS (m_key,m_value,id_fmtKNOWLEDGEBASES) VALUES ('Environ. Manage.','Environ. Manage.', '2'); INSERT INTO fmtKNOWLEDGEBASEMAPPINGS (m_key,m_value,id_fmtKNOWLEDGEBASES) VALUES ('Eur. Biophys. J. Biophys. Lett.','Eur. Biophys. J. Biophys. Lett.', '2'); INSERT INTO fmtKNOWLEDGEBASEMAPPINGS (m_key,m_value,id_fmtKNOWLEDGEBASES) VALUES ('Eur. J. Phys.','Eur. J. Phys.', '2'); INSERT INTO fmtKNOWLEDGEBASEMAPPINGS (m_key,m_value,id_fmtKNOWLEDGEBASES) VALUES ('Eur. Phys. J., A','Eur. Phys. J., A', '2'); INSERT INTO fmtKNOWLEDGEBASEMAPPINGS (m_key,m_value,id_fmtKNOWLEDGEBASES) VALUES ('Eur. Phys. J., Appl. Phys.','Eur. Phys. J., Appl. Phys.', '2'); INSERT INTO fmtKNOWLEDGEBASEMAPPINGS (m_key,m_value,id_fmtKNOWLEDGEBASES) VALUES ('Eur. Phys. J., B','Eur. Phys. J., B', '2'); INSERT INTO fmtKNOWLEDGEBASEMAPPINGS (m_key,m_value,id_fmtKNOWLEDGEBASES) VALUES ('Eur. Phys. J., C','Eur. Phys. J., C', '2'); INSERT INTO fmtKNOWLEDGEBASEMAPPINGS (m_key,m_value,id_fmtKNOWLEDGEBASES) VALUES ('Eur. Phys. J., D','Eur. Phys. J., D', '2'); INSERT INTO fmtKNOWLEDGEBASEMAPPINGS (m_key,m_value,id_fmtKNOWLEDGEBASES) VALUES ('Eur. Phys. J., E','Eur. Phys. J., E', '2'); INSERT INTO fmtKNOWLEDGEBASEMAPPINGS (m_key,m_value,id_fmtKNOWLEDGEBASES) VALUES ('Europhys. Lett.','Europhys. Lett.', '2'); INSERT INTO fmtKNOWLEDGEBASEMAPPINGS (m_key,m_value,id_fmtKNOWLEDGEBASES) VALUES ('Europhys. News','Europhys. News', '2'); INSERT INTO fmtKNOWLEDGEBASEMAPPINGS (m_key,m_value,id_fmtKNOWLEDGEBASES) VALUES ('Exp. Fluids','Exp. Fluids', '2'); INSERT INTO fmtKNOWLEDGEBASEMAPPINGS (m_key,m_value,id_fmtKNOWLEDGEBASES) VALUES ('Few-Body Syst.','Few-Body Syst.', '2'); INSERT INTO fmtKNOWLEDGEBASEMAPPINGS (m_key,m_value,id_fmtKNOWLEDGEBASES) VALUES ('Finan. Stoch.','Finan. Stoch.', '2'); INSERT INTO fmtKNOWLEDGEBASEMAPPINGS (m_key,m_value,id_fmtKNOWLEDGEBASES) VALUES ('Fluid Dyn. Res.','Fluid Dyn. Res.', '2'); INSERT INTO fmtKNOWLEDGEBASEMAPPINGS (m_key,m_value,id_fmtKNOWLEDGEBASES) VALUES ('Geom. Funct. Anal.','Geom. Funct. Anal.', '2'); INSERT INTO fmtKNOWLEDGEBASEMAPPINGS (m_key,m_value,id_fmtKNOWLEDGEBASES) VALUES ('Heat Mass Transf.','Heat Mass Transf.', '2'); INSERT INTO fmtKNOWLEDGEBASEMAPPINGS (m_key,m_value,id_fmtKNOWLEDGEBASES) VALUES ('High Energy Phys. Libr. Webzine','High Energy Phys. Libr. Webzine', '2'); INSERT INTO fmtKNOWLEDGEBASEMAPPINGS (m_key,m_value,id_fmtKNOWLEDGEBASES) VALUES ('High Perform. Polym.','High Perform. Polym.', '2'); INSERT INTO fmtKNOWLEDGEBASEMAPPINGS (m_key,m_value,id_fmtKNOWLEDGEBASES) VALUES ('IEE Proc., Circ. Devices Syst.','IEE Proc., Circ. Devices Syst.', '2'); INSERT INTO fmtKNOWLEDGEBASEMAPPINGS (m_key,m_value,id_fmtKNOWLEDGEBASES) VALUES ('IEE Proc., Commun.','IEE Proc., Commun.', '2'); INSERT INTO fmtKNOWLEDGEBASEMAPPINGS (m_key,m_value,id_fmtKNOWLEDGEBASES) VALUES ('IEE Proc., Comput. Digit. Tech.','IEE Proc., Comput. Digit. Tech.', '2'); INSERT INTO fmtKNOWLEDGEBASEMAPPINGS (m_key,m_value,id_fmtKNOWLEDGEBASES) VALUES ('IEE Proc., Control Theory Appl.','IEE Proc., Control Theory Appl.', '2'); INSERT INTO fmtKNOWLEDGEBASEMAPPINGS (m_key,m_value,id_fmtKNOWLEDGEBASES) VALUES ('IEE Proc., Electr. Power Appl.','IEE Proc., Electr. Power Appl.', '2'); INSERT INTO fmtKNOWLEDGEBASEMAPPINGS (m_key,m_value,id_fmtKNOWLEDGEBASES) VALUES ('IEE Proc., Gener. Transm. Distrib.','IEE Proc., Gener. Transm. Distrib.', '2'); INSERT INTO fmtKNOWLEDGEBASEMAPPINGS (m_key,m_value,id_fmtKNOWLEDGEBASES) VALUES ('IEE Proc., Microw. Antennas Propag.','IEE Proc., Microw. Antennas Propag.', '2'); INSERT INTO fmtKNOWLEDGEBASEMAPPINGS (m_key,m_value,id_fmtKNOWLEDGEBASES) VALUES ('IEE Proc., Optoelectron.','IEE Proc., Optoelectron.', '2'); INSERT INTO fmtKNOWLEDGEBASEMAPPINGS (m_key,m_value,id_fmtKNOWLEDGEBASES) VALUES ('IEE Proc., Radar, Sonar Navig.','IEE Proc., Radar, Sonar Navig.', '2'); INSERT INTO fmtKNOWLEDGEBASEMAPPINGS (m_key,m_value,id_fmtKNOWLEDGEBASES) VALUES ('IEE Proc., Sci. Meas. Technol.','IEE Proc., Sci. Meas. Technol.', '2'); INSERT INTO fmtKNOWLEDGEBASEMAPPINGS (m_key,m_value,id_fmtKNOWLEDGEBASES) VALUES ('IEE Proc., Softw. Eng.','IEE Proc., Softw. Eng.', '2'); INSERT INTO fmtKNOWLEDGEBASEMAPPINGS (m_key,m_value,id_fmtKNOWLEDGEBASES) VALUES ('IEE Proc., Vis. Image Signal Process.','IEE Proc., Vis. Image Signal Process.', '2'); INSERT INTO fmtKNOWLEDGEBASEMAPPINGS (m_key,m_value,id_fmtKNOWLEDGEBASES) VALUES ('Image Vis. Comput.','Image Vis. Comput.', '2'); INSERT INTO fmtKNOWLEDGEBASEMAPPINGS (m_key,m_value,id_fmtKNOWLEDGEBASES) VALUES ('Inform. Forsch. Entwickl.','Inform. Forsch. Entwickl.', '2'); INSERT INTO fmtKNOWLEDGEBASEMAPPINGS (m_key,m_value,id_fmtKNOWLEDGEBASES) VALUES ('Inform. Spektr.','Inform. Spektr.', '2'); INSERT INTO fmtKNOWLEDGEBASEMAPPINGS (m_key,m_value,id_fmtKNOWLEDGEBASES) VALUES ('Infrared Phys. Technol.','Infrared Phys. Technol.', '2'); INSERT INTO fmtKNOWLEDGEBASEMAPPINGS (m_key,m_value,id_fmtKNOWLEDGEBASES) VALUES ('Int. J. Digit. Libr.','Int. J. Digit. Libr.', '2'); INSERT INTO fmtKNOWLEDGEBASEMAPPINGS (m_key,m_value,id_fmtKNOWLEDGEBASES) VALUES ('Int. J. Doc. Anal. Recogn.','Int. J. Doc. Anal. Recogn.', '2'); INSERT INTO fmtKNOWLEDGEBASEMAPPINGS (m_key,m_value,id_fmtKNOWLEDGEBASES) VALUES ('Int. J. Nonlinear Mech.','Int. J. Nonlinear Mech.', '2'); INSERT INTO fmtKNOWLEDGEBASEMAPPINGS (m_key,m_value,id_fmtKNOWLEDGEBASES) VALUES ('Int. J. Softw. Tools Technol. Transf.','Int. J. Softw. Tools Technol. Transf.', '2'); INSERT INTO fmtKNOWLEDGEBASEMAPPINGS (m_key,m_value,id_fmtKNOWLEDGEBASES) VALUES ('Invent. Math.','Invent. Math.', '2'); INSERT INTO fmtKNOWLEDGEBASEMAPPINGS (m_key,m_value,id_fmtKNOWLEDGEBASES) VALUES ('Inverse Probl.','Inverse Probl.', '2'); INSERT INTO fmtKNOWLEDGEBASEMAPPINGS (m_key,m_value,id_fmtKNOWLEDGEBASES) VALUES ('J. Acoust. Soc. Am.','J. Acoust. Soc. Am.', '2'); INSERT INTO fmtKNOWLEDGEBASEMAPPINGS (m_key,m_value,id_fmtKNOWLEDGEBASES) VALUES ('J. Aerosp. Eng.','J. Aerosp. Eng.', '2'); INSERT INTO fmtKNOWLEDGEBASEMAPPINGS (m_key,m_value,id_fmtKNOWLEDGEBASES) VALUES ('J. Alloys. Compounds','J. Alloys. Compounds', '2'); INSERT INTO fmtKNOWLEDGEBASEMAPPINGS (m_key,m_value,id_fmtKNOWLEDGEBASES) VALUES ('J. Am. Assoc. Var. Star Obs.','J. Am. Assoc. Var. Star Obs.', '2'); INSERT INTO fmtKNOWLEDGEBASEMAPPINGS (m_key,m_value,id_fmtKNOWLEDGEBASES) VALUES ('J. Appl. Mech.','J. Appl. Mech.', '2'); INSERT INTO fmtKNOWLEDGEBASEMAPPINGS (m_key,m_value,id_fmtKNOWLEDGEBASES) VALUES ('J. Appl. Phys.','J. Appl. Phys.', '2'); INSERT INTO fmtKNOWLEDGEBASEMAPPINGS (m_key,m_value,id_fmtKNOWLEDGEBASES) VALUES ('J. Atmos. Solar Terrest. Phys.','J. Atmos. Solar Terrest. Phys.', '2'); INSERT INTO fmtKNOWLEDGEBASEMAPPINGS (m_key,m_value,id_fmtKNOWLEDGEBASES) VALUES ('J. Br. Astron. Assoc.','J. Br. Astron. Assoc.', '2'); INSERT INTO fmtKNOWLEDGEBASEMAPPINGS (m_key,m_value,id_fmtKNOWLEDGEBASES) VALUES ('J. Chem. Phys.','J. Chem. Phys.', '2'); INSERT INTO fmtKNOWLEDGEBASEMAPPINGS (m_key,m_value,id_fmtKNOWLEDGEBASES) VALUES ('J. Classif.','J. Classif.', '2'); INSERT INTO fmtKNOWLEDGEBASEMAPPINGS (m_key,m_value,id_fmtKNOWLEDGEBASES) VALUES ('J. Comput. Inf. Sci. Eng.','J. Comput. Inf. Sci. Eng.', '2'); INSERT INTO fmtKNOWLEDGEBASEMAPPINGS (m_key,m_value,id_fmtKNOWLEDGEBASES) VALUES ('J. Constr. Eng. Manage.','J. Constr. Eng. Manage.', '2'); INSERT INTO fmtKNOWLEDGEBASEMAPPINGS (m_key,m_value,id_fmtKNOWLEDGEBASES) VALUES ('J. Cryptol.','J. Cryptol.', '2'); INSERT INTO fmtKNOWLEDGEBASEMAPPINGS (m_key,m_value,id_fmtKNOWLEDGEBASES) VALUES ('J. Cryst. Growth','J. Cryst. Growth', '2'); INSERT INTO fmtKNOWLEDGEBASEMAPPINGS (m_key,m_value,id_fmtKNOWLEDGEBASES) VALUES ('J. Dyn. Syst. Meas. Control','J. Dyn. Syst. Meas. Control', '2'); INSERT INTO fmtKNOWLEDGEBASEMAPPINGS (m_key,m_value,id_fmtKNOWLEDGEBASES) VALUES ('J. Electrochem. Soc.','J. Electrochem. Soc.', '2'); INSERT INTO fmtKNOWLEDGEBASEMAPPINGS (m_key,m_value,id_fmtKNOWLEDGEBASES) VALUES ('J. Electron Spectrosc. Relat. Phen.','J. Electron Spectrosc. Relat. Phen.', '2'); INSERT INTO fmtKNOWLEDGEBASEMAPPINGS (m_key,m_value,id_fmtKNOWLEDGEBASES) VALUES ('J. Electron. Imaging','J. Electron. Imaging', '2'); INSERT INTO fmtKNOWLEDGEBASEMAPPINGS (m_key,m_value,id_fmtKNOWLEDGEBASES) VALUES ('J. Electron. Packag.','J. Electron. Packag.', '2'); INSERT INTO fmtKNOWLEDGEBASEMAPPINGS (m_key,m_value,id_fmtKNOWLEDGEBASES) VALUES ('J. Energy Eng.','J. Energy Eng.', '2'); INSERT INTO fmtKNOWLEDGEBASEMAPPINGS (m_key,m_value,id_fmtKNOWLEDGEBASES) VALUES ('J. Energy Resour. Technol.','J. Energy Resour. Technol.', '2'); INSERT INTO fmtKNOWLEDGEBASEMAPPINGS (m_key,m_value,id_fmtKNOWLEDGEBASES) VALUES ('J. Eng. Mater. Technol.','J. Eng. Mater. Technol.', '2'); INSERT INTO fmtKNOWLEDGEBASEMAPPINGS (m_key,m_value,id_fmtKNOWLEDGEBASES) VALUES ('J. Eng. Mech.','J. Eng. Mech.', '2'); INSERT INTO fmtKNOWLEDGEBASEMAPPINGS (m_key,m_value,id_fmtKNOWLEDGEBASES) VALUES ('J. Environ. Eng.','J. Environ. Eng.', '2'); INSERT INTO fmtKNOWLEDGEBASEMAPPINGS (m_key,m_value,id_fmtKNOWLEDGEBASES) VALUES ('J. Exp. Theor. Phys., JETP','J. Exp. Theor. Phys., JETP', '2'); INSERT INTO fmtKNOWLEDGEBASEMAPPINGS (m_key,m_value,id_fmtKNOWLEDGEBASES) VALUES ('J. Fluids Eng.','J. Fluids Eng.', '2'); INSERT INTO fmtKNOWLEDGEBASEMAPPINGS (m_key,m_value,id_fmtKNOWLEDGEBASES) VALUES ('J. Geom. Phys.','J. Geom. Phys.', '2'); INSERT INTO fmtKNOWLEDGEBASEMAPPINGS (m_key,m_value,id_fmtKNOWLEDGEBASES) VALUES ('J. Heat Transf.','J. Heat Transf.', '2'); INSERT INTO fmtKNOWLEDGEBASEMAPPINGS (m_key,m_value,id_fmtKNOWLEDGEBASES) VALUES ('J. High Energy Phys.','J. High Energy Phys.', '2'); INSERT INTO fmtKNOWLEDGEBASEMAPPINGS (m_key,m_value,id_fmtKNOWLEDGEBASES) VALUES ('J. Korean Astron. Soc.','J. Korean Astron. Soc.', '2'); INSERT INTO fmtKNOWLEDGEBASEMAPPINGS (m_key,m_value,id_fmtKNOWLEDGEBASES) VALUES ('J. Lumin.','J. Lumin.', '2'); INSERT INTO fmtKNOWLEDGEBASEMAPPINGS (m_key,m_value,id_fmtKNOWLEDGEBASES) VALUES ('J. Magn. Magn. Mater.','J. Magn. Magn. Mater.', '2'); INSERT INTO fmtKNOWLEDGEBASEMAPPINGS (m_key,m_value,id_fmtKNOWLEDGEBASES) VALUES ('J. Manage. Eng.','J. Manage. Eng.', '2'); INSERT INTO fmtKNOWLEDGEBASEMAPPINGS (m_key,m_value,id_fmtKNOWLEDGEBASES) VALUES ('J. Manuf. Sci. Eng.','J. Manuf. Sci. Eng.', '2'); INSERT INTO fmtKNOWLEDGEBASEMAPPINGS (m_key,m_value,id_fmtKNOWLEDGEBASES) VALUES ('J. Mater. Civ. Eng.','J. Mater. Civ. Eng.', '2'); INSERT INTO fmtKNOWLEDGEBASEMAPPINGS (m_key,m_value,id_fmtKNOWLEDGEBASES) VALUES ('J. Math. Biol.','J. Math. Biol.', '2'); INSERT INTO fmtKNOWLEDGEBASEMAPPINGS (m_key,m_value,id_fmtKNOWLEDGEBASES) VALUES ('J. Math. Phys.','J. Math. Phys.', '2'); INSERT INTO fmtKNOWLEDGEBASEMAPPINGS (m_key,m_value,id_fmtKNOWLEDGEBASES) VALUES ('J. Mech. Des.','J. Mech. Des.', '2'); INSERT INTO fmtKNOWLEDGEBASEMAPPINGS (m_key,m_value,id_fmtKNOWLEDGEBASES) VALUES ('J. Micromech. Microeng.','J. Micromech. Microeng.', '2'); INSERT INTO fmtKNOWLEDGEBASEMAPPINGS (m_key,m_value,id_fmtKNOWLEDGEBASES) VALUES ('J. Opt.','J. Opt.', '2'); INSERT INTO fmtKNOWLEDGEBASEMAPPINGS (m_key,m_value,id_fmtKNOWLEDGEBASES) VALUES ('J. Phys., A','J. Phys., A', '2'); INSERT INTO fmtKNOWLEDGEBASEMAPPINGS (m_key,m_value,id_fmtKNOWLEDGEBASES) VALUES ('J. Phys., B','J. Phys., B', '2'); INSERT INTO fmtKNOWLEDGEBASEMAPPINGS (m_key,m_value,id_fmtKNOWLEDGEBASES) VALUES ('J. Phys., Condens. Matter','J. Phys., Condens. Matter', '2'); INSERT INTO fmtKNOWLEDGEBASEMAPPINGS (m_key,m_value,id_fmtKNOWLEDGEBASES) VALUES ('J. Phys., D','J. Phys., D', '2'); INSERT INTO fmtKNOWLEDGEBASEMAPPINGS (m_key,m_value,id_fmtKNOWLEDGEBASES) VALUES ('J. Phys., G','J. Phys., G', '2'); INSERT INTO fmtKNOWLEDGEBASEMAPPINGS (m_key,m_value,id_fmtKNOWLEDGEBASES) VALUES ('J. Phys. I','J. Phys. I', '2'); INSERT INTO fmtKNOWLEDGEBASEMAPPINGS (m_key,m_value,id_fmtKNOWLEDGEBASES) VALUES ('J. Phys. II','J. Phys. II', '2'); INSERT INTO fmtKNOWLEDGEBASEMAPPINGS (m_key,m_value,id_fmtKNOWLEDGEBASES) VALUES ('J. Phys. III','J. Phys. III', '2'); INSERT INTO fmtKNOWLEDGEBASEMAPPINGS (m_key,m_value,id_fmtKNOWLEDGEBASES) VALUES ('J. Phys. Chem. Ref. Data','J. Phys. Chem. Ref. Data', '2'); INSERT INTO fmtKNOWLEDGEBASEMAPPINGS (m_key,m_value,id_fmtKNOWLEDGEBASES) VALUES ('J. Phys. Chem. Solids','J. Phys. Chem. Solids', '2'); INSERT INTO fmtKNOWLEDGEBASEMAPPINGS (m_key,m_value,id_fmtKNOWLEDGEBASES) VALUES ('J. Quant. Spectrosc. Radiat. Transf.','J. Quant. Spectrosc. Radiat. Transf.', '2'); INSERT INTO fmtKNOWLEDGEBASEMAPPINGS (m_key,m_value,id_fmtKNOWLEDGEBASES) VALUES ('J. R. Astron. Soc. Can.','J. R. Astron. Soc. Can.', '2'); INSERT INTO fmtKNOWLEDGEBASEMAPPINGS (m_key,m_value,id_fmtKNOWLEDGEBASES) VALUES ('J. Radio. Prot.','J. Radio. Prot.', '2'); INSERT INTO fmtKNOWLEDGEBASEMAPPINGS (m_key,m_value,id_fmtKNOWLEDGEBASES) VALUES ('J. Rheol.','J. Rheol.', '2'); INSERT INTO fmtKNOWLEDGEBASEMAPPINGS (m_key,m_value,id_fmtKNOWLEDGEBASES) VALUES ('J. Solar Energy Eng.','J. Solar Energy Eng.', '2'); INSERT INTO fmtKNOWLEDGEBASEMAPPINGS (m_key,m_value,id_fmtKNOWLEDGEBASES) VALUES ('J. Solid State Electrochem.','J. Solid State Electrochem.', '2'); INSERT INTO fmtKNOWLEDGEBASEMAPPINGS (m_key,m_value,id_fmtKNOWLEDGEBASES) VALUES ('J. Struct. Eng.','J. Struct. Eng.', '2'); INSERT INTO fmtKNOWLEDGEBASEMAPPINGS (m_key,m_value,id_fmtKNOWLEDGEBASES) VALUES ('J. Surv. Eng.','J. Surv. Eng.', '2'); INSERT INTO fmtKNOWLEDGEBASEMAPPINGS (m_key,m_value,id_fmtKNOWLEDGEBASES) VALUES ('J. Tribol.','J. Tribol.', '2'); INSERT INTO fmtKNOWLEDGEBASEMAPPINGS (m_key,m_value,id_fmtKNOWLEDGEBASES) VALUES ('J. Turbomach.','J. Turbomach.', '2'); INSERT INTO fmtKNOWLEDGEBASEMAPPINGS (m_key,m_value,id_fmtKNOWLEDGEBASES) VALUES ('J. Vac. Sci. Technol.','J. Vac. Sci. Technol.', '2'); INSERT INTO fmtKNOWLEDGEBASEMAPPINGS (m_key,m_value,id_fmtKNOWLEDGEBASES) VALUES ('J. Vac. Sci. Technol., A','J. Vac. Sci. Technol., A', '2'); INSERT INTO fmtKNOWLEDGEBASEMAPPINGS (m_key,m_value,id_fmtKNOWLEDGEBASES) VALUES ('J. Vac. Sci. Technol., B','J. Vac. Sci. Technol., B', '2'); INSERT INTO fmtKNOWLEDGEBASEMAPPINGS (m_key,m_value,id_fmtKNOWLEDGEBASES) VALUES ('J. Vib. Acoust.','J. Vib. Acoust.', '2'); INSERT INTO fmtKNOWLEDGEBASEMAPPINGS (m_key,m_value,id_fmtKNOWLEDGEBASES) VALUES ('JETP','JETP', '2'); INSERT INTO fmtKNOWLEDGEBASEMAPPINGS (m_key,m_value,id_fmtKNOWLEDGEBASES) VALUES ('JETP Lett.','JETP Lett.', '2'); INSERT INTO fmtKNOWLEDGEBASEMAPPINGS (m_key,m_value,id_fmtKNOWLEDGEBASES) VALUES ('Low Temp. Phys.','Low Temp. Phys.', '2'); INSERT INTO fmtKNOWLEDGEBASEMAPPINGS (m_key,m_value,id_fmtKNOWLEDGEBASES) VALUES ('Mach. Vis. Appl.','Mach. Vis. Appl.', '2'); INSERT INTO fmtKNOWLEDGEBASEMAPPINGS (m_key,m_value,id_fmtKNOWLEDGEBASES) VALUES ('Mater. Res. Innov.','Mater. Res. Innov.', '2'); INSERT INTO fmtKNOWLEDGEBASEMAPPINGS (m_key,m_value,id_fmtKNOWLEDGEBASES) VALUES ('Mater. Sci. Eng., B','Mater. Sci. Eng., B', '2'); INSERT INTO fmtKNOWLEDGEBASEMAPPINGS (m_key,m_value,id_fmtKNOWLEDGEBASES) VALUES ('Math. Ann.','Math. Ann.', '2'); INSERT INTO fmtKNOWLEDGEBASEMAPPINGS (m_key,m_value,id_fmtKNOWLEDGEBASES) VALUES ('Math. Model. Numer. Anal.','Math. Model. Numer. Anal.', '2'); INSERT INTO fmtKNOWLEDGEBASEMAPPINGS (m_key,m_value,id_fmtKNOWLEDGEBASES) VALUES ('Math. Program.','Math. Program.', '2'); INSERT INTO fmtKNOWLEDGEBASEMAPPINGS (m_key,m_value,id_fmtKNOWLEDGEBASES) VALUES ('Math. Z.','Math. Z.', '2'); INSERT INTO fmtKNOWLEDGEBASEMAPPINGS (m_key,m_value,id_fmtKNOWLEDGEBASES) VALUES ('Meas. Sci. Technol.','Meas. Sci. Technol.', '2'); INSERT INTO fmtKNOWLEDGEBASEMAPPINGS (m_key,m_value,id_fmtKNOWLEDGEBASES) VALUES ('Med. Phys.','Med. Phys.', '2'); INSERT INTO fmtKNOWLEDGEBASEMAPPINGS (m_key,m_value,id_fmtKNOWLEDGEBASES) VALUES ('Meteorit. Planet. Sci.','Meteorit. Planet. Sci.', '2'); INSERT INTO fmtKNOWLEDGEBASEMAPPINGS (m_key,m_value,id_fmtKNOWLEDGEBASES) VALUES ('Microelectron. Eng.','Microelectron. Eng.', '2'); INSERT INTO fmtKNOWLEDGEBASEMAPPINGS (m_key,m_value,id_fmtKNOWLEDGEBASES) VALUES ('Micron','Micron', '2'); INSERT INTO fmtKNOWLEDGEBASEMAPPINGS (m_key,m_value,id_fmtKNOWLEDGEBASES) VALUES ('Microsc. Microanal.','Microsc. Microanal.', '2'); INSERT INTO fmtKNOWLEDGEBASEMAPPINGS (m_key,m_value,id_fmtKNOWLEDGEBASES) VALUES ('Microsyst. Technol.','Microsyst. Technol.', '2'); INSERT INTO fmtKNOWLEDGEBASEMAPPINGS (m_key,m_value,id_fmtKNOWLEDGEBASES) VALUES ('Mon. Not. R. Astron. Soc.','Mon. Not. R. Astron. Soc.', '2'); INSERT INTO fmtKNOWLEDGEBASEMAPPINGS (m_key,m_value,id_fmtKNOWLEDGEBASES) VALUES ('Multim. Syst.','Multim. Syst.', '2'); INSERT INTO fmtKNOWLEDGEBASEMAPPINGS (m_key,m_value,id_fmtKNOWLEDGEBASES) VALUES ('Nanotech.','Nanotech.', '2'); INSERT INTO fmtKNOWLEDGEBASEMAPPINGS (m_key,m_value,id_fmtKNOWLEDGEBASES) VALUES ('Naturwiss.','Naturwiss.', '2'); INSERT INTO fmtKNOWLEDGEBASEMAPPINGS (m_key,m_value,id_fmtKNOWLEDGEBASES) VALUES ('Network','Network', '2'); INSERT INTO fmtKNOWLEDGEBASEMAPPINGS (m_key,m_value,id_fmtKNOWLEDGEBASES) VALUES ('New Astron.','New Astron.', '2'); INSERT INTO fmtKNOWLEDGEBASEMAPPINGS (m_key,m_value,id_fmtKNOWLEDGEBASES) VALUES ('New Astron. Rev.','New Astron. Rev.', '2'); INSERT INTO fmtKNOWLEDGEBASEMAPPINGS (m_key,m_value,id_fmtKNOWLEDGEBASES) VALUES ('Nonlinearity','Nonlinearity', '2'); INSERT INTO fmtKNOWLEDGEBASEMAPPINGS (m_key,m_value,id_fmtKNOWLEDGEBASES) VALUES ('Nucl. Instrum. Methods Phys. Res., A','Nucl. Instrum. Methods Phys. Res., A', '2'); INSERT INTO fmtKNOWLEDGEBASEMAPPINGS (m_key,m_value,id_fmtKNOWLEDGEBASES) VALUES ('Nucl. Instrum. Methods Phys. Res., B','Nucl. Instrum. Methods Phys. Res., B', '2'); INSERT INTO fmtKNOWLEDGEBASEMAPPINGS (m_key,m_value,id_fmtKNOWLEDGEBASES) VALUES ('Nucl. Phys. B, Proc. Suppl.','Nucl. Phys. B, Proc. Suppl.', '2'); INSERT INTO fmtKNOWLEDGEBASEMAPPINGS (m_key,m_value,id_fmtKNOWLEDGEBASES) VALUES ('Nucl. Phys., A','Nucl. Phys., A', '2'); INSERT INTO fmtKNOWLEDGEBASEMAPPINGS (m_key,m_value,id_fmtKNOWLEDGEBASES) VALUES ('Nucl. Phys., B','Nucl. Phys., B', '2'); INSERT INTO fmtKNOWLEDGEBASEMAPPINGS (m_key,m_value,id_fmtKNOWLEDGEBASES) VALUES ('Num. Math.','Num. Math.', '2'); INSERT INTO fmtKNOWLEDGEBASEMAPPINGS (m_key,m_value,id_fmtKNOWLEDGEBASES) VALUES ('Nuovo Cimento, A','Nuovo Cimento, A', '2'); INSERT INTO fmtKNOWLEDGEBASEMAPPINGS (m_key,m_value,id_fmtKNOWLEDGEBASES) VALUES ('Nuovo Cimento, B','Nuovo Cimento, B', '2'); INSERT INTO fmtKNOWLEDGEBASEMAPPINGS (m_key,m_value,id_fmtKNOWLEDGEBASES) VALUES ('Nuovo Cimento, C','Nuovo Cimento, C', '2'); INSERT INTO fmtKNOWLEDGEBASEMAPPINGS (m_key,m_value,id_fmtKNOWLEDGEBASES) VALUES ('Nuovo Cimento, D','Nuovo Cimento, D', '2'); INSERT INTO fmtKNOWLEDGEBASEMAPPINGS (m_key,m_value,id_fmtKNOWLEDGEBASES) VALUES ('Obs.','Obs.', '2'); INSERT INTO fmtKNOWLEDGEBASEMAPPINGS (m_key,m_value,id_fmtKNOWLEDGEBASES) VALUES ('Opt. Commun.','Opt. Commun.', '2'); INSERT INTO fmtKNOWLEDGEBASEMAPPINGS (m_key,m_value,id_fmtKNOWLEDGEBASES) VALUES ('Opt. Eng.','Opt. Eng.', '2'); INSERT INTO fmtKNOWLEDGEBASEMAPPINGS (m_key,m_value,id_fmtKNOWLEDGEBASES) VALUES ('Opt. Lasers Eng.','Opt. Lasers Eng.', '2'); INSERT INTO fmtKNOWLEDGEBASEMAPPINGS (m_key,m_value,id_fmtKNOWLEDGEBASES) VALUES ('Opt. Mater.','Opt. Mater.', '2'); INSERT INTO fmtKNOWLEDGEBASEMAPPINGS (m_key,m_value,id_fmtKNOWLEDGEBASES) VALUES ('Opt. Spectrosc.','Opt. Spectrosc.', '2'); INSERT INTO fmtKNOWLEDGEBASEMAPPINGS (m_key,m_value,id_fmtKNOWLEDGEBASES) VALUES ('Phys. At. Nucl.','Phys. At. Nucl.', '2'); INSERT INTO fmtKNOWLEDGEBASEMAPPINGS (m_key,m_value,id_fmtKNOWLEDGEBASES) VALUES ('Phys. Chem. Miner.','Phys. Chem. Miner.', '2'); INSERT INTO fmtKNOWLEDGEBASEMAPPINGS (m_key,m_value,id_fmtKNOWLEDGEBASES) VALUES ('Phys. Educ.','Phys. Educ.', '2'); INSERT INTO fmtKNOWLEDGEBASEMAPPINGS (m_key,m_value,id_fmtKNOWLEDGEBASES) VALUES ('Phys. Fluids','Phys. Fluids', '2'); INSERT INTO fmtKNOWLEDGEBASEMAPPINGS (m_key,m_value,id_fmtKNOWLEDGEBASES) VALUES ('Phys. Fluids, A','Phys. Fluids, A', '2'); INSERT INTO fmtKNOWLEDGEBASEMAPPINGS (m_key,m_value,id_fmtKNOWLEDGEBASES) VALUES ('Phys. Fluids, B','Phys. Fluids, B', '2'); INSERT INTO fmtKNOWLEDGEBASEMAPPINGS (m_key,m_value,id_fmtKNOWLEDGEBASES) VALUES ('Phys. Lett., A','Phys. Lett., A', '2'); INSERT INTO fmtKNOWLEDGEBASEMAPPINGS (m_key,m_value,id_fmtKNOWLEDGEBASES) VALUES ('Phys. Lett., B','Phys. Lett., B', '2'); INSERT INTO fmtKNOWLEDGEBASEMAPPINGS (m_key,m_value,id_fmtKNOWLEDGEBASES) VALUES ('Phys. Med. Biol.','Phys. Med. Biol.', '2'); INSERT INTO fmtKNOWLEDGEBASEMAPPINGS (m_key,m_value,id_fmtKNOWLEDGEBASES) VALUES ('Phys. Part. Nucl.','Phys. Part. Nucl.', '2'); INSERT INTO fmtKNOWLEDGEBASEMAPPINGS (m_key,m_value,id_fmtKNOWLEDGEBASES) VALUES ('Phys. Plasmas','Phys. Plasmas', '2'); INSERT INTO fmtKNOWLEDGEBASEMAPPINGS (m_key,m_value,id_fmtKNOWLEDGEBASES) VALUES ('Phys. Rep.','Phys. Rep.', '2'); INSERT INTO fmtKNOWLEDGEBASEMAPPINGS (m_key,m_value,id_fmtKNOWLEDGEBASES) VALUES ('Phys. Rev., A','Phys. Rev., A', '2'); INSERT INTO fmtKNOWLEDGEBASEMAPPINGS (m_key,m_value,id_fmtKNOWLEDGEBASES) VALUES ('Phys. Rev., B','Phys. Rev., B', '2'); INSERT INTO fmtKNOWLEDGEBASEMAPPINGS (m_key,m_value,id_fmtKNOWLEDGEBASES) VALUES ('Phys. Rev., C','Phys. Rev., C', '2'); INSERT INTO fmtKNOWLEDGEBASEMAPPINGS (m_key,m_value,id_fmtKNOWLEDGEBASES) VALUES ('Phys. Rev., D','Phys. Rev., D', '2'); INSERT INTO fmtKNOWLEDGEBASEMAPPINGS (m_key,m_value,id_fmtKNOWLEDGEBASES) VALUES ('Phys. Rev., E','Phys. Rev., E', '2'); INSERT INTO fmtKNOWLEDGEBASEMAPPINGS (m_key,m_value,id_fmtKNOWLEDGEBASES) VALUES ('Phys. Rev., ser. 1','Phys. Rev., ser. 1', '2'); INSERT INTO fmtKNOWLEDGEBASEMAPPINGS (m_key,m_value,id_fmtKNOWLEDGEBASES) VALUES ('Phys. Rev. Lett.','Phys. Rev. Lett.', '2'); INSERT INTO fmtKNOWLEDGEBASEMAPPINGS (m_key,m_value,id_fmtKNOWLEDGEBASES) VALUES ('Phys. Rev. Spec. Top. Accel. Beams','Phys. Rev. Spec. Top. Accel. Beams', '2'); INSERT INTO fmtKNOWLEDGEBASEMAPPINGS (m_key,m_value,id_fmtKNOWLEDGEBASES) VALUES ('Phys. Rev.','Phys. Rev.', '2'); INSERT INTO fmtKNOWLEDGEBASEMAPPINGS (m_key,m_value,id_fmtKNOWLEDGEBASES) VALUES ('Phys. Solid State','Phys. Solid State', '2'); INSERT INTO fmtKNOWLEDGEBASEMAPPINGS (m_key,m_value,id_fmtKNOWLEDGEBASES) VALUES ('Physica, A','Physica, A', '2'); INSERT INTO fmtKNOWLEDGEBASEMAPPINGS (m_key,m_value,id_fmtKNOWLEDGEBASES) VALUES ('Physica, B','Physica, B', '2'); INSERT INTO fmtKNOWLEDGEBASEMAPPINGS (m_key,m_value,id_fmtKNOWLEDGEBASES) VALUES ('Physica, C','Physica, C', '2'); INSERT INTO fmtKNOWLEDGEBASEMAPPINGS (m_key,m_value,id_fmtKNOWLEDGEBASES) VALUES ('Physica, D','Physica, D', '2'); INSERT INTO fmtKNOWLEDGEBASEMAPPINGS (m_key,m_value,id_fmtKNOWLEDGEBASES) VALUES ('Physica, E','Physica, E', '2'); INSERT INTO fmtKNOWLEDGEBASEMAPPINGS (m_key,m_value,id_fmtKNOWLEDGEBASES) VALUES ('Physiol. Meas.','Physiol. Meas.', '2'); INSERT INTO fmtKNOWLEDGEBASEMAPPINGS (m_key,m_value,id_fmtKNOWLEDGEBASES) VALUES ('Planet. Space Sci.','Planet. Space Sci.', '2'); INSERT INTO fmtKNOWLEDGEBASEMAPPINGS (m_key,m_value,id_fmtKNOWLEDGEBASES) VALUES ('Plasma Phys. Control. Fusion','Plasma Phys. Control. Fusion', '2'); INSERT INTO fmtKNOWLEDGEBASEMAPPINGS (m_key,m_value,id_fmtKNOWLEDGEBASES) VALUES ('Plasma Phys. Rep.','Plasma Phys. Rep.', '2'); INSERT INTO fmtKNOWLEDGEBASEMAPPINGS (m_key,m_value,id_fmtKNOWLEDGEBASES) VALUES ('Plasma Sources Sci. Technol.','Plasma Sources Sci. Technol.', '2'); INSERT INTO fmtKNOWLEDGEBASEMAPPINGS (m_key,m_value,id_fmtKNOWLEDGEBASES) VALUES ('Polym. Bull.','Polym. Bull.', '2'); INSERT INTO fmtKNOWLEDGEBASEMAPPINGS (m_key,m_value,id_fmtKNOWLEDGEBASES) VALUES ('Powder Diffraction','Powder Diffraction', '2'); INSERT INTO fmtKNOWLEDGEBASEMAPPINGS (m_key,m_value,id_fmtKNOWLEDGEBASES) VALUES ('Probab. Theory Relat. Fields','Probab. Theory Relat. Fields', '2'); INSERT INTO fmtKNOWLEDGEBASEMAPPINGS (m_key,m_value,id_fmtKNOWLEDGEBASES) VALUES ('Proc. Astron. Soc. Aust.','Proc. Astron. Soc. Aust.', '2'); INSERT INTO fmtKNOWLEDGEBASEMAPPINGS (m_key,m_value,id_fmtKNOWLEDGEBASES) VALUES ('Proc. Nat. Acad. Sci.','Proc. Nat. Acad. Sci.', '2'); INSERT INTO fmtKNOWLEDGEBASEMAPPINGS (m_key,m_value,id_fmtKNOWLEDGEBASES) VALUES ('Prog. Cryst. Growth Charact. Mat.','Prog. Cryst. Growth Charact. Mat.', '2'); INSERT INTO fmtKNOWLEDGEBASEMAPPINGS (m_key,m_value,id_fmtKNOWLEDGEBASES) VALUES ('Prog. Part. Nucl. Phys.','Prog. Part. Nucl. Phys.', '2'); INSERT INTO fmtKNOWLEDGEBASEMAPPINGS (m_key,m_value,id_fmtKNOWLEDGEBASES) VALUES ('Prog. Quantum Electron.','Prog. Quantum Electron.', '2'); INSERT INTO fmtKNOWLEDGEBASEMAPPINGS (m_key,m_value,id_fmtKNOWLEDGEBASES) VALUES ('Prog. Surf. Sci.','Prog. Surf. Sci.', '2'); INSERT INTO fmtKNOWLEDGEBASEMAPPINGS (m_key,m_value,id_fmtKNOWLEDGEBASES) VALUES ('Program','Program', '2'); INSERT INTO fmtKNOWLEDGEBASEMAPPINGS (m_key,m_value,id_fmtKNOWLEDGEBASES) VALUES ('Publ. Astron. Soc. Aust.','Publ. Astron. Soc. Aust.', '2'); INSERT INTO fmtKNOWLEDGEBASEMAPPINGS (m_key,m_value,id_fmtKNOWLEDGEBASES) VALUES ('Publ. Astron. Soc. Jpn.','Publ. Astron. Soc. Jpn.', '2'); INSERT INTO fmtKNOWLEDGEBASEMAPPINGS (m_key,m_value,id_fmtKNOWLEDGEBASES) VALUES ('Publ. Astron. Soc. Pac.','Publ. Astron. Soc. Pac.', '2'); INSERT INTO fmtKNOWLEDGEBASEMAPPINGS (m_key,m_value,id_fmtKNOWLEDGEBASES) VALUES ('Publ. Underst. Sci.','Publ. Underst. Sci.', '2'); INSERT INTO fmtKNOWLEDGEBASEMAPPINGS (m_key,m_value,id_fmtKNOWLEDGEBASES) VALUES ('Pure Appl. Opt.: J. Eur. Opt. Soc. P. A','Pure Appl. Opt.: J. Eur. Opt. Soc. P. A', '2'); INSERT INTO fmtKNOWLEDGEBASEMAPPINGS (m_key,m_value,id_fmtKNOWLEDGEBASES) VALUES ('Quantum Semiclass. Opt.: J. Eur. Opt. Soc. P. B','Quantum Semiclass. Opt.: J. Eur. Opt. Soc. P. B', '2'); INSERT INTO fmtKNOWLEDGEBASEMAPPINGS (m_key,m_value,id_fmtKNOWLEDGEBASES) VALUES ('Radiat. Environ. Biophys.','Radiat. Environ. Biophys.', '2'); INSERT INTO fmtKNOWLEDGEBASEMAPPINGS (m_key,m_value,id_fmtKNOWLEDGEBASES) VALUES ('Radiat. Meas.','Radiat. Meas.', '2'); INSERT INTO fmtKNOWLEDGEBASEMAPPINGS (m_key,m_value,id_fmtKNOWLEDGEBASES) VALUES ('Radiat. Phys. Chem.','Radiat. Phys. Chem.', '2'); INSERT INTO fmtKNOWLEDGEBASEMAPPINGS (m_key,m_value,id_fmtKNOWLEDGEBASES) VALUES ('Radiologe','Radiologe', '2'); INSERT INTO fmtKNOWLEDGEBASEMAPPINGS (m_key,m_value,id_fmtKNOWLEDGEBASES) VALUES ('Radioprotection','Radioprotection', '2'); INSERT INTO fmtKNOWLEDGEBASEMAPPINGS (m_key,m_value,id_fmtKNOWLEDGEBASES) VALUES ('Rep. Math. Phys.','Rep. Math. Phys.', '2'); INSERT INTO fmtKNOWLEDGEBASEMAPPINGS (m_key,m_value,id_fmtKNOWLEDGEBASES) VALUES ('Rep. Prog. Phys.','Rep. Prog. Phys.', '2'); INSERT INTO fmtKNOWLEDGEBASEMAPPINGS (m_key,m_value,id_fmtKNOWLEDGEBASES) VALUES ('Res. Exp. Med.','Res. Exp. Med.', '2'); INSERT INTO fmtKNOWLEDGEBASEMAPPINGS (m_key,m_value,id_fmtKNOWLEDGEBASES) VALUES ('Rev. Mex. Astron. Astrofis.','Rev. Mex. Astron. Astrofis.', '2'); INSERT INTO fmtKNOWLEDGEBASEMAPPINGS (m_key,m_value,id_fmtKNOWLEDGEBASES) VALUES ('Rev. Mod. Phys.','Rev. Mod. Phys.', '2'); INSERT INTO fmtKNOWLEDGEBASEMAPPINGS (m_key,m_value,id_fmtKNOWLEDGEBASES) VALUES ('Rev. Sci. Instrum.','Rev. Sci. Instrum.', '2'); INSERT INTO fmtKNOWLEDGEBASEMAPPINGS (m_key,m_value,id_fmtKNOWLEDGEBASES) VALUES ('Sel. Math., New Ser.','Sel. Math., New Ser.', '2'); INSERT INTO fmtKNOWLEDGEBASEMAPPINGS (m_key,m_value,id_fmtKNOWLEDGEBASES) VALUES ('Semicond.','Semicond.', '2'); INSERT INTO fmtKNOWLEDGEBASEMAPPINGS (m_key,m_value,id_fmtKNOWLEDGEBASES) VALUES ('Semicond. Sci. Technol.','Semicond. Sci. Technol.', '2'); INSERT INTO fmtKNOWLEDGEBASEMAPPINGS (m_key,m_value,id_fmtKNOWLEDGEBASES) VALUES ('Shock Waves','Shock Waves', '2'); INSERT INTO fmtKNOWLEDGEBASEMAPPINGS (m_key,m_value,id_fmtKNOWLEDGEBASES) VALUES ('SIAM J. Appl. Math.','SIAM J. Appl. Math.', '2'); INSERT INTO fmtKNOWLEDGEBASEMAPPINGS (m_key,m_value,id_fmtKNOWLEDGEBASES) VALUES ('SIAM J. Comput.','SIAM J. Comput.', '2'); INSERT INTO fmtKNOWLEDGEBASEMAPPINGS (m_key,m_value,id_fmtKNOWLEDGEBASES) VALUES ('SIAM J. Math. Anal.','SIAM J. Math. Anal.', '2'); INSERT INTO fmtKNOWLEDGEBASEMAPPINGS (m_key,m_value,id_fmtKNOWLEDGEBASES) VALUES ('SIAM J. Numer. Anal.','SIAM J. Numer. Anal.', '2'); INSERT INTO fmtKNOWLEDGEBASEMAPPINGS (m_key,m_value,id_fmtKNOWLEDGEBASES) VALUES ('SIAM J. Optim.','SIAM J. Optim.', '2'); INSERT INTO fmtKNOWLEDGEBASEMAPPINGS (m_key,m_value,id_fmtKNOWLEDGEBASES) VALUES ('SIAM Rev.','SIAM Rev.', '2'); INSERT INTO fmtKNOWLEDGEBASEMAPPINGS (m_key,m_value,id_fmtKNOWLEDGEBASES) VALUES ('Smart Mat. Struct.','Smart Mat. Struct.', '2'); INSERT INTO fmtKNOWLEDGEBASEMAPPINGS (m_key,m_value,id_fmtKNOWLEDGEBASES) VALUES ('Soft Comput.','Soft Comput.', '2'); INSERT INTO fmtKNOWLEDGEBASEMAPPINGS (m_key,m_value,id_fmtKNOWLEDGEBASES) VALUES ('Softw. Concepts Tools','Softw. Concepts Tools', '2'); INSERT INTO fmtKNOWLEDGEBASEMAPPINGS (m_key,m_value,id_fmtKNOWLEDGEBASES) VALUES ('Solar Phys.','Solar Phys.', '2'); INSERT INTO fmtKNOWLEDGEBASEMAPPINGS (m_key,m_value,id_fmtKNOWLEDGEBASES) VALUES ('Solid State Commun.','Solid State Commun.', '2'); INSERT INTO fmtKNOWLEDGEBASEMAPPINGS (m_key,m_value,id_fmtKNOWLEDGEBASES) VALUES ('Solid State Electron.','Solid State Electron.', '2'); INSERT INTO fmtKNOWLEDGEBASEMAPPINGS (m_key,m_value,id_fmtKNOWLEDGEBASES) VALUES ('Solid State Ion.','Solid State Ion.', '2'); INSERT INTO fmtKNOWLEDGEBASEMAPPINGS (m_key,m_value,id_fmtKNOWLEDGEBASES) VALUES ('Sov. Astron. Lett.','Sov. Astron. Lett.', '2'); INSERT INTO fmtKNOWLEDGEBASEMAPPINGS (m_key,m_value,id_fmtKNOWLEDGEBASES) VALUES ('Superconductor Science and Technology','Superconductor Science and Technology', '2'); INSERT INTO fmtKNOWLEDGEBASEMAPPINGS (m_key,m_value,id_fmtKNOWLEDGEBASES) VALUES ('Surf. Coatings Techn.','Surf. Coatings Techn.', '2'); INSERT INTO fmtKNOWLEDGEBASEMAPPINGS (m_key,m_value,id_fmtKNOWLEDGEBASES) VALUES ('Surf. Sci.','Surf. Sci.', '2'); INSERT INTO fmtKNOWLEDGEBASEMAPPINGS (m_key,m_value,id_fmtKNOWLEDGEBASES) VALUES ('Surf. Sci. Rep.','Surf. Sci. Rep.', '2'); INSERT INTO fmtKNOWLEDGEBASEMAPPINGS (m_key,m_value,id_fmtKNOWLEDGEBASES) VALUES ('Surf. Sci. Spectra','Surf. Sci. Spectra', '2'); INSERT INTO fmtKNOWLEDGEBASEMAPPINGS (m_key,m_value,id_fmtKNOWLEDGEBASES) VALUES ('Synth. Metals','Synth. Metals', '2'); INSERT INTO fmtKNOWLEDGEBASEMAPPINGS (m_key,m_value,id_fmtKNOWLEDGEBASES) VALUES ('Syst. Fam.','Syst. Fam.', '2'); INSERT INTO fmtKNOWLEDGEBASEMAPPINGS (m_key,m_value,id_fmtKNOWLEDGEBASES) VALUES ('Tech. Phys.','Tech. Phys.', '2'); INSERT INTO fmtKNOWLEDGEBASEMAPPINGS (m_key,m_value,id_fmtKNOWLEDGEBASES) VALUES ('Tech. Phys. Lett.','Tech. Phys. Lett.', '2'); INSERT INTO fmtKNOWLEDGEBASEMAPPINGS (m_key,m_value,id_fmtKNOWLEDGEBASES) VALUES ('Theor. Comput. Fluid Dyn.','Theor. Comput. Fluid Dyn.', '2'); INSERT INTO fmtKNOWLEDGEBASEMAPPINGS (m_key,m_value,id_fmtKNOWLEDGEBASES) VALUES ('Theory Comput. Syst.','Theory Comput. Syst.', '2'); INSERT INTO fmtKNOWLEDGEBASEMAPPINGS (m_key,m_value,id_fmtKNOWLEDGEBASES) VALUES ('Thin Solid Films','Thin Solid Films', '2'); INSERT INTO fmtKNOWLEDGEBASEMAPPINGS (m_key,m_value,id_fmtKNOWLEDGEBASES) VALUES ('Tribol. Int.','Tribol. Int.', '2'); INSERT INTO fmtKNOWLEDGEBASEMAPPINGS (m_key,m_value,id_fmtKNOWLEDGEBASES) VALUES ('Ultramicroscopy','Ultramicroscopy', '2'); INSERT INTO fmtKNOWLEDGEBASEMAPPINGS (m_key,m_value,id_fmtKNOWLEDGEBASES) VALUES ('Vacuum','Vacuum', '2'); INSERT INTO fmtKNOWLEDGEBASEMAPPINGS (m_key,m_value,id_fmtKNOWLEDGEBASES) VALUES ('VLDB J.','VLDB J.', '2'); INSERT INTO fmtKNOWLEDGEBASEMAPPINGS (m_key,m_value,id_fmtKNOWLEDGEBASES) VALUES ('Virtual J. Nanoscale Sci. Technol.','Virtual J. Nanoscale Sci. Technol.', '2'); INSERT INTO fmtKNOWLEDGEBASEMAPPINGS (m_key,m_value,id_fmtKNOWLEDGEBASES) VALUES ('Virtual J. Biol. Phys. Res.','Virtual J. Biol. Phys. Res.', '2'); INSERT INTO fmtKNOWLEDGEBASEMAPPINGS (m_key,m_value,id_fmtKNOWLEDGEBASES) VALUES ('Vis. Comput.','Vis. Comput.', '2'); INSERT INTO fmtKNOWLEDGEBASEMAPPINGS (m_key,m_value,id_fmtKNOWLEDGEBASES) VALUES ('Wave Motion','Wave Motion', '2'); INSERT INTO fmtKNOWLEDGEBASEMAPPINGS (m_key,m_value,id_fmtKNOWLEDGEBASES) VALUES ('Waves Random Media','Waves Random Media', '2'); INSERT INTO fmtKNOWLEDGEBASEMAPPINGS (m_key,m_value,id_fmtKNOWLEDGEBASES) VALUES ('Wear','Wear', '2'); INSERT INTO fmtKNOWLEDGEBASEMAPPINGS (m_key,m_value,id_fmtKNOWLEDGEBASES) VALUES ('Z. Angew. Math. Phys.','Z. Angew. Math. Phys.', '2'); INSERT INTO fmtKNOWLEDGEBASEMAPPINGS (m_key,m_value,id_fmtKNOWLEDGEBASES) VALUES ('Z. Phys., A','Z. Phys., A', '2'); INSERT INTO fmtKNOWLEDGEBASEMAPPINGS (m_key,m_value,id_fmtKNOWLEDGEBASES) VALUES ('Z. Phys., B','Z. Phys., B', '2'); INSERT INTO fmtKNOWLEDGEBASEMAPPINGS (m_key,m_value,id_fmtKNOWLEDGEBASES) VALUES ('Z. Phys., C','Z. Phys., C', '2'); INSERT INTO fmtKNOWLEDGEBASEMAPPINGS (m_key,m_value,id_fmtKNOWLEDGEBASES) VALUES ('Zphys-e.C','Zphys-e.C', '2'); INSERT INTO fmtKNOWLEDGEBASEMAPPINGS (m_key,m_value,id_fmtKNOWLEDGEBASES) VALUES ('ATLAS eNews','ATLAS eNews', '2'); INSERT INTO fmtKNOWLEDGEBASEMAPPINGS (m_key,m_value,id_fmtKNOWLEDGEBASES) VALUES ('PICTURE','unpublished', '3'); INSERT INTO fmtKNOWLEDGEBASEMAPPINGS (m_key,m_value,id_fmtKNOWLEDGEBASES) VALUES ('PREPRINT','techreport', '3'); INSERT INTO fmtKNOWLEDGEBASEMAPPINGS (m_key,m_value,id_fmtKNOWLEDGEBASES) VALUES ('ARTICLE','article', '3'); INSERT INTO fmtKNOWLEDGEBASEMAPPINGS (m_key,m_value,id_fmtKNOWLEDGEBASES) VALUES ('REPORT','techreport', '3'); INSERT INTO fmtKNOWLEDGEBASEMAPPINGS (m_key,m_value,id_fmtKNOWLEDGEBASES) VALUES ('BOOK','book', '3'); INSERT INTO fmtKNOWLEDGEBASEMAPPINGS (m_key,m_value,id_fmtKNOWLEDGEBASES) VALUES ('THESIS','phdthesis', '3'); INSERT INTO fmtKNOWLEDGEBASEMAPPINGS (m_key,m_value,id_fmtKNOWLEDGEBASES) VALUES ('POETRY','unpublished', '3'); -- switch on stemming for some indexes: UPDATE idxINDEX SET stemming_language='en' WHERE name IN ('global','abstract','keyword','title','fulltext'); +-- exporting demo: +INSERT INTO expJOB (jobname) VALUES ('sitemap'); +INSERT INTO expJOB (jobname) VALUES ('googlescholar'); + -- end of file diff --git a/modules/miscutil/sql/tabcreate.sql b/modules/miscutil/sql/tabcreate.sql index 063557b91..a363b21b1 100644 --- a/modules/miscutil/sql/tabcreate.sql +++ b/modules/miscutil/sql/tabcreate.sql @@ -1,3221 +1,3231 @@ -- $Id$ -- This file is part of CDS Invenio. -- Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007, 2008 CERN. -- -- CDS Invenio is free software; you can redistribute it and/or -- modify it under the terms of the GNU General Public License as -- published by the Free Software Foundation; either version 2 of the -- License, or (at your option) any later version. -- -- CDS Invenio is distributed in the hope that it will be useful, but -- WITHOUT ANY WARRANTY; without even the implied warranty of -- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -- General Public License for more details. -- -- You should have received a copy of the GNU General Public License -- along with CDS Invenio; if not, write to the Free Software Foundation, Inc., -- 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. -- tables for bibliographic records: CREATE TABLE IF NOT EXISTS bibrec ( id mediumint(8) unsigned NOT NULL auto_increment, creation_date datetime NOT NULL default '0000-00-00', modification_date datetime NOT NULL default '0000-00-00', PRIMARY KEY (id), KEY creation_date (creation_date), KEY modification_date (modification_date) ) TYPE=MyISAM; CREATE TABLE IF NOT EXISTS bib00x ( id mediumint(8) unsigned NOT NULL auto_increment, tag varchar(6) NOT NULL default '', value text NOT NULL, PRIMARY KEY (id), KEY kt (tag), KEY kv (value(35)) ) TYPE=MyISAM; CREATE TABLE IF NOT EXISTS bib01x ( id mediumint(8) unsigned NOT NULL auto_increment, tag varchar(6) NOT NULL default '', value text NOT NULL, PRIMARY KEY (id), KEY kt (tag), KEY kv (value(35)) ) TYPE=MyISAM; CREATE TABLE IF NOT EXISTS bib02x ( id mediumint(8) unsigned NOT NULL auto_increment, tag varchar(6) NOT NULL default '', value text NOT NULL, PRIMARY KEY (id), KEY kt (tag), KEY kv (value(35)) ) TYPE=MyISAM; CREATE TABLE IF NOT EXISTS bib03x ( id mediumint(8) unsigned NOT NULL auto_increment, tag varchar(6) NOT NULL default '', value text NOT NULL, PRIMARY KEY (id), KEY kt (tag), KEY kv (value(35)) ) TYPE=MyISAM; CREATE TABLE IF NOT EXISTS bib04x ( id mediumint(8) unsigned NOT NULL auto_increment, tag varchar(6) NOT NULL default '', value text NOT NULL, PRIMARY KEY (id), KEY kt (tag), KEY kv (value(35)) ) TYPE=MyISAM; CREATE TABLE IF NOT EXISTS bib05x ( id mediumint(8) unsigned NOT NULL auto_increment, tag varchar(6) NOT NULL default '', value text NOT NULL, PRIMARY KEY (id), KEY kt (tag), KEY kv (value(35)) ) TYPE=MyISAM; CREATE TABLE IF NOT EXISTS bib06x ( id mediumint(8) unsigned NOT NULL auto_increment, tag varchar(6) NOT NULL default '', value text NOT NULL, PRIMARY KEY (id), KEY kt (tag), KEY kv (value(35)) ) TYPE=MyISAM; CREATE TABLE IF NOT EXISTS bib07x ( id mediumint(8) unsigned NOT NULL auto_increment, tag varchar(6) NOT NULL default '', value text NOT NULL, PRIMARY KEY (id), KEY kt (tag), KEY kv (value(35)) ) TYPE=MyISAM; CREATE TABLE IF NOT EXISTS bib08x ( id mediumint(8) unsigned NOT NULL auto_increment, tag varchar(6) NOT NULL default '', value text NOT NULL, PRIMARY KEY (id), KEY kt (tag), KEY kv (value(35)) ) TYPE=MyISAM; CREATE TABLE IF NOT EXISTS bib09x ( id mediumint(8) unsigned NOT NULL auto_increment, tag varchar(6) NOT NULL default '', value text NOT NULL, PRIMARY KEY (id), KEY kt (tag), KEY kv (value(35)) ) TYPE=MyISAM; CREATE TABLE IF NOT EXISTS bib10x ( id mediumint(8) unsigned NOT NULL auto_increment, tag varchar(6) NOT NULL default '', value text NOT NULL, PRIMARY KEY (id), KEY kt (tag), KEY kv (value(35)) ) TYPE=MyISAM; CREATE TABLE IF NOT EXISTS bib11x ( id mediumint(8) unsigned NOT NULL auto_increment, tag varchar(6) NOT NULL default '', value text NOT NULL, PRIMARY KEY (id), KEY kt (tag), KEY kv (value(35)) ) TYPE=MyISAM; CREATE TABLE IF NOT EXISTS bib12x ( id mediumint(8) unsigned NOT NULL auto_increment, tag varchar(6) NOT NULL default '', value text NOT NULL, PRIMARY KEY (id), KEY kt (tag), KEY kv (value(35)) ) TYPE=MyISAM; CREATE TABLE IF NOT EXISTS bib13x ( id mediumint(8) unsigned NOT NULL auto_increment, tag varchar(6) NOT NULL default '', value text NOT NULL, PRIMARY KEY (id), KEY kt (tag), KEY kv (value(35)) ) TYPE=MyISAM; CREATE TABLE IF NOT EXISTS bib14x ( id mediumint(8) unsigned NOT NULL auto_increment, tag varchar(6) NOT NULL default '', value text NOT NULL, PRIMARY KEY (id), KEY kt (tag), KEY kv (value(35)) ) TYPE=MyISAM; CREATE TABLE IF NOT EXISTS bib15x ( id mediumint(8) unsigned NOT NULL auto_increment, tag varchar(6) NOT NULL default '', value text NOT NULL, PRIMARY KEY (id), KEY kt (tag), KEY kv (value(35)) ) TYPE=MyISAM; CREATE TABLE IF NOT EXISTS bib16x ( id mediumint(8) unsigned NOT NULL auto_increment, tag varchar(6) NOT NULL default '', value text NOT NULL, PRIMARY KEY (id), KEY kt (tag), KEY kv (value(35)) ) TYPE=MyISAM; CREATE TABLE IF NOT EXISTS bib17x ( id mediumint(8) unsigned NOT NULL auto_increment, tag varchar(6) NOT NULL default '', value text NOT NULL, PRIMARY KEY (id), KEY kt (tag), KEY kv (value(35)) ) TYPE=MyISAM; CREATE TABLE IF NOT EXISTS bib18x ( id mediumint(8) unsigned NOT NULL auto_increment, tag varchar(6) NOT NULL default '', value text NOT NULL, PRIMARY KEY (id), KEY kt (tag), KEY kv (value(35)) ) TYPE=MyISAM; CREATE TABLE IF NOT EXISTS bib19x ( id mediumint(8) unsigned NOT NULL auto_increment, tag varchar(6) NOT NULL default '', value text NOT NULL, PRIMARY KEY (id), KEY kt (tag), KEY kv (value(35)) ) TYPE=MyISAM; CREATE TABLE IF NOT EXISTS bib20x ( id mediumint(8) unsigned NOT NULL auto_increment, tag varchar(6) NOT NULL default '', value text NOT NULL, PRIMARY KEY (id), KEY kt (tag), KEY kv (value(35)) ) TYPE=MyISAM; CREATE TABLE IF NOT EXISTS bib21x ( id mediumint(8) unsigned NOT NULL auto_increment, tag varchar(6) NOT NULL default '', value text NOT NULL, PRIMARY KEY (id), KEY kt (tag), KEY kv (value(35)) ) TYPE=MyISAM; CREATE TABLE IF NOT EXISTS bib22x ( id mediumint(8) unsigned NOT NULL auto_increment, tag varchar(6) NOT NULL default '', value text NOT NULL, PRIMARY KEY (id), KEY kt (tag), KEY kv (value(35)) ) TYPE=MyISAM; CREATE TABLE IF NOT EXISTS bib23x ( id mediumint(8) unsigned NOT NULL auto_increment, tag varchar(6) NOT NULL default '', value text NOT NULL, PRIMARY KEY (id), KEY kt (tag), KEY kv (value(35)) ) TYPE=MyISAM; CREATE TABLE IF NOT EXISTS bib24x ( id mediumint(8) unsigned NOT NULL auto_increment, tag varchar(6) NOT NULL default '', value text NOT NULL, PRIMARY KEY (id), KEY kt (tag), KEY kv (value(35)) ) TYPE=MyISAM; CREATE TABLE IF NOT EXISTS bib25x ( id mediumint(8) unsigned NOT NULL auto_increment, tag varchar(6) NOT NULL default '', value text NOT NULL, PRIMARY KEY (id), KEY kt (tag), KEY kv (value(35)) ) TYPE=MyISAM; CREATE TABLE IF NOT EXISTS bib26x ( id mediumint(8) unsigned NOT NULL auto_increment, tag varchar(6) NOT NULL default '', value text NOT NULL, PRIMARY KEY (id), KEY kt (tag), KEY kv (value(35)) ) TYPE=MyISAM; CREATE TABLE IF NOT EXISTS bib27x ( id mediumint(8) unsigned NOT NULL auto_increment, tag varchar(6) NOT NULL default '', value text NOT NULL, PRIMARY KEY (id), KEY kt (tag), KEY kv (value(35)) ) TYPE=MyISAM; CREATE TABLE IF NOT EXISTS bib28x ( id mediumint(8) unsigned NOT NULL auto_increment, tag varchar(6) NOT NULL default '', value text NOT NULL, PRIMARY KEY (id), KEY kt (tag), KEY kv (value(35)) ) TYPE=MyISAM; CREATE TABLE IF NOT EXISTS bib29x ( id mediumint(8) unsigned NOT NULL auto_increment, tag varchar(6) NOT NULL default '', value text NOT NULL, PRIMARY KEY (id), KEY kt (tag), KEY kv (value(35)) ) TYPE=MyISAM; CREATE TABLE IF NOT EXISTS bib30x ( id mediumint(8) unsigned NOT NULL auto_increment, tag varchar(6) NOT NULL default '', value text NOT NULL, PRIMARY KEY (id), KEY kt (tag), KEY kv (value(35)) ) TYPE=MyISAM; CREATE TABLE IF NOT EXISTS bib31x ( id mediumint(8) unsigned NOT NULL auto_increment, tag varchar(6) NOT NULL default '', value text NOT NULL, PRIMARY KEY (id), KEY kt (tag), KEY kv (value(35)) ) TYPE=MyISAM; CREATE TABLE IF NOT EXISTS bib32x ( id mediumint(8) unsigned NOT NULL auto_increment, tag varchar(6) NOT NULL default '', value text NOT NULL, PRIMARY KEY (id), KEY kt (tag), KEY kv (value(35)) ) TYPE=MyISAM; CREATE TABLE IF NOT EXISTS bib33x ( id mediumint(8) unsigned NOT NULL auto_increment, tag varchar(6) NOT NULL default '', value text NOT NULL, PRIMARY KEY (id), KEY kt (tag), KEY kv (value(35)) ) TYPE=MyISAM; CREATE TABLE IF NOT EXISTS bib34x ( id mediumint(8) unsigned NOT NULL auto_increment, tag varchar(6) NOT NULL default '', value text NOT NULL, PRIMARY KEY (id), KEY kt (tag), KEY kv (value(35)) ) TYPE=MyISAM; CREATE TABLE IF NOT EXISTS bib35x ( id mediumint(8) unsigned NOT NULL auto_increment, tag varchar(6) NOT NULL default '', value text NOT NULL, PRIMARY KEY (id), KEY kt (tag), KEY kv (value(35)) ) TYPE=MyISAM; CREATE TABLE IF NOT EXISTS bib36x ( id mediumint(8) unsigned NOT NULL auto_increment, tag varchar(6) NOT NULL default '', value text NOT NULL, PRIMARY KEY (id), KEY kt (tag), KEY kv (value(35)) ) TYPE=MyISAM; CREATE TABLE IF NOT EXISTS bib37x ( id mediumint(8) unsigned NOT NULL auto_increment, tag varchar(6) NOT NULL default '', value text NOT NULL, PRIMARY KEY (id), KEY kt (tag), KEY kv (value(35)) ) TYPE=MyISAM; CREATE TABLE IF NOT EXISTS bib38x ( id mediumint(8) unsigned NOT NULL auto_increment, tag varchar(6) NOT NULL default '', value text NOT NULL, PRIMARY KEY (id), KEY kt (tag), KEY kv (value(35)) ) TYPE=MyISAM; CREATE TABLE IF NOT EXISTS bib39x ( id mediumint(8) unsigned NOT NULL auto_increment, tag varchar(6) NOT NULL default '', value text NOT NULL, PRIMARY KEY (id), KEY kt (tag), KEY kv (value(35)) ) TYPE=MyISAM; CREATE TABLE IF NOT EXISTS bib40x ( id mediumint(8) unsigned NOT NULL auto_increment, tag varchar(6) NOT NULL default '', value text NOT NULL, PRIMARY KEY (id), KEY kt (tag), KEY kv (value(35)) ) TYPE=MyISAM; CREATE TABLE IF NOT EXISTS bib41x ( id mediumint(8) unsigned NOT NULL auto_increment, tag varchar(6) NOT NULL default '', value text NOT NULL, PRIMARY KEY (id), KEY kt (tag), KEY kv (value(35)) ) TYPE=MyISAM; CREATE TABLE IF NOT EXISTS bib42x ( id mediumint(8) unsigned NOT NULL auto_increment, tag varchar(6) NOT NULL default '', value text NOT NULL, PRIMARY KEY (id), KEY kt (tag), KEY kv (value(35)) ) TYPE=MyISAM; CREATE TABLE IF NOT EXISTS bib43x ( id mediumint(8) unsigned NOT NULL auto_increment, tag varchar(6) NOT NULL default '', value text NOT NULL, PRIMARY KEY (id), KEY kt (tag), KEY kv (value(35)) ) TYPE=MyISAM; CREATE TABLE IF NOT EXISTS bib44x ( id mediumint(8) unsigned NOT NULL auto_increment, tag varchar(6) NOT NULL default '', value text NOT NULL, PRIMARY KEY (id), KEY kt (tag), KEY kv (value(35)) ) TYPE=MyISAM; CREATE TABLE IF NOT EXISTS bib45x ( id mediumint(8) unsigned NOT NULL auto_increment, tag varchar(6) NOT NULL default '', value text NOT NULL, PRIMARY KEY (id), KEY kt (tag), KEY kv (value(35)) ) TYPE=MyISAM; CREATE TABLE IF NOT EXISTS bib46x ( id mediumint(8) unsigned NOT NULL auto_increment, tag varchar(6) NOT NULL default '', value text NOT NULL, PRIMARY KEY (id), KEY kt (tag), KEY kv (value(35)) ) TYPE=MyISAM; CREATE TABLE IF NOT EXISTS bib47x ( id mediumint(8) unsigned NOT NULL auto_increment, tag varchar(6) NOT NULL default '', value text NOT NULL, PRIMARY KEY (id), KEY kt (tag), KEY kv (value(35)) ) TYPE=MyISAM; CREATE TABLE IF NOT EXISTS bib48x ( id mediumint(8) unsigned NOT NULL auto_increment, tag varchar(6) NOT NULL default '', value text NOT NULL, PRIMARY KEY (id), KEY kt (tag), KEY kv (value(35)) ) TYPE=MyISAM; CREATE TABLE IF NOT EXISTS bib49x ( id mediumint(8) unsigned NOT NULL auto_increment, tag varchar(6) NOT NULL default '', value text NOT NULL, PRIMARY KEY (id), KEY kt (tag), KEY kv (value(35)) ) TYPE=MyISAM; CREATE TABLE IF NOT EXISTS bib50x ( id mediumint(8) unsigned NOT NULL auto_increment, tag varchar(6) NOT NULL default '', value text NOT NULL, PRIMARY KEY (id), KEY kt (tag), KEY kv (value(35)) ) TYPE=MyISAM; CREATE TABLE IF NOT EXISTS bib51x ( id mediumint(8) unsigned NOT NULL auto_increment, tag varchar(6) NOT NULL default '', value text NOT NULL, PRIMARY KEY (id), KEY kt (tag), KEY kv (value(35)) ) TYPE=MyISAM; CREATE TABLE IF NOT EXISTS bib52x ( id mediumint(8) unsigned NOT NULL auto_increment, tag varchar(6) NOT NULL default '', value text NOT NULL, PRIMARY KEY (id), KEY kt (tag), KEY kv (value(35)) ) TYPE=MyISAM; CREATE TABLE IF NOT EXISTS bib53x ( id mediumint(8) unsigned NOT NULL auto_increment, tag varchar(6) NOT NULL default '', value text NOT NULL, PRIMARY KEY (id), KEY kt (tag), KEY kv (value(35)) ) TYPE=MyISAM; CREATE TABLE IF NOT EXISTS bib54x ( id mediumint(8) unsigned NOT NULL auto_increment, tag varchar(6) NOT NULL default '', value text NOT NULL, PRIMARY KEY (id), KEY kt (tag), KEY kv (value(35)) ) TYPE=MyISAM; CREATE TABLE IF NOT EXISTS bib55x ( id mediumint(8) unsigned NOT NULL auto_increment, tag varchar(6) NOT NULL default '', value text NOT NULL, PRIMARY KEY (id), KEY kt (tag), KEY kv (value(35)) ) TYPE=MyISAM; CREATE TABLE IF NOT EXISTS bib56x ( id mediumint(8) unsigned NOT NULL auto_increment, tag varchar(6) NOT NULL default '', value text NOT NULL, PRIMARY KEY (id), KEY kt (tag), KEY kv (value(35)) ) TYPE=MyISAM; CREATE TABLE IF NOT EXISTS bib57x ( id mediumint(8) unsigned NOT NULL auto_increment, tag varchar(6) NOT NULL default '', value text NOT NULL, PRIMARY KEY (id), KEY kt (tag), KEY kv (value(35)) ) TYPE=MyISAM; CREATE TABLE IF NOT EXISTS bib58x ( id mediumint(8) unsigned NOT NULL auto_increment, tag varchar(6) NOT NULL default '', value text NOT NULL, PRIMARY KEY (id), KEY kt (tag), KEY kv (value(35)) ) TYPE=MyISAM; CREATE TABLE IF NOT EXISTS bib59x ( id mediumint(8) unsigned NOT NULL auto_increment, tag varchar(6) NOT NULL default '', value text NOT NULL, PRIMARY KEY (id), KEY kt (tag), KEY kv (value(35)) ) TYPE=MyISAM; CREATE TABLE IF NOT EXISTS bib60x ( id mediumint(8) unsigned NOT NULL auto_increment, tag varchar(6) NOT NULL default '', value text NOT NULL, PRIMARY KEY (id), KEY kt (tag), KEY kv (value(35)) ) TYPE=MyISAM; CREATE TABLE IF NOT EXISTS bib61x ( id mediumint(8) unsigned NOT NULL auto_increment, tag varchar(6) NOT NULL default '', value text NOT NULL, PRIMARY KEY (id), KEY kt (tag), KEY kv (value(35)) ) TYPE=MyISAM; CREATE TABLE IF NOT EXISTS bib62x ( id mediumint(8) unsigned NOT NULL auto_increment, tag varchar(6) NOT NULL default '', value text NOT NULL, PRIMARY KEY (id), KEY kt (tag), KEY kv (value(35)) ) TYPE=MyISAM; CREATE TABLE IF NOT EXISTS bib63x ( id mediumint(8) unsigned NOT NULL auto_increment, tag varchar(6) NOT NULL default '', value text NOT NULL, PRIMARY KEY (id), KEY kt (tag), KEY kv (value(35)) ) TYPE=MyISAM; CREATE TABLE IF NOT EXISTS bib64x ( id mediumint(8) unsigned NOT NULL auto_increment, tag varchar(6) NOT NULL default '', value text NOT NULL, PRIMARY KEY (id), KEY kt (tag), KEY kv (value(35)) ) TYPE=MyISAM; CREATE TABLE IF NOT EXISTS bib65x ( id mediumint(8) unsigned NOT NULL auto_increment, tag varchar(6) NOT NULL default '', value text NOT NULL, PRIMARY KEY (id), KEY kt (tag), KEY kv (value(35)) ) TYPE=MyISAM; CREATE TABLE IF NOT EXISTS bib66x ( id mediumint(8) unsigned NOT NULL auto_increment, tag varchar(6) NOT NULL default '', value text NOT NULL, PRIMARY KEY (id), KEY kt (tag), KEY kv (value(35)) ) TYPE=MyISAM; CREATE TABLE IF NOT EXISTS bib67x ( id mediumint(8) unsigned NOT NULL auto_increment, tag varchar(6) NOT NULL default '', value text NOT NULL, PRIMARY KEY (id), KEY kt (tag), KEY kv (value(35)) ) TYPE=MyISAM; CREATE TABLE IF NOT EXISTS bib68x ( id mediumint(8) unsigned NOT NULL auto_increment, tag varchar(6) NOT NULL default '', value text NOT NULL, PRIMARY KEY (id), KEY kt (tag), KEY kv (value(35)) ) TYPE=MyISAM; CREATE TABLE IF NOT EXISTS bib69x ( id mediumint(8) unsigned NOT NULL auto_increment, tag varchar(6) NOT NULL default '', value text NOT NULL, PRIMARY KEY (id), KEY kt (tag), KEY kv (value(35)) ) TYPE=MyISAM; CREATE TABLE IF NOT EXISTS bib70x ( id mediumint(8) unsigned NOT NULL auto_increment, tag varchar(6) NOT NULL default '', value text NOT NULL, PRIMARY KEY (id), KEY kt (tag), KEY kv (value(35)) ) TYPE=MyISAM; CREATE TABLE IF NOT EXISTS bib71x ( id mediumint(8) unsigned NOT NULL auto_increment, tag varchar(6) NOT NULL default '', value text NOT NULL, PRIMARY KEY (id), KEY kt (tag), KEY kv (value(35)) ) TYPE=MyISAM; CREATE TABLE IF NOT EXISTS bib72x ( id mediumint(8) unsigned NOT NULL auto_increment, tag varchar(6) NOT NULL default '', value text NOT NULL, PRIMARY KEY (id), KEY kt (tag), KEY kv (value(35)) ) TYPE=MyISAM; CREATE TABLE IF NOT EXISTS bib73x ( id mediumint(8) unsigned NOT NULL auto_increment, tag varchar(6) NOT NULL default '', value text NOT NULL, PRIMARY KEY (id), KEY kt (tag), KEY kv (value(35)) ) TYPE=MyISAM; CREATE TABLE IF NOT EXISTS bib74x ( id mediumint(8) unsigned NOT NULL auto_increment, tag varchar(6) NOT NULL default '', value text NOT NULL, PRIMARY KEY (id), KEY kt (tag), KEY kv (value(35)) ) TYPE=MyISAM; CREATE TABLE IF NOT EXISTS bib75x ( id mediumint(8) unsigned NOT NULL auto_increment, tag varchar(6) NOT NULL default '', value text NOT NULL, PRIMARY KEY (id), KEY kt (tag), KEY kv (value(35)) ) TYPE=MyISAM; CREATE TABLE IF NOT EXISTS bib76x ( id mediumint(8) unsigned NOT NULL auto_increment, tag varchar(6) NOT NULL default '', value text NOT NULL, PRIMARY KEY (id), KEY kt (tag), KEY kv (value(35)) ) TYPE=MyISAM; CREATE TABLE IF NOT EXISTS bib77x ( id mediumint(8) unsigned NOT NULL auto_increment, tag varchar(6) NOT NULL default '', value text NOT NULL, PRIMARY KEY (id), KEY kt (tag), KEY kv (value(35)) ) TYPE=MyISAM; CREATE TABLE IF NOT EXISTS bib78x ( id mediumint(8) unsigned NOT NULL auto_increment, tag varchar(6) NOT NULL default '', value text NOT NULL, PRIMARY KEY (id), KEY kt (tag), KEY kv (value(35)) ) TYPE=MyISAM; CREATE TABLE IF NOT EXISTS bib79x ( id mediumint(8) unsigned NOT NULL auto_increment, tag varchar(6) NOT NULL default '', value text NOT NULL, PRIMARY KEY (id), KEY kt (tag), KEY kv (value(35)) ) TYPE=MyISAM; CREATE TABLE IF NOT EXISTS bib80x ( id mediumint(8) unsigned NOT NULL auto_increment, tag varchar(6) NOT NULL default '', value text NOT NULL, PRIMARY KEY (id), KEY kt (tag), KEY kv (value(35)) ) TYPE=MyISAM; CREATE TABLE IF NOT EXISTS bib81x ( id mediumint(8) unsigned NOT NULL auto_increment, tag varchar(6) NOT NULL default '', value text NOT NULL, PRIMARY KEY (id), KEY kt (tag), KEY kv (value(35)) ) TYPE=MyISAM; CREATE TABLE IF NOT EXISTS bib82x ( id mediumint(8) unsigned NOT NULL auto_increment, tag varchar(6) NOT NULL default '', value text NOT NULL, PRIMARY KEY (id), KEY kt (tag), KEY kv (value(35)) ) TYPE=MyISAM; CREATE TABLE IF NOT EXISTS bib83x ( id mediumint(8) unsigned NOT NULL auto_increment, tag varchar(6) NOT NULL default '', value text NOT NULL, PRIMARY KEY (id), KEY kt (tag), KEY kv (value(35)) ) TYPE=MyISAM; CREATE TABLE IF NOT EXISTS bib84x ( id mediumint(8) unsigned NOT NULL auto_increment, tag varchar(6) NOT NULL default '', value text NOT NULL, PRIMARY KEY (id), KEY kt (tag), KEY kv (value(35)) ) TYPE=MyISAM; CREATE TABLE IF NOT EXISTS bib85x ( id mediumint(8) unsigned NOT NULL auto_increment, tag varchar(6) NOT NULL default '', value text NOT NULL, PRIMARY KEY (id), KEY kt (tag), KEY kv (value(35)) ) TYPE=MyISAM; CREATE TABLE IF NOT EXISTS bib86x ( id mediumint(8) unsigned NOT NULL auto_increment, tag varchar(6) NOT NULL default '', value text NOT NULL, PRIMARY KEY (id), KEY kt (tag), KEY kv (value(35)) ) TYPE=MyISAM; CREATE TABLE IF NOT EXISTS bib87x ( id mediumint(8) unsigned NOT NULL auto_increment, tag varchar(6) NOT NULL default '', value text NOT NULL, PRIMARY KEY (id), KEY kt (tag), KEY kv (value(35)) ) TYPE=MyISAM; CREATE TABLE IF NOT EXISTS bib88x ( id mediumint(8) unsigned NOT NULL auto_increment, tag varchar(6) NOT NULL default '', value text NOT NULL, PRIMARY KEY (id), KEY kt (tag), KEY kv (value(35)) ) TYPE=MyISAM; CREATE TABLE IF NOT EXISTS bib89x ( id mediumint(8) unsigned NOT NULL auto_increment, tag varchar(6) NOT NULL default '', value text NOT NULL, PRIMARY KEY (id), KEY kt (tag), KEY kv (value(35)) ) TYPE=MyISAM; CREATE TABLE IF NOT EXISTS bib90x ( id mediumint(8) unsigned NOT NULL auto_increment, tag varchar(6) NOT NULL default '', value text NOT NULL, PRIMARY KEY (id), KEY kt (tag), KEY kv (value(35)) ) TYPE=MyISAM; CREATE TABLE IF NOT EXISTS bib91x ( id mediumint(8) unsigned NOT NULL auto_increment, tag varchar(6) NOT NULL default '', value text NOT NULL, PRIMARY KEY (id), KEY kt (tag), KEY kv (value(35)) ) TYPE=MyISAM; CREATE TABLE IF NOT EXISTS bib92x ( id mediumint(8) unsigned NOT NULL auto_increment, tag varchar(6) NOT NULL default '', value text NOT NULL, PRIMARY KEY (id), KEY kt (tag), KEY kv (value(35)) ) TYPE=MyISAM; CREATE TABLE IF NOT EXISTS bib93x ( id mediumint(8) unsigned NOT NULL auto_increment, tag varchar(6) NOT NULL default '', value text NOT NULL, PRIMARY KEY (id), KEY kt (tag), KEY kv (value(35)) ) TYPE=MyISAM; CREATE TABLE IF NOT EXISTS bib94x ( id mediumint(8) unsigned NOT NULL auto_increment, tag varchar(6) NOT NULL default '', value text NOT NULL, PRIMARY KEY (id), KEY kt (tag), KEY kv (value(35)) ) TYPE=MyISAM; CREATE TABLE IF NOT EXISTS bib95x ( id mediumint(8) unsigned NOT NULL auto_increment, tag varchar(6) NOT NULL default '', value text NOT NULL, PRIMARY KEY (id), KEY kt (tag), KEY kv (value(35)) ) TYPE=MyISAM; CREATE TABLE IF NOT EXISTS bib96x ( id mediumint(8) unsigned NOT NULL auto_increment, tag varchar(6) NOT NULL default '', value text NOT NULL, PRIMARY KEY (id), KEY kt (tag), KEY kv (value(35)) ) TYPE=MyISAM; CREATE TABLE IF NOT EXISTS bib97x ( id mediumint(8) unsigned NOT NULL auto_increment, tag varchar(6) NOT NULL default '', value text NOT NULL, PRIMARY KEY (id), KEY kt (tag), KEY kv (value(35)) ) TYPE=MyISAM; CREATE TABLE IF NOT EXISTS bib98x ( id mediumint(8) unsigned NOT NULL auto_increment, tag varchar(6) NOT NULL default '', value text NOT NULL, PRIMARY KEY (id), KEY kt (tag), KEY kv (value(35)) ) TYPE=MyISAM; CREATE TABLE IF NOT EXISTS bib99x ( id mediumint(8) unsigned NOT NULL auto_increment, tag varchar(6) NOT NULL default '', value text NOT NULL, PRIMARY KEY (id), KEY kt (tag), KEY kv (value(35)) ) TYPE=MyISAM; CREATE TABLE IF NOT EXISTS bibrec_bib00x ( id_bibrec mediumint(8) unsigned NOT NULL default '0', id_bibxxx mediumint(8) unsigned NOT NULL default '0', field_number smallint(5) unsigned default NULL, KEY id_bibxxx (id_bibxxx), KEY id_bibrec (id_bibrec) ) TYPE=MyISAM; CREATE TABLE IF NOT EXISTS bibrec_bib01x ( id_bibrec mediumint(8) unsigned NOT NULL default '0', id_bibxxx mediumint(8) unsigned NOT NULL default '0', field_number smallint(5) unsigned default NULL, KEY id_bibxxx (id_bibxxx), KEY id_bibrec (id_bibrec) ) TYPE=MyISAM; CREATE TABLE IF NOT EXISTS bibrec_bib02x ( id_bibrec mediumint(8) unsigned NOT NULL default '0', id_bibxxx mediumint(8) unsigned NOT NULL default '0', field_number smallint(5) unsigned default NULL, KEY id_bibxxx (id_bibxxx), KEY id_bibrec (id_bibrec) ) TYPE=MyISAM; CREATE TABLE IF NOT EXISTS bibrec_bib03x ( id_bibrec mediumint(8) unsigned NOT NULL default '0', id_bibxxx mediumint(8) unsigned NOT NULL default '0', field_number smallint(5) unsigned default NULL, KEY id_bibxxx (id_bibxxx), KEY id_bibrec (id_bibrec) ) TYPE=MyISAM; CREATE TABLE IF NOT EXISTS bibrec_bib04x ( id_bibrec mediumint(8) unsigned NOT NULL default '0', id_bibxxx mediumint(8) unsigned NOT NULL default '0', field_number smallint(5) unsigned default NULL, KEY id_bibxxx (id_bibxxx), KEY id_bibrec (id_bibrec) ) TYPE=MyISAM; CREATE TABLE IF NOT EXISTS bibrec_bib05x ( id_bibrec mediumint(8) unsigned NOT NULL default '0', id_bibxxx mediumint(8) unsigned NOT NULL default '0', field_number smallint(5) unsigned default NULL, KEY id_bibxxx (id_bibxxx), KEY id_bibrec (id_bibrec) ) TYPE=MyISAM; CREATE TABLE IF NOT EXISTS bibrec_bib06x ( id_bibrec mediumint(8) unsigned NOT NULL default '0', id_bibxxx mediumint(8) unsigned NOT NULL default '0', field_number smallint(5) unsigned default NULL, KEY id_bibxxx (id_bibxxx), KEY id_bibrec (id_bibrec) ) TYPE=MyISAM; CREATE TABLE IF NOT EXISTS bibrec_bib07x ( id_bibrec mediumint(8) unsigned NOT NULL default '0', id_bibxxx mediumint(8) unsigned NOT NULL default '0', field_number smallint(5) unsigned default NULL, KEY id_bibxxx (id_bibxxx), KEY id_bibrec (id_bibrec) ) TYPE=MyISAM; CREATE TABLE IF NOT EXISTS bibrec_bib08x ( id_bibrec mediumint(8) unsigned NOT NULL default '0', id_bibxxx mediumint(8) unsigned NOT NULL default '0', field_number smallint(5) unsigned default NULL, KEY id_bibxxx (id_bibxxx), KEY id_bibrec (id_bibrec) ) TYPE=MyISAM; CREATE TABLE IF NOT EXISTS bibrec_bib09x ( id_bibrec mediumint(8) unsigned NOT NULL default '0', id_bibxxx mediumint(8) unsigned NOT NULL default '0', field_number smallint(5) unsigned default NULL, KEY id_bibxxx (id_bibxxx), KEY id_bibrec (id_bibrec) ) TYPE=MyISAM; CREATE TABLE IF NOT EXISTS bibrec_bib10x ( id_bibrec mediumint(8) unsigned NOT NULL default '0', id_bibxxx mediumint(8) unsigned NOT NULL default '0', field_number smallint(5) unsigned default NULL, KEY id_bibxxx (id_bibxxx), KEY id_bibrec (id_bibrec) ) TYPE=MyISAM; CREATE TABLE IF NOT EXISTS bibrec_bib11x ( id_bibrec mediumint(8) unsigned NOT NULL default '0', id_bibxxx mediumint(8) unsigned NOT NULL default '0', field_number smallint(5) unsigned default NULL, KEY id_bibxxx (id_bibxxx), KEY id_bibrec (id_bibrec) ) TYPE=MyISAM; CREATE TABLE IF NOT EXISTS bibrec_bib12x ( id_bibrec mediumint(8) unsigned NOT NULL default '0', id_bibxxx mediumint(8) unsigned NOT NULL default '0', field_number smallint(5) unsigned default NULL, KEY id_bibxxx (id_bibxxx), KEY id_bibrec (id_bibrec) ) TYPE=MyISAM; CREATE TABLE IF NOT EXISTS bibrec_bib13x ( id_bibrec mediumint(8) unsigned NOT NULL default '0', id_bibxxx mediumint(8) unsigned NOT NULL default '0', field_number smallint(5) unsigned default NULL, KEY id_bibxxx (id_bibxxx), KEY id_bibrec (id_bibrec) ) TYPE=MyISAM; CREATE TABLE IF NOT EXISTS bibrec_bib14x ( id_bibrec mediumint(8) unsigned NOT NULL default '0', id_bibxxx mediumint(8) unsigned NOT NULL default '0', field_number smallint(5) unsigned default NULL, KEY id_bibxxx (id_bibxxx), KEY id_bibrec (id_bibrec) ) TYPE=MyISAM; CREATE TABLE IF NOT EXISTS bibrec_bib15x ( id_bibrec mediumint(8) unsigned NOT NULL default '0', id_bibxxx mediumint(8) unsigned NOT NULL default '0', field_number smallint(5) unsigned default NULL, KEY id_bibxxx (id_bibxxx), KEY id_bibrec (id_bibrec) ) TYPE=MyISAM; CREATE TABLE IF NOT EXISTS bibrec_bib16x ( id_bibrec mediumint(8) unsigned NOT NULL default '0', id_bibxxx mediumint(8) unsigned NOT NULL default '0', field_number smallint(5) unsigned default NULL, KEY id_bibxxx (id_bibxxx), KEY id_bibrec (id_bibrec) ) TYPE=MyISAM; CREATE TABLE IF NOT EXISTS bibrec_bib17x ( id_bibrec mediumint(8) unsigned NOT NULL default '0', id_bibxxx mediumint(8) unsigned NOT NULL default '0', field_number smallint(5) unsigned default NULL, KEY id_bibxxx (id_bibxxx), KEY id_bibrec (id_bibrec) ) TYPE=MyISAM; CREATE TABLE IF NOT EXISTS bibrec_bib18x ( id_bibrec mediumint(8) unsigned NOT NULL default '0', id_bibxxx mediumint(8) unsigned NOT NULL default '0', field_number smallint(5) unsigned default NULL, KEY id_bibxxx (id_bibxxx), KEY id_bibrec (id_bibrec) ) TYPE=MyISAM; CREATE TABLE IF NOT EXISTS bibrec_bib19x ( id_bibrec mediumint(8) unsigned NOT NULL default '0', id_bibxxx mediumint(8) unsigned NOT NULL default '0', field_number smallint(5) unsigned default NULL, KEY id_bibxxx (id_bibxxx), KEY id_bibrec (id_bibrec) ) TYPE=MyISAM; CREATE TABLE IF NOT EXISTS bibrec_bib20x ( id_bibrec mediumint(8) unsigned NOT NULL default '0', id_bibxxx mediumint(8) unsigned NOT NULL default '0', field_number smallint(5) unsigned default NULL, KEY id_bibxxx (id_bibxxx), KEY id_bibrec (id_bibrec) ) TYPE=MyISAM; CREATE TABLE IF NOT EXISTS bibrec_bib21x ( id_bibrec mediumint(8) unsigned NOT NULL default '0', id_bibxxx mediumint(8) unsigned NOT NULL default '0', field_number smallint(5) unsigned default NULL, KEY id_bibxxx (id_bibxxx), KEY id_bibrec (id_bibrec) ) TYPE=MyISAM; CREATE TABLE IF NOT EXISTS bibrec_bib22x ( id_bibrec mediumint(8) unsigned NOT NULL default '0', id_bibxxx mediumint(8) unsigned NOT NULL default '0', field_number smallint(5) unsigned default NULL, KEY id_bibxxx (id_bibxxx), KEY id_bibrec (id_bibrec) ) TYPE=MyISAM; CREATE TABLE IF NOT EXISTS bibrec_bib23x ( id_bibrec mediumint(8) unsigned NOT NULL default '0', id_bibxxx mediumint(8) unsigned NOT NULL default '0', field_number smallint(5) unsigned default NULL, KEY id_bibxxx (id_bibxxx), KEY id_bibrec (id_bibrec) ) TYPE=MyISAM; CREATE TABLE IF NOT EXISTS bibrec_bib24x ( id_bibrec mediumint(8) unsigned NOT NULL default '0', id_bibxxx mediumint(8) unsigned NOT NULL default '0', field_number smallint(5) unsigned default NULL, KEY id_bibxxx (id_bibxxx), KEY id_bibrec (id_bibrec) ) TYPE=MyISAM; CREATE TABLE IF NOT EXISTS bibrec_bib25x ( id_bibrec mediumint(8) unsigned NOT NULL default '0', id_bibxxx mediumint(8) unsigned NOT NULL default '0', field_number smallint(5) unsigned default NULL, KEY id_bibxxx (id_bibxxx), KEY id_bibrec (id_bibrec) ) TYPE=MyISAM; CREATE TABLE IF NOT EXISTS bibrec_bib26x ( id_bibrec mediumint(8) unsigned NOT NULL default '0', id_bibxxx mediumint(8) unsigned NOT NULL default '0', field_number smallint(5) unsigned default NULL, KEY id_bibxxx (id_bibxxx), KEY id_bibrec (id_bibrec) ) TYPE=MyISAM; CREATE TABLE IF NOT EXISTS bibrec_bib27x ( id_bibrec mediumint(8) unsigned NOT NULL default '0', id_bibxxx mediumint(8) unsigned NOT NULL default '0', field_number smallint(5) unsigned default NULL, KEY id_bibxxx (id_bibxxx), KEY id_bibrec (id_bibrec) ) TYPE=MyISAM; CREATE TABLE IF NOT EXISTS bibrec_bib28x ( id_bibrec mediumint(8) unsigned NOT NULL default '0', id_bibxxx mediumint(8) unsigned NOT NULL default '0', field_number smallint(5) unsigned default NULL, KEY id_bibxxx (id_bibxxx), KEY id_bibrec (id_bibrec) ) TYPE=MyISAM; CREATE TABLE IF NOT EXISTS bibrec_bib29x ( id_bibrec mediumint(8) unsigned NOT NULL default '0', id_bibxxx mediumint(8) unsigned NOT NULL default '0', field_number smallint(5) unsigned default NULL, KEY id_bibxxx (id_bibxxx), KEY id_bibrec (id_bibrec) ) TYPE=MyISAM; CREATE TABLE IF NOT EXISTS bibrec_bib30x ( id_bibrec mediumint(8) unsigned NOT NULL default '0', id_bibxxx mediumint(8) unsigned NOT NULL default '0', field_number smallint(5) unsigned default NULL, KEY id_bibxxx (id_bibxxx), KEY id_bibrec (id_bibrec) ) TYPE=MyISAM; CREATE TABLE IF NOT EXISTS bibrec_bib31x ( id_bibrec mediumint(8) unsigned NOT NULL default '0', id_bibxxx mediumint(8) unsigned NOT NULL default '0', field_number smallint(5) unsigned default NULL, KEY id_bibxxx (id_bibxxx), KEY id_bibrec (id_bibrec) ) TYPE=MyISAM; CREATE TABLE IF NOT EXISTS bibrec_bib32x ( id_bibrec mediumint(8) unsigned NOT NULL default '0', id_bibxxx mediumint(8) unsigned NOT NULL default '0', field_number smallint(5) unsigned default NULL, KEY id_bibxxx (id_bibxxx), KEY id_bibrec (id_bibrec) ) TYPE=MyISAM; CREATE TABLE IF NOT EXISTS bibrec_bib33x ( id_bibrec mediumint(8) unsigned NOT NULL default '0', id_bibxxx mediumint(8) unsigned NOT NULL default '0', field_number smallint(5) unsigned default NULL, KEY id_bibxxx (id_bibxxx), KEY id_bibrec (id_bibrec) ) TYPE=MyISAM; CREATE TABLE IF NOT EXISTS bibrec_bib34x ( id_bibrec mediumint(8) unsigned NOT NULL default '0', id_bibxxx mediumint(8) unsigned NOT NULL default '0', field_number smallint(5) unsigned default NULL, KEY id_bibxxx (id_bibxxx), KEY id_bibrec (id_bibrec) ) TYPE=MyISAM; CREATE TABLE IF NOT EXISTS bibrec_bib35x ( id_bibrec mediumint(8) unsigned NOT NULL default '0', id_bibxxx mediumint(8) unsigned NOT NULL default '0', field_number smallint(5) unsigned default NULL, KEY id_bibxxx (id_bibxxx), KEY id_bibrec (id_bibrec) ) TYPE=MyISAM; CREATE TABLE IF NOT EXISTS bibrec_bib36x ( id_bibrec mediumint(8) unsigned NOT NULL default '0', id_bibxxx mediumint(8) unsigned NOT NULL default '0', field_number smallint(5) unsigned default NULL, KEY id_bibxxx (id_bibxxx), KEY id_bibrec (id_bibrec) ) TYPE=MyISAM; CREATE TABLE IF NOT EXISTS bibrec_bib37x ( id_bibrec mediumint(8) unsigned NOT NULL default '0', id_bibxxx mediumint(8) unsigned NOT NULL default '0', field_number smallint(5) unsigned default NULL, KEY id_bibxxx (id_bibxxx), KEY id_bibrec (id_bibrec) ) TYPE=MyISAM; CREATE TABLE IF NOT EXISTS bibrec_bib38x ( id_bibrec mediumint(8) unsigned NOT NULL default '0', id_bibxxx mediumint(8) unsigned NOT NULL default '0', field_number smallint(5) unsigned default NULL, KEY id_bibxxx (id_bibxxx), KEY id_bibrec (id_bibrec) ) TYPE=MyISAM; CREATE TABLE IF NOT EXISTS bibrec_bib39x ( id_bibrec mediumint(8) unsigned NOT NULL default '0', id_bibxxx mediumint(8) unsigned NOT NULL default '0', field_number smallint(5) unsigned default NULL, KEY id_bibxxx (id_bibxxx), KEY id_bibrec (id_bibrec) ) TYPE=MyISAM; CREATE TABLE IF NOT EXISTS bibrec_bib40x ( id_bibrec mediumint(8) unsigned NOT NULL default '0', id_bibxxx mediumint(8) unsigned NOT NULL default '0', field_number smallint(5) unsigned default NULL, KEY id_bibxxx (id_bibxxx), KEY id_bibrec (id_bibrec) ) TYPE=MyISAM; CREATE TABLE IF NOT EXISTS bibrec_bib41x ( id_bibrec mediumint(8) unsigned NOT NULL default '0', id_bibxxx mediumint(8) unsigned NOT NULL default '0', field_number smallint(5) unsigned default NULL, KEY id_bibxxx (id_bibxxx), KEY id_bibrec (id_bibrec) ) TYPE=MyISAM; CREATE TABLE IF NOT EXISTS bibrec_bib42x ( id_bibrec mediumint(8) unsigned NOT NULL default '0', id_bibxxx mediumint(8) unsigned NOT NULL default '0', field_number smallint(5) unsigned default NULL, KEY id_bibxxx (id_bibxxx), KEY id_bibrec (id_bibrec) ) TYPE=MyISAM; CREATE TABLE IF NOT EXISTS bibrec_bib43x ( id_bibrec mediumint(8) unsigned NOT NULL default '0', id_bibxxx mediumint(8) unsigned NOT NULL default '0', field_number smallint(5) unsigned default NULL, KEY id_bibxxx (id_bibxxx), KEY id_bibrec (id_bibrec) ) TYPE=MyISAM; CREATE TABLE IF NOT EXISTS bibrec_bib44x ( id_bibrec mediumint(8) unsigned NOT NULL default '0', id_bibxxx mediumint(8) unsigned NOT NULL default '0', field_number smallint(5) unsigned default NULL, KEY id_bibxxx (id_bibxxx), KEY id_bibrec (id_bibrec) ) TYPE=MyISAM; CREATE TABLE IF NOT EXISTS bibrec_bib45x ( id_bibrec mediumint(8) unsigned NOT NULL default '0', id_bibxxx mediumint(8) unsigned NOT NULL default '0', field_number smallint(5) unsigned default NULL, KEY id_bibxxx (id_bibxxx), KEY id_bibrec (id_bibrec) ) TYPE=MyISAM; CREATE TABLE IF NOT EXISTS bibrec_bib46x ( id_bibrec mediumint(8) unsigned NOT NULL default '0', id_bibxxx mediumint(8) unsigned NOT NULL default '0', field_number smallint(5) unsigned default NULL, KEY id_bibxxx (id_bibxxx), KEY id_bibrec (id_bibrec) ) TYPE=MyISAM; CREATE TABLE IF NOT EXISTS bibrec_bib47x ( id_bibrec mediumint(8) unsigned NOT NULL default '0', id_bibxxx mediumint(8) unsigned NOT NULL default '0', field_number smallint(5) unsigned default NULL, KEY id_bibxxx (id_bibxxx), KEY id_bibrec (id_bibrec) ) TYPE=MyISAM; CREATE TABLE IF NOT EXISTS bibrec_bib48x ( id_bibrec mediumint(8) unsigned NOT NULL default '0', id_bibxxx mediumint(8) unsigned NOT NULL default '0', field_number smallint(5) unsigned default NULL, KEY id_bibxxx (id_bibxxx), KEY id_bibrec (id_bibrec) ) TYPE=MyISAM; CREATE TABLE IF NOT EXISTS bibrec_bib49x ( id_bibrec mediumint(8) unsigned NOT NULL default '0', id_bibxxx mediumint(8) unsigned NOT NULL default '0', field_number smallint(5) unsigned default NULL, KEY id_bibxxx (id_bibxxx), KEY id_bibrec (id_bibrec) ) TYPE=MyISAM; CREATE TABLE IF NOT EXISTS bibrec_bib50x ( id_bibrec mediumint(8) unsigned NOT NULL default '0', id_bibxxx mediumint(8) unsigned NOT NULL default '0', field_number smallint(5) unsigned default NULL, KEY id_bibxxx (id_bibxxx), KEY id_bibrec (id_bibrec) ) TYPE=MyISAM; CREATE TABLE IF NOT EXISTS bibrec_bib51x ( id_bibrec mediumint(8) unsigned NOT NULL default '0', id_bibxxx mediumint(8) unsigned NOT NULL default '0', field_number smallint(5) unsigned default NULL, KEY id_bibxxx (id_bibxxx), KEY id_bibrec (id_bibrec) ) TYPE=MyISAM; CREATE TABLE IF NOT EXISTS bibrec_bib52x ( id_bibrec mediumint(8) unsigned NOT NULL default '0', id_bibxxx mediumint(8) unsigned NOT NULL default '0', field_number smallint(5) unsigned default NULL, KEY id_bibxxx (id_bibxxx), KEY id_bibrec (id_bibrec) ) TYPE=MyISAM; CREATE TABLE IF NOT EXISTS bibrec_bib53x ( id_bibrec mediumint(8) unsigned NOT NULL default '0', id_bibxxx mediumint(8) unsigned NOT NULL default '0', field_number smallint(5) unsigned default NULL, KEY id_bibxxx (id_bibxxx), KEY id_bibrec (id_bibrec) ) TYPE=MyISAM; CREATE TABLE IF NOT EXISTS bibrec_bib54x ( id_bibrec mediumint(8) unsigned NOT NULL default '0', id_bibxxx mediumint(8) unsigned NOT NULL default '0', field_number smallint(5) unsigned default NULL, KEY id_bibxxx (id_bibxxx), KEY id_bibrec (id_bibrec) ) TYPE=MyISAM; CREATE TABLE IF NOT EXISTS bibrec_bib55x ( id_bibrec mediumint(8) unsigned NOT NULL default '0', id_bibxxx mediumint(8) unsigned NOT NULL default '0', field_number smallint(5) unsigned default NULL, KEY id_bibxxx (id_bibxxx), KEY id_bibrec (id_bibrec) ) TYPE=MyISAM; CREATE TABLE IF NOT EXISTS bibrec_bib56x ( id_bibrec mediumint(8) unsigned NOT NULL default '0', id_bibxxx mediumint(8) unsigned NOT NULL default '0', field_number smallint(5) unsigned default NULL, KEY id_bibxxx (id_bibxxx), KEY id_bibrec (id_bibrec) ) TYPE=MyISAM; CREATE TABLE IF NOT EXISTS bibrec_bib57x ( id_bibrec mediumint(8) unsigned NOT NULL default '0', id_bibxxx mediumint(8) unsigned NOT NULL default '0', field_number smallint(5) unsigned default NULL, KEY id_bibxxx (id_bibxxx), KEY id_bibrec (id_bibrec) ) TYPE=MyISAM; CREATE TABLE IF NOT EXISTS bibrec_bib58x ( id_bibrec mediumint(8) unsigned NOT NULL default '0', id_bibxxx mediumint(8) unsigned NOT NULL default '0', field_number smallint(5) unsigned default NULL, KEY id_bibxxx (id_bibxxx), KEY id_bibrec (id_bibrec) ) TYPE=MyISAM; CREATE TABLE IF NOT EXISTS bibrec_bib59x ( id_bibrec mediumint(8) unsigned NOT NULL default '0', id_bibxxx mediumint(8) unsigned NOT NULL default '0', field_number smallint(5) unsigned default NULL, KEY id_bibxxx (id_bibxxx), KEY id_bibrec (id_bibrec) ) TYPE=MyISAM; CREATE TABLE IF NOT EXISTS bibrec_bib60x ( id_bibrec mediumint(8) unsigned NOT NULL default '0', id_bibxxx mediumint(8) unsigned NOT NULL default '0', field_number smallint(5) unsigned default NULL, KEY id_bibxxx (id_bibxxx), KEY id_bibrec (id_bibrec) ) TYPE=MyISAM; CREATE TABLE IF NOT EXISTS bibrec_bib61x ( id_bibrec mediumint(8) unsigned NOT NULL default '0', id_bibxxx mediumint(8) unsigned NOT NULL default '0', field_number smallint(5) unsigned default NULL, KEY id_bibxxx (id_bibxxx), KEY id_bibrec (id_bibrec) ) TYPE=MyISAM; CREATE TABLE IF NOT EXISTS bibrec_bib62x ( id_bibrec mediumint(8) unsigned NOT NULL default '0', id_bibxxx mediumint(8) unsigned NOT NULL default '0', field_number smallint(5) unsigned default NULL, KEY id_bibxxx (id_bibxxx), KEY id_bibrec (id_bibrec) ) TYPE=MyISAM; CREATE TABLE IF NOT EXISTS bibrec_bib63x ( id_bibrec mediumint(8) unsigned NOT NULL default '0', id_bibxxx mediumint(8) unsigned NOT NULL default '0', field_number smallint(5) unsigned default NULL, KEY id_bibxxx (id_bibxxx), KEY id_bibrec (id_bibrec) ) TYPE=MyISAM; CREATE TABLE IF NOT EXISTS bibrec_bib64x ( id_bibrec mediumint(8) unsigned NOT NULL default '0', id_bibxxx mediumint(8) unsigned NOT NULL default '0', field_number smallint(5) unsigned default NULL, KEY id_bibxxx (id_bibxxx), KEY id_bibrec (id_bibrec) ) TYPE=MyISAM; CREATE TABLE IF NOT EXISTS bibrec_bib65x ( id_bibrec mediumint(8) unsigned NOT NULL default '0', id_bibxxx mediumint(8) unsigned NOT NULL default '0', field_number smallint(5) unsigned default NULL, KEY id_bibxxx (id_bibxxx), KEY id_bibrec (id_bibrec) ) TYPE=MyISAM; CREATE TABLE IF NOT EXISTS bibrec_bib66x ( id_bibrec mediumint(8) unsigned NOT NULL default '0', id_bibxxx mediumint(8) unsigned NOT NULL default '0', field_number smallint(5) unsigned default NULL, KEY id_bibxxx (id_bibxxx), KEY id_bibrec (id_bibrec) ) TYPE=MyISAM; CREATE TABLE IF NOT EXISTS bibrec_bib67x ( id_bibrec mediumint(8) unsigned NOT NULL default '0', id_bibxxx mediumint(8) unsigned NOT NULL default '0', field_number smallint(5) unsigned default NULL, KEY id_bibxxx (id_bibxxx), KEY id_bibrec (id_bibrec) ) TYPE=MyISAM; CREATE TABLE IF NOT EXISTS bibrec_bib68x ( id_bibrec mediumint(8) unsigned NOT NULL default '0', id_bibxxx mediumint(8) unsigned NOT NULL default '0', field_number smallint(5) unsigned default NULL, KEY id_bibxxx (id_bibxxx), KEY id_bibrec (id_bibrec) ) TYPE=MyISAM; CREATE TABLE IF NOT EXISTS bibrec_bib69x ( id_bibrec mediumint(8) unsigned NOT NULL default '0', id_bibxxx mediumint(8) unsigned NOT NULL default '0', field_number smallint(5) unsigned default NULL, KEY id_bibxxx (id_bibxxx), KEY id_bibrec (id_bibrec) ) TYPE=MyISAM; CREATE TABLE IF NOT EXISTS bibrec_bib70x ( id_bibrec mediumint(8) unsigned NOT NULL default '0', id_bibxxx mediumint(8) unsigned NOT NULL default '0', field_number smallint(5) unsigned default NULL, KEY id_bibxxx (id_bibxxx), KEY id_bibrec (id_bibrec) ) TYPE=MyISAM; CREATE TABLE IF NOT EXISTS bibrec_bib71x ( id_bibrec mediumint(8) unsigned NOT NULL default '0', id_bibxxx mediumint(8) unsigned NOT NULL default '0', field_number smallint(5) unsigned default NULL, KEY id_bibxxx (id_bibxxx), KEY id_bibrec (id_bibrec) ) TYPE=MyISAM; CREATE TABLE IF NOT EXISTS bibrec_bib72x ( id_bibrec mediumint(8) unsigned NOT NULL default '0', id_bibxxx mediumint(8) unsigned NOT NULL default '0', field_number smallint(5) unsigned default NULL, KEY id_bibxxx (id_bibxxx), KEY id_bibrec (id_bibrec) ) TYPE=MyISAM; CREATE TABLE IF NOT EXISTS bibrec_bib73x ( id_bibrec mediumint(8) unsigned NOT NULL default '0', id_bibxxx mediumint(8) unsigned NOT NULL default '0', field_number smallint(5) unsigned default NULL, KEY id_bibxxx (id_bibxxx), KEY id_bibrec (id_bibrec) ) TYPE=MyISAM; CREATE TABLE IF NOT EXISTS bibrec_bib74x ( id_bibrec mediumint(8) unsigned NOT NULL default '0', id_bibxxx mediumint(8) unsigned NOT NULL default '0', field_number smallint(5) unsigned default NULL, KEY id_bibxxx (id_bibxxx), KEY id_bibrec (id_bibrec) ) TYPE=MyISAM; CREATE TABLE IF NOT EXISTS bibrec_bib75x ( id_bibrec mediumint(8) unsigned NOT NULL default '0', id_bibxxx mediumint(8) unsigned NOT NULL default '0', field_number smallint(5) unsigned default NULL, KEY id_bibxxx (id_bibxxx), KEY id_bibrec (id_bibrec) ) TYPE=MyISAM; CREATE TABLE IF NOT EXISTS bibrec_bib76x ( id_bibrec mediumint(8) unsigned NOT NULL default '0', id_bibxxx mediumint(8) unsigned NOT NULL default '0', field_number smallint(5) unsigned default NULL, KEY id_bibxxx (id_bibxxx), KEY id_bibrec (id_bibrec) ) TYPE=MyISAM; CREATE TABLE IF NOT EXISTS bibrec_bib77x ( id_bibrec mediumint(8) unsigned NOT NULL default '0', id_bibxxx mediumint(8) unsigned NOT NULL default '0', field_number smallint(5) unsigned default NULL, KEY id_bibxxx (id_bibxxx), KEY id_bibrec (id_bibrec) ) TYPE=MyISAM; CREATE TABLE IF NOT EXISTS bibrec_bib78x ( id_bibrec mediumint(8) unsigned NOT NULL default '0', id_bibxxx mediumint(8) unsigned NOT NULL default '0', field_number smallint(5) unsigned default NULL, KEY id_bibxxx (id_bibxxx), KEY id_bibrec (id_bibrec) ) TYPE=MyISAM; CREATE TABLE IF NOT EXISTS bibrec_bib79x ( id_bibrec mediumint(8) unsigned NOT NULL default '0', id_bibxxx mediumint(8) unsigned NOT NULL default '0', field_number smallint(5) unsigned default NULL, KEY id_bibxxx (id_bibxxx), KEY id_bibrec (id_bibrec) ) TYPE=MyISAM; CREATE TABLE IF NOT EXISTS bibrec_bib80x ( id_bibrec mediumint(8) unsigned NOT NULL default '0', id_bibxxx mediumint(8) unsigned NOT NULL default '0', field_number smallint(5) unsigned default NULL, KEY id_bibxxx (id_bibxxx), KEY id_bibrec (id_bibrec) ) TYPE=MyISAM; CREATE TABLE IF NOT EXISTS bibrec_bib81x ( id_bibrec mediumint(8) unsigned NOT NULL default '0', id_bibxxx mediumint(8) unsigned NOT NULL default '0', field_number smallint(5) unsigned default NULL, KEY id_bibxxx (id_bibxxx), KEY id_bibrec (id_bibrec) ) TYPE=MyISAM; CREATE TABLE IF NOT EXISTS bibrec_bib82x ( id_bibrec mediumint(8) unsigned NOT NULL default '0', id_bibxxx mediumint(8) unsigned NOT NULL default '0', field_number smallint(5) unsigned default NULL, KEY id_bibxxx (id_bibxxx), KEY id_bibrec (id_bibrec) ) TYPE=MyISAM; CREATE TABLE IF NOT EXISTS bibrec_bib83x ( id_bibrec mediumint(8) unsigned NOT NULL default '0', id_bibxxx mediumint(8) unsigned NOT NULL default '0', field_number smallint(5) unsigned default NULL, KEY id_bibxxx (id_bibxxx), KEY id_bibrec (id_bibrec) ) TYPE=MyISAM; CREATE TABLE IF NOT EXISTS bibrec_bib84x ( id_bibrec mediumint(8) unsigned NOT NULL default '0', id_bibxxx mediumint(8) unsigned NOT NULL default '0', field_number smallint(5) unsigned default NULL, KEY id_bibxxx (id_bibxxx), KEY id_bibrec (id_bibrec) ) TYPE=MyISAM; CREATE TABLE IF NOT EXISTS bibrec_bib85x ( id_bibrec mediumint(8) unsigned NOT NULL default '0', id_bibxxx mediumint(8) unsigned NOT NULL default '0', field_number smallint(5) unsigned default NULL, KEY id_bibxxx (id_bibxxx), KEY id_bibrec (id_bibrec) ) TYPE=MyISAM; CREATE TABLE IF NOT EXISTS bibrec_bib86x ( id_bibrec mediumint(8) unsigned NOT NULL default '0', id_bibxxx mediumint(8) unsigned NOT NULL default '0', field_number smallint(5) unsigned default NULL, KEY id_bibxxx (id_bibxxx), KEY id_bibrec (id_bibrec) ) TYPE=MyISAM; CREATE TABLE IF NOT EXISTS bibrec_bib87x ( id_bibrec mediumint(8) unsigned NOT NULL default '0', id_bibxxx mediumint(8) unsigned NOT NULL default '0', field_number smallint(5) unsigned default NULL, KEY id_bibxxx (id_bibxxx), KEY id_bibrec (id_bibrec) ) TYPE=MyISAM; CREATE TABLE IF NOT EXISTS bibrec_bib88x ( id_bibrec mediumint(8) unsigned NOT NULL default '0', id_bibxxx mediumint(8) unsigned NOT NULL default '0', field_number smallint(5) unsigned default NULL, KEY id_bibxxx (id_bibxxx), KEY id_bibrec (id_bibrec) ) TYPE=MyISAM; CREATE TABLE IF NOT EXISTS bibrec_bib89x ( id_bibrec mediumint(8) unsigned NOT NULL default '0', id_bibxxx mediumint(8) unsigned NOT NULL default '0', field_number smallint(5) unsigned default NULL, KEY id_bibxxx (id_bibxxx), KEY id_bibrec (id_bibrec) ) TYPE=MyISAM; CREATE TABLE IF NOT EXISTS bibrec_bib90x ( id_bibrec mediumint(8) unsigned NOT NULL default '0', id_bibxxx mediumint(8) unsigned NOT NULL default '0', field_number smallint(5) unsigned default NULL, KEY id_bibxxx (id_bibxxx), KEY id_bibrec (id_bibrec) ) TYPE=MyISAM; CREATE TABLE IF NOT EXISTS bibrec_bib91x ( id_bibrec mediumint(8) unsigned NOT NULL default '0', id_bibxxx mediumint(8) unsigned NOT NULL default '0', field_number smallint(5) unsigned default NULL, KEY id_bibxxx (id_bibxxx), KEY id_bibrec (id_bibrec) ) TYPE=MyISAM; CREATE TABLE IF NOT EXISTS bibrec_bib92x ( id_bibrec mediumint(8) unsigned NOT NULL default '0', id_bibxxx mediumint(8) unsigned NOT NULL default '0', field_number smallint(5) unsigned default NULL, KEY id_bibxxx (id_bibxxx), KEY id_bibrec (id_bibrec) ) TYPE=MyISAM; CREATE TABLE IF NOT EXISTS bibrec_bib93x ( id_bibrec mediumint(8) unsigned NOT NULL default '0', id_bibxxx mediumint(8) unsigned NOT NULL default '0', field_number smallint(5) unsigned default NULL, KEY id_bibxxx (id_bibxxx), KEY id_bibrec (id_bibrec) ) TYPE=MyISAM; CREATE TABLE IF NOT EXISTS bibrec_bib94x ( id_bibrec mediumint(8) unsigned NOT NULL default '0', id_bibxxx mediumint(8) unsigned NOT NULL default '0', field_number smallint(5) unsigned default NULL, KEY id_bibxxx (id_bibxxx), KEY id_bibrec (id_bibrec) ) TYPE=MyISAM; CREATE TABLE IF NOT EXISTS bibrec_bib95x ( id_bibrec mediumint(8) unsigned NOT NULL default '0', id_bibxxx mediumint(8) unsigned NOT NULL default '0', field_number smallint(5) unsigned default NULL, KEY id_bibxxx (id_bibxxx), KEY id_bibrec (id_bibrec) ) TYPE=MyISAM; CREATE TABLE IF NOT EXISTS bibrec_bib96x ( id_bibrec mediumint(8) unsigned NOT NULL default '0', id_bibxxx mediumint(8) unsigned NOT NULL default '0', field_number smallint(5) unsigned default NULL, KEY id_bibxxx (id_bibxxx), KEY id_bibrec (id_bibrec) ) TYPE=MyISAM; CREATE TABLE IF NOT EXISTS bibrec_bib97x ( id_bibrec mediumint(8) unsigned NOT NULL default '0', id_bibxxx mediumint(8) unsigned NOT NULL default '0', field_number smallint(5) unsigned default NULL, KEY id_bibxxx (id_bibxxx), KEY id_bibrec (id_bibrec) ) TYPE=MyISAM; CREATE TABLE IF NOT EXISTS bibrec_bib98x ( id_bibrec mediumint(8) unsigned NOT NULL default '0', id_bibxxx mediumint(8) unsigned NOT NULL default '0', field_number smallint(5) unsigned default NULL, KEY id_bibxxx (id_bibxxx), KEY id_bibrec (id_bibrec) ) TYPE=MyISAM; CREATE TABLE IF NOT EXISTS bibrec_bib99x ( id_bibrec mediumint(8) unsigned NOT NULL default '0', id_bibxxx mediumint(8) unsigned NOT NULL default '0', field_number smallint(5) unsigned default NULL, KEY id_bibxxx (id_bibxxx), KEY id_bibrec (id_bibrec) ) TYPE=MyISAM; -- tables for bibliographic records formatted: CREATE TABLE IF NOT EXISTS bibfmt ( id mediumint(8) unsigned NOT NULL auto_increment, id_bibrec int(8) unsigned NOT NULL default '0', format varchar(10) NOT NULL default '', last_updated datetime NOT NULL default '0000-00-00', value longblob, PRIMARY KEY (id), KEY id_bibrec (id_bibrec), KEY format (format) ) TYPE=MyISAM; -- tables for index files: CREATE TABLE IF NOT EXISTS idxINDEX ( id mediumint(9) unsigned NOT NULL, name varchar(50) NOT NULL default '', description varchar(255) NOT NULL default '', last_updated datetime NOT NULL default '0000-00-00 00:00:00', stemming_language varchar(10) NOT NULL default '', PRIMARY KEY (id), UNIQUE KEY name (name) ) TYPE=MyISAM; CREATE TABLE IF NOT EXISTS idxINDEXNAME ( id_idxINDEX mediumint(9) unsigned NOT NULL, ln char(5) NOT NULL default '', type char(3) NOT NULL default 'sn', value varchar(255) NOT NULL, PRIMARY KEY (id_idxINDEX,ln,type) ) TYPE=MyISAM; CREATE TABLE IF NOT EXISTS idxINDEX_field ( id_idxINDEX mediumint(9) unsigned NOT NULL, id_field mediumint(9) unsigned NOT NULL, regexp_punctuation varchar(255) NOT NULL default "[\.\,\:\;\?\!\"]", regexp_alphanumeric_separators varchar(255) NOT NULL default "[\!\"\#\$\%\&\'\(\)\*\+\,\-\.\/\:\;\<\=\>\?\@\[\\\]\^\_\`\{\|\}\~]", PRIMARY KEY (id_idxINDEX,id_field) ) TYPE=MyISAM; CREATE TABLE IF NOT EXISTS idxWORD01F ( id mediumint(9) unsigned NOT NULL auto_increment, term varchar(50) default NULL, hitlist longblob, PRIMARY KEY (id), UNIQUE KEY term (term) ) TYPE=MyISAM; CREATE TABLE IF NOT EXISTS idxWORD01R ( id_bibrec mediumint(9) unsigned NOT NULL, termlist longblob, type enum('CURRENT','FUTURE','TEMPORARY') NOT NULL default 'CURRENT', PRIMARY KEY (id_bibrec,type) ) TYPE=MyISAM; CREATE TABLE IF NOT EXISTS idxWORD02F ( id mediumint(9) unsigned NOT NULL auto_increment, term varchar(50) default NULL, hitlist longblob, PRIMARY KEY (id), UNIQUE KEY term (term) ) TYPE=MyISAM; CREATE TABLE IF NOT EXISTS idxWORD02R ( id_bibrec mediumint(9) unsigned NOT NULL, termlist longblob, type enum('CURRENT','FUTURE','TEMPORARY') NOT NULL default 'CURRENT', PRIMARY KEY (id_bibrec,type) ) TYPE=MyISAM; CREATE TABLE IF NOT EXISTS idxWORD03F ( id mediumint(9) unsigned NOT NULL auto_increment, term varchar(50) default NULL, hitlist longblob, PRIMARY KEY (id), UNIQUE KEY term (term) ) TYPE=MyISAM; CREATE TABLE IF NOT EXISTS idxWORD03R ( id_bibrec mediumint(9) unsigned NOT NULL, termlist longblob, type enum('CURRENT','FUTURE','TEMPORARY') NOT NULL default 'CURRENT', PRIMARY KEY (id_bibrec,type) ) TYPE=MyISAM; CREATE TABLE IF NOT EXISTS idxWORD04F ( id mediumint(9) unsigned NOT NULL auto_increment, term varchar(50) default NULL, hitlist longblob, PRIMARY KEY (id), UNIQUE KEY term (term) ) TYPE=MyISAM; CREATE TABLE IF NOT EXISTS idxWORD04R ( id_bibrec mediumint(9) unsigned NOT NULL, termlist longblob, type enum('CURRENT','FUTURE','TEMPORARY') NOT NULL default 'CURRENT', PRIMARY KEY (id_bibrec,type) ) TYPE=MyISAM; CREATE TABLE IF NOT EXISTS idxWORD05F ( id mediumint(9) unsigned NOT NULL auto_increment, term varchar(50) default NULL, hitlist longblob, PRIMARY KEY (id), UNIQUE KEY term (term) ) TYPE=MyISAM; CREATE TABLE IF NOT EXISTS idxWORD05R ( id_bibrec mediumint(9) unsigned NOT NULL, termlist longblob, type enum('CURRENT','FUTURE','TEMPORARY') NOT NULL default 'CURRENT', PRIMARY KEY (id_bibrec,type) ) TYPE=MyISAM; CREATE TABLE IF NOT EXISTS idxWORD06F ( id mediumint(9) unsigned NOT NULL auto_increment, term varchar(50) default NULL, hitlist longblob, PRIMARY KEY (id), UNIQUE KEY term (term) ) TYPE=MyISAM; CREATE TABLE IF NOT EXISTS idxWORD06R ( id_bibrec mediumint(9) unsigned NOT NULL, termlist longblob, type enum('CURRENT','FUTURE','TEMPORARY') NOT NULL default 'CURRENT', PRIMARY KEY (id_bibrec,type) ) TYPE=MyISAM; CREATE TABLE IF NOT EXISTS idxWORD07F ( id mediumint(9) unsigned NOT NULL auto_increment, term varchar(50) default NULL, hitlist longblob, PRIMARY KEY (id), UNIQUE KEY term (term) ) TYPE=MyISAM; CREATE TABLE IF NOT EXISTS idxWORD07R ( id_bibrec mediumint(9) unsigned NOT NULL, termlist longblob, type enum('CURRENT','FUTURE','TEMPORARY') NOT NULL default 'CURRENT', PRIMARY KEY (id_bibrec,type) ) TYPE=MyISAM; CREATE TABLE IF NOT EXISTS idxWORD08F ( id mediumint(9) unsigned NOT NULL auto_increment, term varchar(50) default NULL, hitlist longblob, PRIMARY KEY (id), UNIQUE KEY term (term) ) TYPE=MyISAM; CREATE TABLE IF NOT EXISTS idxWORD08R ( id_bibrec mediumint(9) unsigned NOT NULL, termlist longblob, type enum('CURRENT','FUTURE','TEMPORARY') NOT NULL default 'CURRENT', PRIMARY KEY (id_bibrec,type) ) TYPE=MyISAM; CREATE TABLE IF NOT EXISTS idxWORD09F ( id mediumint(9) unsigned NOT NULL auto_increment, term varchar(50) default NULL, hitlist longblob, PRIMARY KEY (id), UNIQUE KEY term (term) ) TYPE=MyISAM; CREATE TABLE IF NOT EXISTS idxWORD09R ( id_bibrec mediumint(9) unsigned NOT NULL, termlist longblob, type enum('CURRENT','FUTURE','TEMPORARY') NOT NULL default 'CURRENT', PRIMARY KEY (id_bibrec,type) ) TYPE=MyISAM; CREATE TABLE IF NOT EXISTS idxWORD10F ( id mediumint(9) unsigned NOT NULL auto_increment, term varchar(50) default NULL, hitlist longblob, PRIMARY KEY (id), UNIQUE KEY term (term) ) TYPE=MyISAM; CREATE TABLE IF NOT EXISTS idxWORD10R ( id_bibrec mediumint(9) unsigned NOT NULL, termlist longblob, type enum('CURRENT','FUTURE','TEMPORARY') NOT NULL default 'CURRENT', PRIMARY KEY (id_bibrec,type) ) TYPE=MyISAM; CREATE TABLE IF NOT EXISTS idxWORD11F ( id mediumint(9) unsigned NOT NULL auto_increment, term varchar(50) default NULL, hitlist longblob, PRIMARY KEY (id), UNIQUE KEY term (term) ) TYPE=MyISAM; CREATE TABLE IF NOT EXISTS idxWORD11R ( id_bibrec mediumint(9) unsigned NOT NULL, termlist longblob, type enum('CURRENT','FUTURE','TEMPORARY') NOT NULL default 'CURRENT', PRIMARY KEY (id_bibrec,type) ) TYPE=MyISAM; CREATE TABLE IF NOT EXISTS idxPHRASE01F ( id mediumint(9) unsigned NOT NULL auto_increment, term text default NULL, hitlist longblob, PRIMARY KEY (id), KEY term (term(50)) ) TYPE=MyISAM; CREATE TABLE IF NOT EXISTS idxPHRASE01R ( id_bibrec mediumint(9) unsigned NOT NULL, termlist longblob, type enum('CURRENT','FUTURE','TEMPORARY') NOT NULL default 'CURRENT', PRIMARY KEY (id_bibrec,type) ) TYPE=MyISAM; CREATE TABLE IF NOT EXISTS idxPHRASE02F ( id mediumint(9) unsigned NOT NULL auto_increment, term text default NULL, hitlist longblob, PRIMARY KEY (id), KEY term (term(50)) ) TYPE=MyISAM; CREATE TABLE IF NOT EXISTS idxPHRASE02R ( id_bibrec mediumint(9) unsigned NOT NULL, termlist longblob, type enum('CURRENT','FUTURE','TEMPORARY') NOT NULL default 'CURRENT', PRIMARY KEY (id_bibrec,type) ) TYPE=MyISAM; CREATE TABLE IF NOT EXISTS idxPHRASE03F ( id mediumint(9) unsigned NOT NULL auto_increment, term text default NULL, hitlist longblob, PRIMARY KEY (id), KEY term (term(50)) ) TYPE=MyISAM; CREATE TABLE IF NOT EXISTS idxPHRASE03R ( id_bibrec mediumint(9) unsigned NOT NULL, termlist longblob, type enum('CURRENT','FUTURE','TEMPORARY') NOT NULL default 'CURRENT', PRIMARY KEY (id_bibrec,type) ) TYPE=MyISAM; CREATE TABLE IF NOT EXISTS idxPHRASE04F ( id mediumint(9) unsigned NOT NULL auto_increment, term text default NULL, hitlist longblob, PRIMARY KEY (id), KEY term (term(50)) ) TYPE=MyISAM; CREATE TABLE IF NOT EXISTS idxPHRASE04R ( id_bibrec mediumint(9) unsigned NOT NULL, termlist longblob, type enum('CURRENT','FUTURE','TEMPORARY') NOT NULL default 'CURRENT', PRIMARY KEY (id_bibrec,type) ) TYPE=MyISAM; CREATE TABLE IF NOT EXISTS idxPHRASE05F ( id mediumint(9) unsigned NOT NULL auto_increment, term text default NULL, hitlist longblob, PRIMARY KEY (id), KEY term (term(50)) ) TYPE=MyISAM; CREATE TABLE IF NOT EXISTS idxPHRASE05R ( id_bibrec mediumint(9) unsigned NOT NULL, termlist longblob, type enum('CURRENT','FUTURE','TEMPORARY') NOT NULL default 'CURRENT', PRIMARY KEY (id_bibrec,type) ) TYPE=MyISAM; CREATE TABLE IF NOT EXISTS idxPHRASE06F ( id mediumint(9) unsigned NOT NULL auto_increment, term text default NULL, hitlist longblob, PRIMARY KEY (id), KEY term (term(50)) ) TYPE=MyISAM; CREATE TABLE IF NOT EXISTS idxPHRASE06R ( id_bibrec mediumint(9) unsigned NOT NULL, termlist longblob, type enum('CURRENT','FUTURE','TEMPORARY') NOT NULL default 'CURRENT', PRIMARY KEY (id_bibrec,type) ) TYPE=MyISAM; CREATE TABLE IF NOT EXISTS idxPHRASE07F ( id mediumint(9) unsigned NOT NULL auto_increment, term text default NULL, hitlist longblob, PRIMARY KEY (id), KEY term (term(50)) ) TYPE=MyISAM; CREATE TABLE IF NOT EXISTS idxPHRASE07R ( id_bibrec mediumint(9) unsigned NOT NULL, termlist longblob, type enum('CURRENT','FUTURE','TEMPORARY') NOT NULL default 'CURRENT', PRIMARY KEY (id_bibrec,type) ) TYPE=MyISAM; CREATE TABLE IF NOT EXISTS idxPHRASE08F ( id mediumint(9) unsigned NOT NULL auto_increment, term text default NULL, hitlist longblob, PRIMARY KEY (id), KEY term (term(50)) ) TYPE=MyISAM; CREATE TABLE IF NOT EXISTS idxPHRASE08R ( id_bibrec mediumint(9) unsigned NOT NULL, termlist longblob, type enum('CURRENT','FUTURE','TEMPORARY') NOT NULL default 'CURRENT', PRIMARY KEY (id_bibrec,type) ) TYPE=MyISAM; CREATE TABLE IF NOT EXISTS idxPHRASE09F ( id mediumint(9) unsigned NOT NULL auto_increment, term text default NULL, hitlist longblob, PRIMARY KEY (id), KEY term (term(50)) ) TYPE=MyISAM; CREATE TABLE IF NOT EXISTS idxPHRASE09R ( id_bibrec mediumint(9) unsigned NOT NULL, termlist longblob, type enum('CURRENT','FUTURE','TEMPORARY') NOT NULL default 'CURRENT', PRIMARY KEY (id_bibrec,type) ) TYPE=MyISAM; CREATE TABLE IF NOT EXISTS idxPHRASE10F ( id mediumint(9) unsigned NOT NULL auto_increment, term text default NULL, hitlist longblob, PRIMARY KEY (id), KEY term (term(50)) ) TYPE=MyISAM; CREATE TABLE IF NOT EXISTS idxPHRASE10R ( id_bibrec mediumint(9) unsigned NOT NULL, termlist longblob, type enum('CURRENT','FUTURE','TEMPORARY') NOT NULL default 'CURRENT', PRIMARY KEY (id_bibrec,type) ) TYPE=MyISAM; CREATE TABLE IF NOT EXISTS idxPHRASE11F ( id mediumint(9) unsigned NOT NULL auto_increment, term text default NULL, hitlist longblob, PRIMARY KEY (id), KEY term (term(50)) ) TYPE=MyISAM; CREATE TABLE IF NOT EXISTS idxPHRASE11R ( id_bibrec mediumint(9) unsigned NOT NULL, termlist longblob, type enum('CURRENT','FUTURE','TEMPORARY') NOT NULL default 'CURRENT', PRIMARY KEY (id_bibrec,type) ) TYPE=MyISAM; -- tables for ranking: CREATE TABLE IF NOT EXISTS rnkMETHOD ( id mediumint(9) unsigned NOT NULL auto_increment, name varchar(20) NOT NULL default '', last_updated datetime NOT NULL default '0000-00-00 00:00:00', PRIMARY KEY (id), UNIQUE KEY name (name) ) TYPE=MyISAM; CREATE TABLE IF NOT EXISTS rnkMETHODNAME ( id_rnkMETHOD mediumint(9) unsigned NOT NULL, ln char(5) NOT NULL default '', type char(3) NOT NULL default 'sn', value varchar(255) NOT NULL, PRIMARY KEY (id_rnkMETHOD,ln,type) ) TYPE=MyISAM; CREATE TABLE IF NOT EXISTS rnkMETHODDATA ( id_rnkMETHOD mediumint(9) unsigned NOT NULL, relevance_data longblob, PRIMARY KEY (id_rnkMETHOD) ) TYPE=MyISAM; CREATE TABLE IF NOT EXISTS collection_rnkMETHOD ( id_collection mediumint(9) unsigned NOT NULL, id_rnkMETHOD mediumint(9) unsigned NOT NULL, score tinyint(4) unsigned NOT NULL default '0', PRIMARY KEY (id_collection,id_rnkMETHOD) ) TYPE=MyISAM; CREATE TABLE IF NOT EXISTS rnkWORD01F ( id mediumint(9) unsigned NOT NULL auto_increment, term varchar(50) default NULL, hitlist longblob, PRIMARY KEY (id), UNIQUE KEY term (term) ) TYPE=MyISAM; CREATE TABLE IF NOT EXISTS rnkWORD01R ( id_bibrec mediumint(9) unsigned NOT NULL, termlist longblob, type enum('CURRENT','FUTURE','TEMPORARY') NOT NULL default 'CURRENT', PRIMARY KEY (id_bibrec,type) ) TYPE=MyISAM; CREATE TABLE IF NOT EXISTS rnkAUTHORDATA ( aterm varchar(50) default NULL, hitlist longblob, UNIQUE KEY aterm (aterm) ) TYPE=MyISAM; CREATE TABLE IF NOT EXISTS rnkPAGEVIEWS ( id_bibrec mediumint(8) unsigned default NULL, id_user int(15) unsigned default '0', client_host int(10) unsigned default NULL, view_time datetime default '0000-00-00 00:00:00', KEY view_time (view_time), KEY id_bibrec (id_bibrec) ) TYPE=MyISAM; CREATE TABLE IF NOT EXISTS rnkDOWNLOADS ( id_bibrec mediumint(8) unsigned default NULL, download_time datetime default '0000-00-00 00:00:00', client_host int(10) unsigned default NULL, id_user int(15) unsigned default NULL, id_bibdoc mediumint(9) unsigned default NULL, file_version smallint(2) unsigned default NULL, file_format varchar(10) NULL default NULL, KEY download_time (download_time), KEY id_bibrec (id_bibrec) ) TYPE=MyISAM; -- a table for citations. record-cites-record CREATE TABLE IF NOT EXISTS rnkCITATIONDATA ( id mediumint(8) unsigned NOT NULL auto_increment, object_name varchar(255) NOT NULL, object_value longblob, last_updated datetime NOT NULL default '0000-00-00', PRIMARY KEY id (id), UNIQUE KEY object_name (object_name) ) TYPE=MyISAM; -- a table for missing citations. This should be scanned by a program -- occasionally to check if some publication has been cited more than -- 50 times (or such), and alert cataloguers to create record for that -- external citation -- -- id_bibrec is the id of the record. extcitepubinfo is publication info -- that looks in general like hep-th/0112088 CREATE TABLE IF NOT EXISTS rnkCITATIONDATAEXT ( id_bibrec int(8) unsigned, extcitepubinfo varchar(255) NOT NULL, PRIMARY KEY (id_bibrec, extcitepubinfo), KEY extcitepubinfo (extcitepubinfo) ) TYPE=MyISAM; -- tables for collections and collection tree: CREATE TABLE IF NOT EXISTS collection ( id mediumint(9) unsigned NOT NULL auto_increment, name varchar(255) NOT NULL, dbquery text, nbrecs int(10) unsigned default '0', reclist longblob, restricted varchar(255) default NULL, PRIMARY KEY (id), UNIQUE KEY name (name), KEY dbquery (dbquery(50)) ) TYPE=MyISAM; CREATE TABLE IF NOT EXISTS collectionname ( id_collection mediumint(9) unsigned NOT NULL, ln char(5) NOT NULL default '', type char(3) NOT NULL default 'sn', value varchar(255) NOT NULL, PRIMARY KEY (id_collection,ln,type) ) TYPE=MyISAM; CREATE TABLE IF NOT EXISTS collection_collection ( id_dad mediumint(9) unsigned NOT NULL, id_son mediumint(9) unsigned NOT NULL, type char(1) NOT NULL default 'r', score tinyint(4) unsigned NOT NULL default '0', PRIMARY KEY (id_dad,id_son) ) TYPE=MyISAM; -- tables for OAI sets: CREATE TABLE IF NOT EXISTS oaiARCHIVE ( id mediumint(9) unsigned NOT NULL auto_increment, setName varchar(255) NOT NULL default '', setSpec varchar(255) NOT NULL default '', setCollection varchar(255) NOT NULL default '', setDescription text NOT NULL default '', setDefinition text NOT NULL default '', setRecList longblob, p1 text NOT NULL default '', f1 text NOT NULL default '', m1 text NOT NULL default '', p2 text NOT NULL default '', f2 text NOT NULL default '', m2 text NOT NULL default '', p3 text NOT NULL default '', f3 text NOT NULL default '', m3 text NOT NULL default '', PRIMARY KEY (id) ) TYPE=MyISAM; CREATE TABLE IF NOT EXISTS oaiHARVEST ( id mediumint(9) unsigned NOT NULL auto_increment, baseurl varchar(255) NOT NULL default '', metadataprefix varchar(255) NOT NULL default 'oai_dc', arguments text, comment text, bibconvertcfgfile varchar(255), name varchar(255) NOT NULL, lastrun datetime, frequency mediumint(12) NOT NULL default '0', postprocess varchar(20) NOT NULL default 'h', bibfilterprogram varchar(255) NOT NULL default '', setspecs text NOT NULL default '', PRIMARY KEY (id) ) TYPE=MyISAM; CREATE TABLE IF NOT EXISTS oaiHARVESTLOG ( id_oaiHARVEST mediumint(9) unsigned NOT NULL REFERENCES oaiHARVEST, -- source we harvest from id_bibrec mediumint(8) unsigned NOT NULL default '0', -- internal record id ( filled by bibupload ) bibupload_task_id int NOT NULL default 0, -- bib upload task number oai_id varchar(40) NOT NULL default "", -- OAI record identifier we harvested date_harvested datetime NOT NULL default '0000-00-00', -- when we harvested date_inserted datetime NOT NULL default '0000-00-00', -- when it was inserted inserted_to_db char(1) NOT NULL default 'P', -- where it was inserted (P=prod, H=holding-pen, etc) PRIMARY KEY (bibupload_task_id, oai_id, date_harvested) ) TYPE=MyISAM; -- tables for portal elements: CREATE TABLE IF NOT EXISTS collection_portalbox ( id_collection mediumint(9) unsigned NOT NULL, id_portalbox mediumint(9) unsigned NOT NULL, ln char(5) NOT NULL default '', position char(3) NOT NULL default 'top', score tinyint(4) unsigned NOT NULL default '0', PRIMARY KEY (id_collection,id_portalbox,ln) ) TYPE=MyISAM; CREATE TABLE IF NOT EXISTS portalbox ( id mediumint(9) unsigned NOT NULL auto_increment, title text NOT NULL, body text NOT NULL, UNIQUE KEY id (id) ) TYPE=MyISAM; -- tables for search examples: CREATE TABLE IF NOT EXISTS collection_example ( id_collection mediumint(9) unsigned NOT NULL, id_example mediumint(9) unsigned NOT NULL, score tinyint(4) unsigned NOT NULL default '0', PRIMARY KEY (id_collection,id_example) ) TYPE=MyISAM; CREATE TABLE IF NOT EXISTS example ( id mediumint(9) unsigned NOT NULL auto_increment, type text NOT NULL default '', body text NOT NULL, PRIMARY KEY (id) ) TYPE=MyISAM; -- tables for collection formats: CREATE TABLE IF NOT EXISTS collection_format ( id_collection mediumint(9) unsigned NOT NULL, id_format mediumint(9) unsigned NOT NULL, score tinyint(4) unsigned NOT NULL default '0', PRIMARY KEY (id_collection,id_format) ) TYPE=MyISAM; CREATE TABLE IF NOT EXISTS format ( id mediumint(9) unsigned NOT NULL auto_increment, name varchar(255) NOT NULL, code varchar(6) NOT NULL, description varchar(255) default '', content_type varchar(255) default '', visibility tinyint NOT NULL default '1', PRIMARY KEY (id), UNIQUE KEY code (code) ) TYPE=MyISAM; CREATE TABLE IF NOT EXISTS formatname ( id_format mediumint(9) unsigned NOT NULL, ln char(5) NOT NULL default '', type char(3) NOT NULL default 'sn', value varchar(255) NOT NULL, PRIMARY KEY (id_format,ln,type) ) TYPE=MyISAM; -- tables for collection detailed page options CREATE TABLE IF NOT EXISTS collectiondetailedrecordpagetabs ( id_collection mediumint(9) unsigned NOT NULL, tabs varchar(255) NOT NULL default '', PRIMARY KEY (id_collection) ) TYPE=MyISAM; -- tables for search options and MARC tags: CREATE TABLE IF NOT EXISTS collection_field_fieldvalue ( id_collection mediumint(9) unsigned NOT NULL, id_field mediumint(9) unsigned NOT NULL, id_fieldvalue mediumint(9) unsigned, type char(3) NOT NULL default 'src', score tinyint(4) unsigned NOT NULL default '0', score_fieldvalue tinyint(4) unsigned NOT NULL default '0', KEY id_collection (id_collection), KEY id_field (id_field), KEY id_fieldvalue (id_fieldvalue) ) TYPE=MyISAM; CREATE TABLE IF NOT EXISTS field ( id mediumint(9) unsigned NOT NULL auto_increment, name varchar(255) NOT NULL, code varchar(255) NOT NULL, PRIMARY KEY (id), UNIQUE KEY code (code) ) TYPE=MyISAM; CREATE TABLE IF NOT EXISTS fieldname ( id_field mediumint(9) unsigned NOT NULL, ln char(5) NOT NULL default '', type char(3) NOT NULL default 'sn', value varchar(255) NOT NULL, PRIMARY KEY (id_field,ln,type) ) TYPE=MyISAM; CREATE TABLE IF NOT EXISTS fieldvalue ( id mediumint(9) unsigned NOT NULL auto_increment, name varchar(255) NOT NULL, value text NOT NULL, PRIMARY KEY (id) ) TYPE=MyISAM; CREATE TABLE IF NOT EXISTS field_tag ( id_field mediumint(9) unsigned NOT NULL, id_tag mediumint(9) unsigned NOT NULL, score tinyint(4) unsigned NOT NULL default '0', PRIMARY KEY (id_field,id_tag) ) TYPE=MyISAM; CREATE TABLE IF NOT EXISTS tag ( id mediumint(9) unsigned NOT NULL auto_increment, name varchar(255) NOT NULL, value char(6) NOT NULL, PRIMARY KEY (id) ) TYPE=MyISAM; -- tables for file management CREATE TABLE IF NOT EXISTS bibdoc ( id mediumint(9) unsigned NOT NULL auto_increment, status varchar(50) NOT NULL default '', docname varchar(250) COLLATE utf8_bin NOT NULL default 'file', creation_date datetime NOT NULL default '0000-00-00', modification_date datetime NOT NULL default '0000-00-00', more_info mediumblob NULL default NULL, PRIMARY KEY (id), KEY docname (docname), KEY creation_date (creation_date), KEY modification_date (modification_date) ) TYPE=MyISAM; CREATE TABLE IF NOT EXISTS bibrec_bibdoc ( id_bibrec mediumint(9) unsigned NOT NULL default '0', id_bibdoc mediumint(9) unsigned NOT NULL default '0', type varchar(255), KEY (id_bibrec), KEY (id_bibdoc) ) TYPE=MyISAM; CREATE TABLE IF NOT EXISTS bibdoc_bibdoc ( id_bibdoc1 mediumint(9) unsigned NOT NULL, id_bibdoc2 mediumint(9) unsigned NOT NULL, type varchar(255), KEY (id_bibdoc1), KEY (id_bibdoc2) ) TYPE=MyISAM; -- tables for publication requests: CREATE TABLE IF NOT EXISTS publreq ( id int(11) NOT NULL auto_increment, host varchar(255) NOT NULL default '', date varchar(255) NOT NULL default '', name varchar(255) NOT NULL default '', email varchar(255) NOT NULL default '', address text NOT NULL, publication text NOT NULL, PRIMARY KEY (id) ) TYPE=MyISAM; -- table for sessions and users: CREATE TABLE IF NOT EXISTS session ( session_key varchar(32) NOT NULL default '', session_expiry int(11) unsigned NOT NULL default '0', session_object blob, uid int(15) unsigned NOT NULL, UNIQUE KEY session_key (session_key), KEY uid (uid) ) TYPE=MyISAM; CREATE TABLE IF NOT EXISTS user ( id int(15) unsigned NOT NULL auto_increment, email varchar(255) NOT NULL default '', password blob NOT NULL, note varchar(255) default NULL, settings blob default NULL, nickname varchar(255) NOT NULL default '', last_login datetime NOT NULL default '0000-00-00 00:00:00', PRIMARY KEY id (id), KEY email (email), KEY nickname (nickname) ) TYPE=MyISAM; -- tables for usergroups CREATE TABLE IF NOT EXISTS usergroup ( id int(15) unsigned NOT NULL auto_increment, name varchar(255) NOT NULL default '', description text default '', join_policy char(2) NOT NULL default '', login_method varchar(255) NOT NULL default 'INTERNAL', PRIMARY KEY (id), UNIQUE KEY login_method_name (login_method(70), name), KEY name (name) ) TYPE=MyISAM; CREATE TABLE IF NOT EXISTS user_usergroup ( id_user int(15) unsigned NOT NULL default '0', id_usergroup int(15) unsigned NOT NULL default '0', user_status char(1) NOT NULL default '', user_status_date datetime NOT NULL default '0000-00-00 00:00:00', KEY id_user (id_user), KEY id_usergroup (id_usergroup) ) TYPE=MyISAM; -- tables for access control engine CREATE TABLE IF NOT EXISTS accROLE ( id int(15) unsigned NOT NULL auto_increment, name varchar(32), description varchar(255), firerole_def_ser blob NULL, firerole_def_src text NULL, PRIMARY KEY (id), UNIQUE KEY name (name) ) TYPE=MyISAM; CREATE TABLE IF NOT EXISTS user_accROLE ( id_user int(15) unsigned NOT NULL, id_accROLE int(15) unsigned NOT NULL, expiration datetime NOT NULL default '9999-12-31 23:59:59', PRIMARY KEY (id_user, id_accROLE) ) TYPE=MyISAM; CREATE TABLE IF NOT EXISTS accMAILCOOKIE ( id int(15) unsigned NOT NULL auto_increment, data blob NOT NULL, expiration datetime NOT NULL default '9999-12-31 23:59:59', kind varchar(32) NOT NULL, onetime boolean NOT NULL default 0, status char(1) NOT NULL default 'W', PRIMARY KEY (id) ) TYPE=MyISAM; CREATE TABLE IF NOT EXISTS accACTION ( id int(15) unsigned NOT NULL auto_increment, name varchar(32), description varchar(255), allowedkeywords varchar(255), optional ENUM ('yes', 'no') NOT NULL default 'no', PRIMARY KEY (id), UNIQUE KEY name (name) ) TYPE=MyISAM; CREATE TABLE IF NOT EXISTS accARGUMENT ( id int(15) unsigned NOT NULL auto_increment, keyword varchar (32), value varchar(64), PRIMARY KEY (id), KEY KEYVAL (keyword, value) ) TYPE=MyISAM; CREATE TABLE IF NOT EXISTS accROLE_accACTION_accARGUMENT ( id_accROLE int(15), id_accACTION int(15), id_accARGUMENT int(15), argumentlistid mediumint(8), KEY id_accROLE (id_accROLE), KEY id_accACTION (id_accACTION), KEY id_accARGUMENT (id_accARGUMENT) ) TYPE=MyISAM; -- tables for personal/collaborative features (baskets, alerts, searches, messages, usergroups): CREATE TABLE IF NOT EXISTS user_query ( id_user int(15) unsigned NOT NULL default '0', id_query int(15) unsigned NOT NULL default '0', hostname varchar(50) default 'unknown host', date datetime default NULL, KEY id_user (id_user,id_query) ) TYPE=MyISAM; CREATE TABLE IF NOT EXISTS query ( id int(15) unsigned NOT NULL auto_increment, type char(1) NOT NULL default 'r', urlargs text NOT NULL, PRIMARY KEY (id), KEY urlargs (urlargs(100)) ) TYPE=MyISAM; CREATE TABLE IF NOT EXISTS user_query_basket ( id_user int(15) unsigned NOT NULL default '0', id_query int(15) unsigned NOT NULL default '0', id_basket int(15) unsigned NOT NULL default '0', frequency varchar(5) NOT NULL default '', date_creation date default NULL, date_lastrun date default '0000-00-00', alert_name varchar(30) NOT NULL default '', notification char(1) NOT NULL default 'y', PRIMARY KEY (id_user,id_query,frequency,id_basket), KEY alert_name (alert_name) ) TYPE=MyISAM; -- baskets CREATE TABLE IF NOT EXISTS bskBASKET ( id int(15) unsigned NOT NULL auto_increment, id_owner int(15) unsigned NOT NULL default '0', name varchar(50) NOT NULL default '', date_modification datetime NOT NULL default '0000-00-00 00:00:00', nb_views int(15) NOT NULL default '0', PRIMARY KEY (id), KEY id_owner (id_owner), KEY name (name) ) TYPE=MyISAM; CREATE TABLE IF NOT EXISTS bskREC ( id_bibrec_or_bskEXTREC int(16) NOT NULL default '0', id_bskBASKET int(15) unsigned NOT NULL default '0', id_user_who_added_item int(15) NOT NULL default '0', score int(15) NOT NULL default '0', date_added datetime NOT NULL default '0000-00-00 00:00:00', PRIMARY KEY (id_bibrec_or_bskEXTREC,id_bskBASKET), KEY id_bibrec_or_bskEXTREC (id_bibrec_or_bskEXTREC), KEY id_bskBASKET (id_bskBASKET), KEY score (score), KEY date_added (date_added) ) TYPE=MyISAM; CREATE TABLE IF NOT EXISTS bskEXTREC ( id int(15) unsigned NOT NULL default '0', creation_date datetime NOT NULL default '0000-00-00 00:00:00', modification_date datetime NOT NULL default '0000-00-00 00:00:00', PRIMARY KEY (id) ) TYPE=MyISAM; CREATE TABLE IF NOT EXISTS bskEXTFMT ( id int(15) unsigned NOT NULL auto_increment, id_bskEXTREC int(15) unsigned NOT NULL default '0', format varchar(10) NOT NULL default '', last_updated datetime NOT NULL default '0000-00-00 00:00:00', value longblob, PRIMARY KEY (id), KEY id_bskEXTREC (id_bskEXTREC), KEY format (format) ) TYPE=MyISAM; CREATE TABLE IF NOT EXISTS user_bskBASKET ( id_user int(15) unsigned NOT NULL default '0', id_bskBASKET int(15) unsigned NOT NULL default '0', topic varchar(50) NOT NULL default '', PRIMARY KEY (id_user,id_bskBASKET), KEY id_user (id_user), KEY id_bskBASKET (id_bskBASKET) ) TYPE=MyISAM; CREATE TABLE IF NOT EXISTS usergroup_bskBASKET ( id_usergroup int(15) unsigned NOT NULL default '0', id_bskBASKET int(15) unsigned NOT NULL default '0', topic varchar(50) NOT NULL default '', date_shared datetime NOT NULL default '0000-00-00 00:00:00', share_level char(2) NOT NULL default '', PRIMARY KEY (id_usergroup,id_bskBASKET), KEY id_usergroup (id_usergroup), KEY id_bskBASKET (id_bskBASKET) ) TYPE=MyISAM; CREATE TABLE IF NOT EXISTS bskRECORDCOMMENT ( id int(15) unsigned NOT NULL auto_increment, id_bibrec_or_bskEXTREC int(16) NOT NULL default '0', id_bskBASKET int(15) unsigned NOT NULL default '0', id_user int(15) unsigned NOT NULL default '0', title varchar(255) NOT NULL default '', body text NOT NULL, date_creation datetime NOT NULL default '0000-00-00 00:00:00', priority int(15) NOT NULL default '0', PRIMARY KEY (id), KEY id_bskBASKET (id_bskBASKET), KEY id_bibrec_or_bskEXTREC (id_bibrec_or_bskEXTREC), KEY date_creation (date_creation) ) TYPE=MyISAM; -- tables for messaging system CREATE TABLE IF NOT EXISTS msgMESSAGE ( id int(15) unsigned NOT NULL auto_increment, id_user_from int(15) unsigned NOT NULL default '0', sent_to_user_nicks text NOT NULL default '', sent_to_group_names text NOT NULL default '', subject text NOT NULL default '', body text default NULL, sent_date datetime NOT NULL default '0000-00-00 00:00:00', received_date datetime NULL default '0000-00-00 00:00:00', PRIMARY KEY id (id), KEY id_user_from (id_user_from) ) TYPE=MyISAM; CREATE TABLE IF NOT EXISTS user_msgMESSAGE ( id_user_to int(15) unsigned NOT NULL default '0', id_msgMESSAGE int(15) unsigned NOT NULL default '0', status char(1) NOT NULL default 'N', PRIMARY KEY id (id_user_to, id_msgMESSAGE), KEY id_user_to (id_user_to), KEY id_msgMESSAGE (id_msgMESSAGE) ) TYPE=MyISAM; -- tables for WebComment CREATE TABLE IF NOT EXISTS cmtRECORDCOMMENT ( id int(15) unsigned NOT NULL auto_increment, id_bibrec int(15) unsigned NOT NULL default '0', id_user int(15) unsigned NOT NULL default '0', title varchar(255) NOT NULL default '', body text NOT NULL default '', date_creation datetime NOT NULL default '0000-00-00 00:00:00', star_score tinyint(5) unsigned NOT NULL default '0', nb_votes_yes int(10) NOT NULL default '0', nb_votes_total int(10) unsigned NOT NULL default '0', nb_abuse_reports int(10) NOT NULL default '0', PRIMARY KEY (id), KEY id_bibrec (id_bibrec), KEY id_user (id_user) ) TYPE=MyISAM; CREATE TABLE IF NOT EXISTS cmtACTIONHISTORY ( id_cmtRECORDCOMMENT int(15) unsigned NULL, id_bibrec int(15) unsigned NULL, id_user int(15) unsigned NULL default NULL, client_host int(10) unsigned default NULL, action_time datetime NOT NULL default '0000-00-00 00:00:00', action_code char(1) NOT NULL, KEY id_cmtRECORDCOMMENT (id_cmtRECORDCOMMENT), KEY client_host (client_host), KEY id_user (id_user), KEY action_code (action_code) ) TYPE=MyISAM; -- tables for BibFormat: CREATE TABLE IF NOT EXISTS fmtKNOWLEDGEBASES ( id mediumint(8) unsigned NOT NULL auto_increment, name varchar(255) default '', description text default '', PRIMARY KEY (id), UNIQUE KEY name (name) ) TYPE=MyISAM; CREATE TABLE IF NOT EXISTS fmtKNOWLEDGEBASEMAPPINGS ( id mediumint(8) unsigned NOT NULL auto_increment, m_key varchar(255) NOT NULL default '', m_value text NOT NULL default '', id_fmtKNOWLEDGEBASES mediumint(8) NOT NULL default '0', PRIMARY KEY (id), KEY id_fmtKNOWLEDGEBASES (id_fmtKNOWLEDGEBASES) ) TYPE=MyISAM; -- tables for WebSubmit: CREATE TABLE IF NOT EXISTS sbmACTION ( lactname text, sactname char(3) NOT NULL default '', dir text, cd date default NULL, md date default NULL, actionbutton text, statustext text, PRIMARY KEY (sactname) ) TYPE=MyISAM PACK_KEYS=1; CREATE TABLE IF NOT EXISTS sbmALLFUNCDESCR ( function varchar(40) NOT NULL default '', description tinytext, PRIMARY KEY (function) ) TYPE=MyISAM PACK_KEYS=1; CREATE TABLE IF NOT EXISTS sbmAPPROVAL ( doctype varchar(10) NOT NULL default '', categ varchar(50) NOT NULL default '', rn varchar(50) NOT NULL default '', status varchar(10) NOT NULL default '', dFirstReq datetime NOT NULL default '0000-00-00 00:00:00', dLastReq datetime NOT NULL default '0000-00-00 00:00:00', dAction datetime NOT NULL default '0000-00-00 00:00:00', access varchar(20) NOT NULL default '0', note text NOT NULL default '', PRIMARY KEY (rn) ) TYPE=MyISAM PACK_KEYS=1; CREATE TABLE IF NOT EXISTS sbmCPLXAPPROVAL ( doctype varchar(10) NOT NULL default '', categ varchar(50) NOT NULL default '', rn varchar(50) NOT NULL default '', type varchar(10) NOT NULL, status varchar(10) NOT NULL, id_group int(15) unsigned NOT NULL default '0', id_bskBASKET int(15) unsigned NOT NULL default '0', id_EdBoardGroup int(15) unsigned NOT NULL default '0', dFirstReq datetime NOT NULL default '0000-00-00 00:00:00', dLastReq datetime NOT NULL default '0000-00-00 00:00:00', dEdBoardSel datetime NOT NULL default '0000-00-00 00:00:00', dRefereeSel datetime NOT NULL default '0000-00-00 00:00:00', dRefereeRecom datetime NOT NULL default '0000-00-00 00:00:00', dEdBoardRecom datetime NOT NULL default '0000-00-00 00:00:00', dPubComRecom datetime NOT NULL default '0000-00-00 00:00:00', dProjectLeaderAction datetime NOT NULL default '0000-00-00 00:00:00', PRIMARY KEY (rn, type) ) TYPE=MyISAM PACK_KEYS=1; CREATE TABLE IF NOT EXISTS sbmCOLLECTION ( id int(11) NOT NULL auto_increment, name varchar(100) NOT NULL default '', PRIMARY KEY (id) ) TYPE=MyISAM; CREATE TABLE IF NOT EXISTS sbmCOLLECTION_sbmCOLLECTION ( id_father int(11) NOT NULL default '0', id_son int(11) NOT NULL default '0', catalogue_order int(11) NOT NULL default '0' ) TYPE=MyISAM; CREATE TABLE IF NOT EXISTS sbmCOLLECTION_sbmDOCTYPE ( id_father int(11) NOT NULL default '0', id_son char(10) NOT NULL default '0', catalogue_order int(11) NOT NULL default '0' ) TYPE=MyISAM; CREATE TABLE IF NOT EXISTS sbmCATEGORIES ( doctype varchar(10) NOT NULL default '', sname varchar(75) NOT NULL default '', lname varchar(75) NOT NULL default '', score tinyint unsigned NOT NULL default 0, PRIMARY KEY (doctype, sname), KEY doctype (doctype), KEY sname (sname) ) TYPE=MyISAM PACK_KEYS=1; CREATE TABLE IF NOT EXISTS sbmCHECKS ( chname varchar(15) NOT NULL default '', chdesc text, cd date default NULL, md date default NULL, chefi1 text, chefi2 text, PRIMARY KEY (chname) ) TYPE=MyISAM PACK_KEYS=1; CREATE TABLE IF NOT EXISTS sbmDOCTYPE ( ldocname text, sdocname varchar(10) default NULL, cd date default NULL, md date default NULL, description text ) TYPE=MyISAM PACK_KEYS=1; CREATE TABLE IF NOT EXISTS sbmFIELD ( subname varchar(13) default NULL, pagenb int(11) default NULL, fieldnb int(11) default NULL, fidesc varchar(15) default NULL, fitext text, level char(1) default NULL, sdesc text, checkn text, cd date default NULL, md date default NULL, fiefi1 text, fiefi2 text ) TYPE=MyISAM PACK_KEYS=1; CREATE TABLE IF NOT EXISTS sbmFIELDDESC ( name varchar(15) NOT NULL default '', alephcode varchar(50) default NULL, marccode varchar(50) NOT NULL default '', type char(1) default NULL, size int(11) default NULL, rows int(11) default NULL, cols int(11) default NULL, maxlength int(11) default NULL, val text, fidesc text, cd date default NULL, md date default NULL, modifytext text, fddfi2 text, cookie int(11) default '0', PRIMARY KEY (name) ) TYPE=MyISAM PACK_KEYS=1; CREATE TABLE IF NOT EXISTS sbmFORMATEXTENSION ( FILE_FORMAT text NOT NULL, FILE_EXTENSION text NOT NULL ) TYPE=MyISAM PACK_KEYS=1; CREATE TABLE IF NOT EXISTS sbmFUNCTIONS ( action varchar(10) NOT NULL default '', doctype varchar(10) NOT NULL default '', function varchar(40) NOT NULL default '', score int(11) NOT NULL default '0', step tinyint(4) NOT NULL default '1' ) TYPE=MyISAM PACK_KEYS=1; CREATE TABLE IF NOT EXISTS sbmFUNDESC ( function varchar(40) NOT NULL default '', param varchar(40) default NULL ) TYPE=MyISAM PACK_KEYS=1; CREATE TABLE IF NOT EXISTS sbmGFILERESULT ( FORMAT text NOT NULL, RESULT text NOT NULL ) TYPE=MyISAM PACK_KEYS=1; CREATE TABLE IF NOT EXISTS sbmIMPLEMENT ( docname varchar(10) default NULL, actname char(3) default NULL, displayed char(1) default NULL, subname varchar(13) default NULL, nbpg int(11) default NULL, cd date default NULL, md date default NULL, buttonorder int(11) default NULL, statustext text, level char(1) NOT NULL default '', score int(11) NOT NULL default '0', stpage int(11) NOT NULL default '0', endtxt varchar(100) NOT NULL default '' ) TYPE=MyISAM PACK_KEYS=1; CREATE TABLE IF NOT EXISTS sbmPARAMETERS ( doctype varchar(10) NOT NULL default '', name varchar(40) NOT NULL default '', value text NOT NULL default '', PRIMARY KEY (doctype,name) ) TYPE=MyISAM; CREATE TABLE IF NOT EXISTS sbmPUBLICATION ( doctype varchar(10) NOT NULL default '', categ varchar(50) NOT NULL default '', rn varchar(50) NOT NULL default '', status varchar(10) NOT NULL default '', dFirstReq datetime NOT NULL default '0000-00-00 00:00:00', dLastReq datetime NOT NULL default '0000-00-00 00:00:00', dAction datetime NOT NULL default '0000-00-00 00:00:00', accessref varchar(20) NOT NULL default '', accessedi varchar(20) NOT NULL default '', access varchar(20) NOT NULL default '', referees varchar(50) NOT NULL default '', authoremail varchar(50) NOT NULL default '', dRefSelection datetime NOT NULL default '0000-00-00 00:00:00', dRefRec datetime NOT NULL default '0000-00-00 00:00:00', dEdiRec datetime NOT NULL default '0000-00-00 00:00:00', accessspo varchar(20) NOT NULL default '', journal varchar(100) default NULL, PRIMARY KEY (doctype,categ,rn) ) TYPE=MyISAM PACK_KEYS=1; CREATE TABLE IF NOT EXISTS sbmPUBLICATIONCOMM ( id int(11) NOT NULL auto_increment, id_parent int(11) default '0', rn varchar(100) NOT NULL default '', firstname varchar(100) default NULL, secondname varchar(100) default NULL, email varchar(100) default NULL, date varchar(40) NOT NULL default '', synopsis varchar(255) NOT NULL default '', commentfulltext text, PRIMARY KEY (id) ) TYPE=MyISAM PACK_KEYS=1; CREATE TABLE IF NOT EXISTS sbmPUBLICATIONDATA ( doctype varchar(10) NOT NULL default '', editoboard varchar(250) NOT NULL default '', base varchar(10) NOT NULL default '', logicalbase varchar(10) NOT NULL default '', spokesperson varchar(50) NOT NULL default '', PRIMARY KEY (doctype) ) TYPE=MyISAM PACK_KEYS=1; CREATE TABLE IF NOT EXISTS sbmREFEREES ( doctype varchar(10) NOT NULL default '', categ varchar(10) NOT NULL default '', name varchar(50) NOT NULL default '', address varchar(50) NOT NULL default '', rid int(11) NOT NULL auto_increment, PRIMARY KEY (rid) ) TYPE=MyISAM PACK_KEYS=1; CREATE TABLE IF NOT EXISTS sbmSUBMISSIONS ( email varchar(50) NOT NULL default '', doctype varchar(10) NOT NULL default '', action varchar(10) NOT NULL default '', status varchar(10) NOT NULL default '', id varchar(30) NOT NULL default '', reference varchar(40) NOT NULL default '', cd datetime NOT NULL default '0000-00-00 00:00:00', md datetime NOT NULL default '0000-00-00 00:00:00' ) TYPE=MyISAM; CREATE TABLE IF NOT EXISTS sbmCOOKIES ( id int(15) unsigned NOT NULL auto_increment, name varchar(100) NOT NULL, value text, uid int(15) NOT NULL, PRIMARY KEY (id) ) TYPE=MyISAM; -- Scheduler tables CREATE TABLE IF NOT EXISTS schTASK ( id int(15) unsigned NOT NULL auto_increment, proc varchar(20) NOT NULL, host varchar(255) NOT NULL, user varchar(50) NOT NULL, runtime datetime NOT NULL, sleeptime varchar(20), arguments mediumblob, status varchar(50), progress varchar(255), priority tinyint(4) NOT NULL default 0, PRIMARY KEY (id), KEY status (status), KEY runtime (runtime), KEY priority (priority) ) TYPE=MyISAM; CREATE TABLE IF NOT EXISTS hstTASK ( id int(15) unsigned NOT NULL, proc varchar(20) NOT NULL, host varchar(255) NOT NULL, user varchar(50) NOT NULL, runtime datetime NOT NULL, sleeptime varchar(20), arguments mediumblob, status varchar(50), progress varchar(255), priority tinyint(4) NOT NULL default 0, PRIMARY KEY (id), KEY status (status), KEY runtime (runtime), KEY priority (priority) ) TYPE=MyISAM; -- External collections CREATE TABLE IF NOT EXISTS collection_externalcollection ( id_collection mediumint(9) unsigned NOT NULL default '0', id_externalcollection mediumint(9) unsigned NOT NULL default '0', type tinyint(4) unsigned NOT NULL default '0', PRIMARY KEY (id_collection, id_externalcollection) ) TYPE=MyISAM; CREATE TABLE IF NOT EXISTS externalcollection ( id mediumint(9) unsigned NOT NULL auto_increment, name varchar(255) NOT NULL default '', PRIMARY KEY (id), UNIQUE KEY name (name) ) TYPE=MyISAM; -- WebStat tables: CREATE TABLE IF NOT EXISTS staEVENT ( id varchar(255) NOT NULL, number smallint(2) unsigned ZEROFILL NOT NULL auto_increment, name varchar(255), creation_time TIMESTAMP DEFAULT NOW(), cols varchar(255), PRIMARY KEY (id), UNIQUE KEY number (number) ) TYPE=MyISAM; -- BibClassify tables: CREATE TABLE IF NOT EXISTS clsMETHOD ( id mediumint(9) unsigned NOT NULL, name varchar(50) NOT NULL default '', location varchar(255) NOT NULL default '', description varchar(255) NOT NULL default '', last_updated datetime NOT NULL default '0000-00-00 00:00:00', PRIMARY KEY (id), UNIQUE KEY name (name) ) TYPE=MyISAM; CREATE TABLE IF NOT EXISTS collection_clsMETHOD ( id_collection mediumint(9) unsigned NOT NULL, id_clsMETHOD mediumint(9) unsigned NOT NULL, PRIMARY KEY (id_collection, id_clsMETHOD) ) TYPE=MyISAM; -- WebJournal tables: CREATE TABLE IF NOT EXISTS jrnJOURNAL ( id mediumint(9) unsigned NOT NULL auto_increment, name varchar(50) NOT NULL default '', PRIMARY KEY (id), UNIQUE KEY name (name) ) TYPE=MyISAM; CREATE TABLE IF NOT EXISTS jrnISSUE ( id_jrnJOURNAL mediumint(9) unsigned NOT NULL, issue_number varchar(50) NOT NULL default '', issue_display varchar(50) NOT NULL default '', date_released datetime NOT NULL default '0000-00-00 00:00:00', date_announced datetime NOT NULL default '0000-00-00 00:00:00', PRIMARY KEY (id_jrnJOURNAL,issue_number) ) TYPE=MyISAM; -- tables recording history of record's metadata and fulltext documents: CREATE TABLE IF NOT EXISTS hstRECORD ( id_bibrec mediumint(8) unsigned NOT NULL, marcxml blob NOT NULL, job_id mediumint(15) unsigned NOT NULL, job_name varchar(255) NOT NULL, job_person varchar(255) NOT NULL, job_date datetime NOT NULL, job_details blob NOT NULL, KEY (id_bibrec), KEY (job_id), KEY (job_name), KEY (job_person), KEY (job_date) ) TYPE=MyISAM; CREATE TABLE IF NOT EXISTS hstDOCUMENT ( id_bibdoc mediumint(9) unsigned NOT NULL, docname varchar(250) NOT NULL, docformat varchar(50) NOT NULL, docversion tinyint(4) unsigned NOT NULL, docsize bigint(15) unsigned NOT NULL, docchecksum char(32) NOT NULL, doctimestamp datetime NOT NULL, action varchar(50) NOT NULL, job_id mediumint(15) unsigned NULL default NULL, job_name varchar(255) NULL default NULL, job_person varchar(255) NULL default NULL, job_date datetime NULL default NULL, job_details blob NULL default NULL, KEY (action), KEY (id_bibdoc), KEY (docname), KEY (docformat), KEY (doctimestamp), KEY (job_id), KEY (job_name), KEY (job_person), KEY (job_date) ) TYPE=MyISAM; -- tables of BibCirculation Module CREATE TABLE IF NOT EXISTS crcBORROWER( id int(15) unsigned NOT NULL AUTO_INCREMENT, name VARCHAR(255) NOT NULL DEFAULT '' , email VARCHAR(255) NOT NULL DEFAULT '', phone int(15) unsigned NOT NULL DEFAULT '0', adress VARCHAR(15) NOT NULL DEFAULT '', borrower_since datetime NOT NULL DEFAULT '0000-00-00 00:00:00', borrower_until datetime NOT NULL DEFAULT '0000-00-00 00:00:00', notes text DEFAULT NULL, PRIMARY KEY(id) )TYPE=MyISAM; CREATE TABLE IF NOT EXISTS crcLOANREQUEST( id int(15) unsigned NOT NULL AUTO_INCREMENT, id_crcBORROWER int(15) unsigned NOT NULL, id_bibrec int(15) unsigned NOT NULL, barcode VARCHAR(30) NOT NULL DEFAULT '', request_date_from datetime NOT NULL DEFAULT '0000-00-00 00:00:00', request_date_to datetime NOT NULL DEFAULT '0000-00-00 00:00:00', status VARCHAR(20) NOT NULL DEFAULT '', notes text DEFAULT NULL, PRIMARY KEY (id), KEY id_crcborrower (id_crcBORROWER), KEY id_bibrec (id_bibrec), KEY barcode (barcode) )TYPE=MyISAM; CREATE TABLE IF NOT EXISTS crcILLREQUEST( id int(15) unsigned NOT NULL AUTO_INCREMENT, id_crcBORROWER int(15) unsigned NOT NULL, barcode VARCHAR(30) NOT NULL, request_date_from datetime NOT NULL DEFAULT '0000-00-00 00:00:00', request_date_to datetime NOT NULL DEFAULT '0000-00-00 00:00:00', status VARCHAR(20) NOT NULL DEFAULT '', cost decimal NOT NULL DEFAULT '0.0', notes text DEFAULT NULL, PRIMARY KEY (id), KEY id_crcborrower (id_crcborrower), KEY barcode (barcode) )TYPE=MyISAM; CREATE TABLE IF NOT EXISTS crcLOAN( id int(15) unsigned NOT NULL AUTO_INCREMENT, id_crcBORROWER int(15) unsigned NOT NULL, id_bibrec int(15) unsigned NOT NULL, barcode VARCHAR(30) NOT NULL, loaned_on datetime NOT NULL DEFAULT '0000-00-00 00:00:00', returned_on date NOT NULL DEFAULT '0000-00-00', due_date datetime NOT NULL DEFAULT '0000-00-00 00:00:00', number_of_renewals int(3) unsigned NOT NULL DEFAULT '0', overdue_letter_number int(3) unsigned NOT NULL DEFAULT '0', overdue_letter_date datetime NOT NULL DEFAULT '0000-00-00 00:00:00', status VARCHAR(20) NOT NULL DEFAULT '', type VARCHAR(20) NOT NULL DEFAULT '', notes text DEFAULT NULL, PRIMARY KEY (id), KEY id_crcborrower (id_crcBORROWER), KEY id_bibrec (id_bibrec), KEY barcode (barcode) )TYPE=MyISAM; CREATE TABLE IF NOT EXISTS crcITEM( barcode VARCHAR(30) NOT NULL, id_bibrec int(15) unsigned NOT NULL, id_crcLIBRARY int(15) unsigned NOT NULL, loan_period VARCHAR(30) NOT NULL DEFAULT '', status VARCHAR(20) NOT NULL DEFAULT '', creation_date datetime NOT NULL DEFAULT '0000-00-00 00:00:00', modification_date datetime NOT NULL DEFAULT '0000-00-00 00:00:00', number_of_requests int(3) unsigned NOT NULL DEFAULT '0', PRIMARY KEY (barcode), KEY id_bibrec (id_bibrec), KEY id_crclibrary (id_crcLIBRARY) )TYPE=MyISAM; CREATE TABLE IF NOT EXISTS crcPURCHASE( id_bibrec int(15) unsigned NOT NULL, date_ordered datetime NOT NULL DEFAULT '0000-00-00 00:00:00', shop VARCHAR(50) NOT NULL DEFAULT '', price decimal NOT NULL DEFAULT '0.0', status VARCHAR(20) NOT NULL DEFAULT '', notes text DEFAULT NULL, KEY id_bibrec (id_bibrec) )TYPE=MyISAM; CREATE TABLE IF NOT EXISTS crcLIBRARY( id int(15) unsigned NOT NULL AUTO_INCREMENT, name VARCHAR(80) NOT NULL DEFAULT '', address VARCHAR(255) NOT NULL DEFAULT '', email VARCHAR(255) NOT NULL DEFAULT '', phone VARCHAR(30) NOT NULL DEFAULT '', notes text DEFAULT NULL, PRIMARY KEY (id) )TYPE=MyISAM; +-- BibExport tables: + +CREATE TABLE IF NOT EXISTS expJOB ( + id mediumint(9) unsigned NOT NULL auto_increment, + jobname varchar(50) NOT NULL default '', + jobfreq mediumint(12) NOT NULL default '0', + lastrun datetime NOT NULL default '0000-00-00 00:00:00', + PRIMARY KEY (id), + UNIQUE KEY jobname (jobname) +) TYPE=MyISAM; -- end of file diff --git a/modules/miscutil/sql/tabdrop.sql b/modules/miscutil/sql/tabdrop.sql index 438e406d2..8601042dc 100644 --- a/modules/miscutil/sql/tabdrop.sql +++ b/modules/miscutil/sql/tabdrop.sql @@ -1,371 +1,372 @@ -- $Id$ -- This file is part of CDS Invenio. -- Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007, 2008 CERN. -- -- CDS Invenio is free software; you can redistribute it and/or -- modify it under the terms of the GNU General Public License as -- published by the Free Software Foundation; either version 2 of the -- License, or (at your option) any later version. -- -- CDS Invenio is distributed in the hope that it will be useful, but -- WITHOUT ANY WARRANTY; without even the implied warranty of -- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -- General Public License for more details. -- -- You should have received a copy of the GNU General Public License -- along with CDS Invenio; if not, write to the Free Software Foundation, Inc., -- 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. DROP TABLE IF EXISTS bibrec; DROP TABLE IF EXISTS bib00x; DROP TABLE IF EXISTS bib01x; DROP TABLE IF EXISTS bib02x; DROP TABLE IF EXISTS bib03x; DROP TABLE IF EXISTS bib04x; DROP TABLE IF EXISTS bib05x; DROP TABLE IF EXISTS bib06x; DROP TABLE IF EXISTS bib07x; DROP TABLE IF EXISTS bib08x; DROP TABLE IF EXISTS bib09x; DROP TABLE IF EXISTS bib10x; DROP TABLE IF EXISTS bib11x; DROP TABLE IF EXISTS bib12x; DROP TABLE IF EXISTS bib13x; DROP TABLE IF EXISTS bib14x; DROP TABLE IF EXISTS bib15x; DROP TABLE IF EXISTS bib16x; DROP TABLE IF EXISTS bib17x; DROP TABLE IF EXISTS bib18x; DROP TABLE IF EXISTS bib19x; DROP TABLE IF EXISTS bib20x; DROP TABLE IF EXISTS bib21x; DROP TABLE IF EXISTS bib22x; DROP TABLE IF EXISTS bib23x; DROP TABLE IF EXISTS bib24x; DROP TABLE IF EXISTS bib25x; DROP TABLE IF EXISTS bib26x; DROP TABLE IF EXISTS bib27x; DROP TABLE IF EXISTS bib28x; DROP TABLE IF EXISTS bib29x; DROP TABLE IF EXISTS bib30x; DROP TABLE IF EXISTS bib31x; DROP TABLE IF EXISTS bib32x; DROP TABLE IF EXISTS bib33x; DROP TABLE IF EXISTS bib34x; DROP TABLE IF EXISTS bib35x; DROP TABLE IF EXISTS bib36x; DROP TABLE IF EXISTS bib37x; DROP TABLE IF EXISTS bib38x; DROP TABLE IF EXISTS bib39x; DROP TABLE IF EXISTS bib40x; DROP TABLE IF EXISTS bib41x; DROP TABLE IF EXISTS bib42x; DROP TABLE IF EXISTS bib43x; DROP TABLE IF EXISTS bib44x; DROP TABLE IF EXISTS bib45x; DROP TABLE IF EXISTS bib46x; DROP TABLE IF EXISTS bib47x; DROP TABLE IF EXISTS bib48x; DROP TABLE IF EXISTS bib49x; DROP TABLE IF EXISTS bib50x; DROP TABLE IF EXISTS bib51x; DROP TABLE IF EXISTS bib52x; DROP TABLE IF EXISTS bib53x; DROP TABLE IF EXISTS bib54x; DROP TABLE IF EXISTS bib55x; DROP TABLE IF EXISTS bib56x; DROP TABLE IF EXISTS bib57x; DROP TABLE IF EXISTS bib58x; DROP TABLE IF EXISTS bib59x; DROP TABLE IF EXISTS bib60x; DROP TABLE IF EXISTS bib61x; DROP TABLE IF EXISTS bib62x; DROP TABLE IF EXISTS bib63x; DROP TABLE IF EXISTS bib64x; DROP TABLE IF EXISTS bib65x; DROP TABLE IF EXISTS bib66x; DROP TABLE IF EXISTS bib67x; DROP TABLE IF EXISTS bib68x; DROP TABLE IF EXISTS bib69x; DROP TABLE IF EXISTS bib70x; DROP TABLE IF EXISTS bib71x; DROP TABLE IF EXISTS bib72x; DROP TABLE IF EXISTS bib73x; DROP TABLE IF EXISTS bib74x; DROP TABLE IF EXISTS bib75x; DROP TABLE IF EXISTS bib76x; DROP TABLE IF EXISTS bib77x; DROP TABLE IF EXISTS bib78x; DROP TABLE IF EXISTS bib79x; DROP TABLE IF EXISTS bib80x; DROP TABLE IF EXISTS bib81x; DROP TABLE IF EXISTS bib82x; DROP TABLE IF EXISTS bib83x; DROP TABLE IF EXISTS bib84x; DROP TABLE IF EXISTS bib85x; DROP TABLE IF EXISTS bib86x; DROP TABLE IF EXISTS bib87x; DROP TABLE IF EXISTS bib88x; DROP TABLE IF EXISTS bib89x; DROP TABLE IF EXISTS bib90x; DROP TABLE IF EXISTS bib91x; DROP TABLE IF EXISTS bib92x; DROP TABLE IF EXISTS bib93x; DROP TABLE IF EXISTS bib94x; DROP TABLE IF EXISTS bib95x; DROP TABLE IF EXISTS bib96x; DROP TABLE IF EXISTS bib97x; DROP TABLE IF EXISTS bib98x; DROP TABLE IF EXISTS bib99x; DROP TABLE IF EXISTS bibrec_bib00x; DROP TABLE IF EXISTS bibrec_bib01x; DROP TABLE IF EXISTS bibrec_bib02x; DROP TABLE IF EXISTS bibrec_bib03x; DROP TABLE IF EXISTS bibrec_bib04x; DROP TABLE IF EXISTS bibrec_bib05x; DROP TABLE IF EXISTS bibrec_bib06x; DROP TABLE IF EXISTS bibrec_bib07x; DROP TABLE IF EXISTS bibrec_bib08x; DROP TABLE IF EXISTS bibrec_bib09x; DROP TABLE IF EXISTS bibrec_bib10x; DROP TABLE IF EXISTS bibrec_bib11x; DROP TABLE IF EXISTS bibrec_bib12x; DROP TABLE IF EXISTS bibrec_bib13x; DROP TABLE IF EXISTS bibrec_bib14x; DROP TABLE IF EXISTS bibrec_bib15x; DROP TABLE IF EXISTS bibrec_bib16x; DROP TABLE IF EXISTS bibrec_bib17x; DROP TABLE IF EXISTS bibrec_bib18x; DROP TABLE IF EXISTS bibrec_bib19x; DROP TABLE IF EXISTS bibrec_bib20x; DROP TABLE IF EXISTS bibrec_bib21x; DROP TABLE IF EXISTS bibrec_bib22x; DROP TABLE IF EXISTS bibrec_bib23x; DROP TABLE IF EXISTS bibrec_bib24x; DROP TABLE IF EXISTS bibrec_bib25x; DROP TABLE IF EXISTS bibrec_bib26x; DROP TABLE IF EXISTS bibrec_bib27x; DROP TABLE IF EXISTS bibrec_bib28x; DROP TABLE IF EXISTS bibrec_bib29x; DROP TABLE IF EXISTS bibrec_bib30x; DROP TABLE IF EXISTS bibrec_bib31x; DROP TABLE IF EXISTS bibrec_bib32x; DROP TABLE IF EXISTS bibrec_bib33x; DROP TABLE IF EXISTS bibrec_bib34x; DROP TABLE IF EXISTS bibrec_bib35x; DROP TABLE IF EXISTS bibrec_bib36x; DROP TABLE IF EXISTS bibrec_bib37x; DROP TABLE IF EXISTS bibrec_bib38x; DROP TABLE IF EXISTS bibrec_bib39x; DROP TABLE IF EXISTS bibrec_bib40x; DROP TABLE IF EXISTS bibrec_bib41x; DROP TABLE IF EXISTS bibrec_bib42x; DROP TABLE IF EXISTS bibrec_bib43x; DROP TABLE IF EXISTS bibrec_bib44x; DROP TABLE IF EXISTS bibrec_bib45x; DROP TABLE IF EXISTS bibrec_bib46x; DROP TABLE IF EXISTS bibrec_bib47x; DROP TABLE IF EXISTS bibrec_bib48x; DROP TABLE IF EXISTS bibrec_bib49x; DROP TABLE IF EXISTS bibrec_bib50x; DROP TABLE IF EXISTS bibrec_bib51x; DROP TABLE IF EXISTS bibrec_bib52x; DROP TABLE IF EXISTS bibrec_bib53x; DROP TABLE IF EXISTS bibrec_bib54x; DROP TABLE IF EXISTS bibrec_bib55x; DROP TABLE IF EXISTS bibrec_bib56x; DROP TABLE IF EXISTS bibrec_bib57x; DROP TABLE IF EXISTS bibrec_bib58x; DROP TABLE IF EXISTS bibrec_bib59x; DROP TABLE IF EXISTS bibrec_bib60x; DROP TABLE IF EXISTS bibrec_bib61x; DROP TABLE IF EXISTS bibrec_bib62x; DROP TABLE IF EXISTS bibrec_bib63x; DROP TABLE IF EXISTS bibrec_bib64x; DROP TABLE IF EXISTS bibrec_bib65x; DROP TABLE IF EXISTS bibrec_bib66x; DROP TABLE IF EXISTS bibrec_bib67x; DROP TABLE IF EXISTS bibrec_bib68x; DROP TABLE IF EXISTS bibrec_bib69x; DROP TABLE IF EXISTS bibrec_bib70x; DROP TABLE IF EXISTS bibrec_bib71x; DROP TABLE IF EXISTS bibrec_bib72x; DROP TABLE IF EXISTS bibrec_bib73x; DROP TABLE IF EXISTS bibrec_bib74x; DROP TABLE IF EXISTS bibrec_bib75x; DROP TABLE IF EXISTS bibrec_bib76x; DROP TABLE IF EXISTS bibrec_bib77x; DROP TABLE IF EXISTS bibrec_bib78x; DROP TABLE IF EXISTS bibrec_bib79x; DROP TABLE IF EXISTS bibrec_bib80x; DROP TABLE IF EXISTS bibrec_bib81x; DROP TABLE IF EXISTS bibrec_bib82x; DROP TABLE IF EXISTS bibrec_bib83x; DROP TABLE IF EXISTS bibrec_bib84x; DROP TABLE IF EXISTS bibrec_bib85x; DROP TABLE IF EXISTS bibrec_bib86x; DROP TABLE IF EXISTS bibrec_bib87x; DROP TABLE IF EXISTS bibrec_bib88x; DROP TABLE IF EXISTS bibrec_bib89x; DROP TABLE IF EXISTS bibrec_bib90x; DROP TABLE IF EXISTS bibrec_bib91x; DROP TABLE IF EXISTS bibrec_bib92x; DROP TABLE IF EXISTS bibrec_bib93x; DROP TABLE IF EXISTS bibrec_bib94x; DROP TABLE IF EXISTS bibrec_bib95x; DROP TABLE IF EXISTS bibrec_bib96x; DROP TABLE IF EXISTS bibrec_bib97x; DROP TABLE IF EXISTS bibrec_bib98x; DROP TABLE IF EXISTS bibrec_bib99x; DROP TABLE IF EXISTS bibfmt; DROP TABLE IF EXISTS idxINDEX; DROP TABLE IF EXISTS idxINDEXNAME; DROP TABLE IF EXISTS idxINDEX_field; DROP TABLE IF EXISTS idxWORD01F; DROP TABLE IF EXISTS idxWORD02F; DROP TABLE IF EXISTS idxWORD03F; DROP TABLE IF EXISTS idxWORD04F; DROP TABLE IF EXISTS idxWORD05F; DROP TABLE IF EXISTS idxWORD06F; DROP TABLE IF EXISTS idxWORD07F; DROP TABLE IF EXISTS idxWORD08F; DROP TABLE IF EXISTS idxWORD09F; DROP TABLE IF EXISTS idxWORD10F; DROP TABLE IF EXISTS idxWORD11F; DROP TABLE IF EXISTS idxWORD01R; DROP TABLE IF EXISTS idxWORD02R; DROP TABLE IF EXISTS idxWORD03R; DROP TABLE IF EXISTS idxWORD04R; DROP TABLE IF EXISTS idxWORD05R; DROP TABLE IF EXISTS idxWORD06R; DROP TABLE IF EXISTS idxWORD07R; DROP TABLE IF EXISTS idxWORD08R; DROP TABLE IF EXISTS idxWORD09R; DROP TABLE IF EXISTS idxWORD10R; DROP TABLE IF EXISTS idxWORD11R; DROP TABLE IF EXISTS idxPHRASE01F; DROP TABLE IF EXISTS idxPHRASE02F; DROP TABLE IF EXISTS idxPHRASE03F; DROP TABLE IF EXISTS idxPHRASE04F; DROP TABLE IF EXISTS idxPHRASE05F; DROP TABLE IF EXISTS idxPHRASE06F; DROP TABLE IF EXISTS idxPHRASE07F; DROP TABLE IF EXISTS idxPHRASE08F; DROP TABLE IF EXISTS idxPHRASE09F; DROP TABLE IF EXISTS idxPHRASE10F; DROP TABLE IF EXISTS idxPHRASE11F; DROP TABLE IF EXISTS idxPHRASE01R; DROP TABLE IF EXISTS idxPHRASE02R; DROP TABLE IF EXISTS idxPHRASE03R; DROP TABLE IF EXISTS idxPHRASE04R; DROP TABLE IF EXISTS idxPHRASE05R; DROP TABLE IF EXISTS idxPHRASE06R; DROP TABLE IF EXISTS idxPHRASE07R; DROP TABLE IF EXISTS idxPHRASE08R; DROP TABLE IF EXISTS idxPHRASE09R; DROP TABLE IF EXISTS idxPHRASE10R; DROP TABLE IF EXISTS idxPHRASE11R; DROP TABLE IF EXISTS rnkMETHOD; DROP TABLE IF EXISTS rnkMETHODNAME; DROP TABLE IF EXISTS rnkMETHODDATA; DROP TABLE IF EXISTS rnkWORD01F; DROP TABLE IF EXISTS rnkWORD01R; DROP TABLE IF EXISTS rnkPAGEVIEWS; DROP TABLE IF EXISTS rnkDOWNLOADS; DROP TABLE IF EXISTS rnkCITATIONDATA; DROP TABLE IF EXISTS rnkCITATIONDATAEXT; DROP TABLE IF EXISTS rnkAUTHORDATA; DROP TABLE IF EXISTS collection_rnkMETHOD; DROP TABLE IF EXISTS collection; DROP TABLE IF EXISTS collectionname; DROP TABLE IF EXISTS oaiARCHIVE; DROP TABLE IF EXISTS oaiHARVEST; DROP TABLE IF EXISTS oaiHARVESTLOG; DROP TABLE IF EXISTS collection_collection; DROP TABLE IF EXISTS collection_portalbox; DROP TABLE IF EXISTS portalbox; DROP TABLE IF EXISTS collection_example; DROP TABLE IF EXISTS example; DROP TABLE IF EXISTS collection_format; DROP TABLE IF EXISTS format; DROP TABLE IF EXISTS formatname; DROP TABLE IF EXISTS collection_field_fieldvalue; DROP TABLE IF EXISTS field; DROP TABLE IF EXISTS fieldname; DROP TABLE IF EXISTS fieldvalue; DROP TABLE IF EXISTS field_tag; DROP TABLE IF EXISTS tag; DROP TABLE IF EXISTS publreq; DROP TABLE IF EXISTS session; DROP TABLE IF EXISTS user; DROP TABLE IF EXISTS accROLE; DROP TABLE IF EXISTS accMAILCOOKIE; DROP TABLE IF EXISTS user_accROLE; DROP TABLE IF EXISTS accACTION; DROP TABLE IF EXISTS accARGUMENT; DROP TABLE IF EXISTS accROLE_accACTION_accARGUMENT; DROP TABLE IF EXISTS user_query; DROP TABLE IF EXISTS query; DROP TABLE IF EXISTS user_basket; DROP TABLE IF EXISTS basket; DROP TABLE IF EXISTS basket_record; DROP TABLE IF EXISTS record; DROP TABLE IF EXISTS user_query_basket; DROP TABLE IF EXISTS cmtRECORDCOMMENT; DROP TABLE IF EXISTS fmtKNOWLEDGEBASES; DROP TABLE IF EXISTS fmtKNOWLEDGEBASEMAPPINGS; DROP TABLE IF EXISTS sbmACTION; DROP TABLE IF EXISTS sbmALLFUNCDESCR; DROP TABLE IF EXISTS sbmAPPROVAL; DROP TABLE IF EXISTS sbmCPLXAPPROVAL; DROP TABLE IF EXISTS sbmCOLLECTION; DROP TABLE IF EXISTS sbmCOLLECTION_sbmCOLLECTION; DROP TABLE IF EXISTS sbmCOLLECTION_sbmDOCTYPE; DROP TABLE IF EXISTS sbmCATEGORIES; DROP TABLE IF EXISTS sbmCHECKS; DROP TABLE IF EXISTS sbmCOOKIES; DROP TABLE IF EXISTS sbmDOCTYPE; DROP TABLE IF EXISTS sbmFIELD; DROP TABLE IF EXISTS sbmFIELDDESC; DROP TABLE IF EXISTS sbmFORMATEXTENSION; DROP TABLE IF EXISTS sbmFUNCTIONS; DROP TABLE IF EXISTS sbmFUNDESC; DROP TABLE IF EXISTS sbmGFILERESULT; DROP TABLE IF EXISTS sbmIMPLEMENT; DROP TABLE IF EXISTS sbmPARAMETERS; DROP TABLE IF EXISTS sbmPUBLICATION; DROP TABLE IF EXISTS sbmPUBLICATIONCOMM; DROP TABLE IF EXISTS sbmPUBLICATIONDATA; DROP TABLE IF EXISTS sbmREFEREES; DROP TABLE IF EXISTS sbmSUBMISSIONS; DROP TABLE IF EXISTS schTASK; DROP TABLE IF EXISTS bibdoc; DROP TABLE IF EXISTS bibdoc_bibdoc; DROP TABLE IF EXISTS bibrec_bibdoc; DROP TABLE IF EXISTS usergroup; DROP TABLE IF EXISTS user_usergroup; DROP TABLE IF EXISTS user_basket; DROP TABLE IF EXISTS msgMESSAGE; DROP TABLE IF EXISTS user_msgMESSAGE; DROP TABLE IF EXISTS bskBASKET; DROP TABLE IF EXISTS bskEXTREC; DROP TABLE IF EXISTS bskEXTFMT; DROP TABLE IF EXISTS bskREC; DROP TABLE IF EXISTS bskRECORDCOMMENT; DROP TABLE IF EXISTS cmtACTIONHISTORY; DROP TABLE IF EXISTS user_bskBASKET; DROP TABLE IF EXISTS usergroup_bskBASKET; DROP TABLE IF EXISTS collection_externalcollection; DROP TABLE IF EXISTS externalcollection; DROP TABLE IF EXISTS collectiondetailedrecordpagetabs; DROP TABLE IF EXISTS staEVENT; DROP TABLE IF EXISTS clsMETHOD; DROP TABLE IF EXISTS collection_clsMETHOD; DROP TABLE IF EXISTS jrnJOURNAL; DROP TABLE IF EXISTS jrnISSUE; DROP TABLE IF EXISTS hstRECORD; DROP TABLE IF EXISTS hstDOCUMENT; DROP TABLE IF EXISTS hstTASK; +DROP TABLE IF EXISTS expJOB; -- end of file diff --git a/modules/webaccess/lib/access_control_config.py b/modules/webaccess/lib/access_control_config.py index cffa244c6..cac43447a 100644 --- a/modules/webaccess/lib/access_control_config.py +++ b/modules/webaccess/lib/access_control_config.py @@ -1,234 +1,236 @@ ## $Id$ ## ## This file is part of CDS Invenio. ## Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007, 2008 CERN. ## ## CDS Invenio is free software; you can redistribute it and/or ## modify it under the terms of the GNU General Public License as ## published by the Free Software Foundation; either version 2 of the ## License, or (at your option) any later version. ## ## CDS Invenio is distributed in the hope that it will be useful, but ## WITHOUT ANY WARRANTY; without even the implied warranty of ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ## General Public License for more details. ## ## You should have received a copy of the GNU General Public License ## along with CDS Invenio; if not, write to the Free Software Foundation, Inc., ## 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. """CDS Invenio Access Control Config. """ __revision__ = \ "$Id$" # pylint: disable-msg=C0301 from invenio.config import CFG_SITE_NAME, CFG_SITE_URL, CFG_SITE_LANG, \ CFG_SITE_SECURE_URL, CFG_SITE_SUPPORT_EMAIL, CFG_CERN_SITE import cPickle from zlib import compress from invenio.messages import gettext_set_language class InvenioWebAccessFireroleError(Exception): """Just an Exception to discover if it's a FireRole problem""" pass # VALUES TO BE EXPORTED # CURRENTLY USED BY THE FILES access_control_engine.py access_control_admin.py webaccessadmin_lib.py # name of the role giving superadmin rights SUPERADMINROLE = 'superadmin' # name of the webaccess webadmin role WEBACCESSADMINROLE = 'webaccessadmin' # name of the action allowing roles to access the web administrator interface WEBACCESSACTION = 'cfgwebaccess' # name of the action allowing roles to access the web administrator interface VIEWRESTRCOLL = 'viewrestrcoll' # name of the action allowing roles to delegate the rights to other roles # ex: libraryadmin to delegate libraryworker DELEGATEADDUSERROLE = 'accdelegaterole' # max number of users to display in the drop down selects MAXSELECTUSERS = 25 # max number of users to display in a page (mainly for user area) MAXPAGEUSERS = 25 """ Serialized compiled default role definition""" CFG_ACC_EMPTY_ROLE_DEFINITION_SER=compress(cPickle.dumps((False, False, ()), -1)) """ Source of the default role definition""" CFG_ACC_EMPTY_ROLE_DEFINITION_SRC='deny any' # List of tags containing (multiple) emails of users who should authorize # to access the corresponding record regardless of collection restrictions. if CFG_CERN_SITE: CFG_ACC_GRANT_AUTHOR_RIGHTS_TO_EMAILS_IN_TAGS=['859__f', '270__m'] else: CFG_ACC_GRANT_AUTHOR_RIGHTS_TO_EMAILS_IN_TAGS=['8560_f'] # Use external source for access control? # Atleast one must be added # Adviced not to change the name, since it is used to identify the account # Format is: System name: (System class, Default True/Flase), atleast one # must be default CFG_EXTERNAL_AUTHENTICATION = {"Local": (None, True)} # Variables to set to the SSO Authentication name if using SSO CFG_EXTERNAL_AUTH_USING_SSO = False CFG_EXTERNAL_AUTH_LOGOUT_SSO = None if CFG_CERN_SITE: if False: #FIXME set this to True when we deploy SSO at CERN import external_authentication_sso as ea_sso CFG_EXTERNAL_AUTH_USING_SSO = "CERN" # Link to reach in order to logout from SSO CFG_EXTERNAL_AUTH_LOGOUT_SSO = 'https://login.cern.ch/adfs/ls/?wa=wsignout1.0' CFG_EXTERNAL_AUTHENTICATION = {CFG_EXTERNAL_AUTH_USING_SSO : (ea_sso.ExternalAuthSSO(), True)} else: import external_authentication_cern as ea_cern CFG_EXTERNAL_AUTHENTICATION = {"Local": (None, False), \ "CERN": (ea_cern.ExternalAuthCern(), True)} # default data for the add_default_settings function # Note: by default the definition is set to deny any. This won't be a problem # because userid directly connected with roles will still be allowed. # roles # name description definition DEF_ROLES = ((SUPERADMINROLE, 'superuser with all rights', 'deny any'), (WEBACCESSADMINROLE, 'WebAccess administrator', 'deny any')) # Demo site roles DEF_DEMO_ROLES = (('photocurator', 'Photo collection curator', 'deny any'), ('thesesviewer', 'Theses viewer', 'allow group "Theses viewers"\nallow apache_group "theses"'), ('thesescurator', 'Theses collection curator', 'deny any'), ('bookcurator', 'Book collection curator', 'deny any'), ('restrictedpicturesviewer', 'Restricted pictures viewer', 'deny any'), ('curator', 'Curator', 'deny any')) DEF_DEMO_USER_ROLES = (('jekyll@cds.cern.ch', 'thesesviewer'), ('dorian.gray@cds.cern.ch', 'bookcurator'), ('balthasar.montague@cds.cern.ch', 'curator'), ('romeo.montague@cds.cern.ch', 'restrictedpicturesviewer'), ('romeo.montague@cds.cern.ch', 'thesescurator'), ('juliet.capulet@cds.cern.ch', 'restrictedpicturesviewer'), ('juliet.capulet@cds.cern.ch', 'photocurator')) # users # list of e-mail addresses DEF_USERS = [] # actions # name desc allowedkeywords optional DEF_ACTIONS = ( ('cfgwebsearch', 'configure WebSearch', '', 'no'), ('cfgbibformat', 'configure BibFormat', '', 'no'), ('cfgwebsubmit', 'configure WebSubmit', '', 'no'), ('cfgbibrank', 'configure BibRank', '', 'no'), ('cfgwebcomment', 'configure WebComment', '', 'no'), ('cfgbibharvest', 'configure BibHarvest', '', 'no'), ('cfgoairepository', 'configure OAI Repository', '', 'no'), ('cfgbibindex', 'configure BibIndex', '', 'no'), ('runbibindex', 'run BibIndex', '', 'no'), ('runbibupload', 'run BibUpload', '', 'no'), ('runwebcoll', 'run webcoll', 'collection', 'yes'), ('runbibformat', 'run BibFormat', 'format', 'yes'), ('runbibclassify', 'run BibClassify', 'taxonomy', 'yes'), ('runbibtaskex', 'run BibTaskEx example', '', 'no'), ('runbibrank', 'run BibRank', '', 'no'), ('runoaiharvest', 'run oaiharvest task', '', 'no'), ('runoaiarchive', 'run oaiarchive task', '', 'no'), ('runbibedit', 'run BibEdit', 'collection', 'yes'), ('runwebstatadmin', 'run WebStadAdmin', '', 'no'), ('runinveniogc', 'run InvenioGC', '', 'no'), ('referee', 'referee document type doctype/category categ', 'doctype,categ', 'yes'), ('submit', 'use webSubmit', 'doctype,act', 'yes'), ('viewrestrdoc', 'view restricted document', 'status', 'no'), (WEBACCESSACTION, 'configure WebAccess', '', 'no'), (DELEGATEADDUSERROLE, 'delegate subroles inside WebAccess', 'role', 'no'), (VIEWRESTRCOLL, 'view restricted collection', 'collection', 'no'), ('cfgwebjournal', 'configure WebJournal', 'name', 'yes'), ('viewcomment', 'view comments', 'collection', 'no'), ('sendcomment', 'send comments', 'collection', 'no'), ('attachcommentfile', 'attach files to comments', 'collection', 'no'), + ('cfgbibexport', 'configure BibExport', '', 'no'), + ('runbibexport', 'run BibExport', '', 'no'), ) # Default authorizations # role action arglistid optional arguments DEF_AUTHS = () # Demo site authorizations # role action arglistid optional arguments DEF_DEMO_AUTHS = ( ('photocurator', 'runwebcoll', -1, 0, {'collection': 'Pictures'}), ('restrictedpicturesviewer', 'viewrestrdoc', -1, 0, {'status': 'restricted_picture'}), ('thesesviewer', VIEWRESTRCOLL, -1, 0, {'collection': 'Theses'}), ('bookcurator', 'referee', -1, 0, {'doctype': 'DEMOBOO', 'categ': '*'}), ('curator', 'runbibedit', -1, 1, {}), ('thesescurator', 'runbibedit', -1, 0, {'collection': 'Theses'}), ('thesescurator', VIEWRESTRCOLL, -1, 0, {'collection': 'Theses'}), ('photocurator', 'runbibedit', -1, 0, {'collection': 'Pictures'}), ('bookcurator', 'runbibedit', -1, 0, {'collection': 'Books'}) ) _ = gettext_set_language(CFG_SITE_LANG) CFG_ACC_ACTIVITIES_URLS = { 'runbibedit' : (_("Run BibEdit"), "%s/admin/bibedit/bibeditadmin.py?ln=%%s" % CFG_SITE_URL), 'cfgbibformat' : (_("Configure BibFormat"), "%s/admin/bibformat/bibformatadmin.py?ln=%%s" % CFG_SITE_URL), 'cfgbibharvest' : (_("Configure BibHarvest"), "%s/admin/bibharvest/bibharvestadmin.py?ln=%%s" % CFG_SITE_URL), 'cfgoairepository' : (_("Configure OAI Repository"), "%s/admin/bibharvest/oaiarchiveadmin.py?ln=%%s" % CFG_SITE_URL), 'cfgbibindex' : (_("Configure BibIndex"), "%s/admin/bibindex/bibindexadmin.py?ln=%%s" % CFG_SITE_URL), 'cfgbibrank' : (_("Configure BibRank"), "%s/admin/bibrank/bibrankadmin.py?ln=%%s" % CFG_SITE_URL), 'cfgwebaccess' : (_("Configure WebAccess"), "%s/admin/webaccess/webaccessadmin.py?ln=%%s" % CFG_SITE_URL), 'cfgwebcomment' : (_("Configure WebComment"), "%s/admin/webcomment/webcommentadmin.py?ln=%%s" % CFG_SITE_URL), 'cfgwebsearch' : (_("Configure WebSearch"), "%s/admin/websearch/websearchadmin.py?ln=%%s" % CFG_SITE_URL), 'cfgwebsubmit' : (_("Configure WebSubmit"), "%s/admin/websubmit/websubmitadmin.py?ln=%%s" % CFG_SITE_URL), } CFG_WEBACCESS_MSGS = { 0: 'Try to <a href="%s/youraccount/login?referer=%%s">login</a> with another account.' % (CFG_SITE_SECURE_URL), 1: '<br />If you think this is not correct, please contact: <a href="mailto:%s">%s</a>' % (CFG_SITE_SUPPORT_EMAIL, CFG_SITE_SUPPORT_EMAIL), 2: '<br />If you have any questions, please write to <a href="mailto:%s">%s</a>' % (CFG_SITE_SUPPORT_EMAIL, CFG_SITE_SUPPORT_EMAIL), 3: 'Guest users are not allowed, please <a href="%s/youraccount/login">login</a>.' % CFG_SITE_SECURE_URL, 4: 'The site is temporarily closed for maintenance. Please come back soon.', 5: 'Authorization failure', 6: '%s temporarily closed' % CFG_SITE_NAME, 7: 'This functionality is temporarily closed due to server maintenance. Please use only the search engine in the meantime.', 8: 'Functionality temporarily closed' } CFG_WEBACCESS_WARNING_MSGS = { 0: 'Authorization granted', 1: 'Error(1): You are not authorized to perform this action.', 2: 'Error(2): You are not authorized to perform any action.', 3: 'Error(3): The action %s does not exist.', 4: 'Error(4): Unexpected error occurred.', 5: 'Error(5): Missing mandatory keyword argument(s) for this action.', 6: 'Error(6): Guest accounts are not authorized to perform this action.', 7: 'Error(7): Not enough arguments, user ID and action name required.', 8: 'Error(8): Incorrect keyword argument(s) for this action.', 9: """Error(9): Account '%s' is not yet activated.""", 10: """Error(10): You were not authorized by the authentication method '%s'.""", 11: """Error(11): The selected login method '%s' is not the default method for this account, please try another one.""", 12: """Error(12): Selected login method '%s' does not exist.""", 13: """Error(13): Could not register '%s' account.""", 14: """Error(14): Could not login using '%s', because this user is unknown.""", 15: """Error(15): Could not login using your '%s' account, because you have introduced a wrong password.""", 16: """Error(16): External authentication troubles using '%s' (maybe temporary network problems).""", 17: """Error(17): You have not yet confirmed the email address for the '%s' authentication method.""", 18: """Error(18): The administrator has not yet activated your account for the '%s' authentication method.""", 19: """Error(19): The site is having troubles in sending you an email for confirming your email address. The error has been logged and will be taken care of as soon as possible.""" }