diff --git a/modules/miscutil/lib/config.py.wml b/modules/miscutil/lib/config.py.wml index 0ef3b82b4..9a9172550 100644 --- a/modules/miscutil/lib/config.py.wml +++ b/modules/miscutil/lib/config.py.wml @@ -1,178 +1,179 @@ ## $Id$ ## CDS Invenio config file, to be read by all Python programs. ## This file is part of CDS Invenio. ## Copyright (C) 2002, 2003, 2004, 2005, 2006 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. ## read config variables: #include "config.wml" #include "configbis.wml" ## start Python: <protect>## -*- coding: utf-8 -*-</protect> <protect>## $Id$</protect> <protect>## DO NOT EDIT THIS FILE! IT WAS AUTOMATICALLY GENERATED FROM CDS Invenio WML SOURCES.</protect> """CDS Invenio config file, to be read by all Python programs.""" ## fill all the generally-interesting config variables from WML: cdsname = "<CDSNAME>" cdslang = "<CDSLANG>" supportemail = "<SUPPORTEMAIL>" adminemail = "<ADMINEMAIL>" alertengineemail = "<ALERTENGINEEMAIL>" webdir = "<WEBDIR>" weburl = "<WEBURL>" sweburl = "<SWEBURL>" bindir = "<BINDIR>" pylibdir = "<LIBDIR>/python" cachedir = "<CACHEDIR>" logdir = "<LOGDIR>" tmpdir = "<TMPDIR>" etcdir = "<ETCDIR>" version = "<VERSION>" cfg_template_skin = "<CFG_TEMPLATE_SKIN>" localedir = "<LOCALEDIR>" ## intl versions of CDSNAME of this installation: cdsnameintl = {} <de>cdsnameintl['de'] = "<CDSNAMEINTL>"</de> <en>cdsnameintl['en'] = "<CDSNAMEINTL>"</en> <es>cdsnameintl['es'] = "<CDSNAMEINTL>"</es> <ca>cdsnameintl['ca'] = "<CDSNAMEINTL>"</ca> <pt>cdsnameintl['pt'] = "<CDSNAMEINTL>"</pt> <fr>cdsnameintl['fr'] = "<CDSNAMEINTL>"</fr> <it>cdsnameintl['it'] = "<CDSNAMEINTL>"</it> <ru>cdsnameintl['ru'] = "<CDSNAMEINTL>"</ru> <sk>cdsnameintl['sk'] = "<CDSNAMEINTL>"</sk> <cs>cdsnameintl['cs'] = "<CDSNAMEINTL>"</cs> <no>cdsnameintl['no'] = "<CDSNAMEINTL>"</no> <sv>cdsnameintl['sv'] = "<CDSNAMEINTL>"</sv> <el>cdsnameintl['el'] = "<CDSNAMEINTL>"</el> <uk>cdsnameintl['uk'] = "<CDSNAMEINTL>"</uk> <ja>cdsnameintl['ja'] = "<CDSNAMEINTL>"</ja> <pl>cdsnameintl['pl'] = "<CDSNAMEINTL>"</pl> <bg>cdsnameintl['bg'] = "<CDSNAMEINTL>"</bg> ## Apache password/group files: cfg_apache_password_file = "<CFG_APACHE_PASSWORD_FILE>" cfg_apache_group_file = "<CFG_APACHE_GROUP_FILE>" ## are we running CERN specifics? cfg_cern_site = <CFG_CERN_SITE> ## page elements: cdspageheader = """<CDSPAGEHEADER>""" cdspageboxlefttop = """<CDSPAGEBOXLEFTTOP>""" cdspageboxleftbottom = """<CDSPAGEBOXLEFTBOTTOM>""" cdspageboxrighttop = """<CDSPAGEBOXRIGHTTOP>""" cdspageboxrightbottom = """<CDSPAGEBOXRIGHTBOTTOM>""" cdspagefooter = """<CDSPAGEFOOTER>""" ## helper programs: pdftotext = "<PDFTOTEXT>" pstotext = "<PSTOTEXT>" pstoascii = "<PSTOASCII>" antiword = "<ANTIWORD>" catdoc = "<CATDOC>" wvtext = "<WVTEXT>" ppthtml = "<PPTHTML>" xlhtml = "<XLHTML>" htmltotext = "<HTMLTOTEXT>" gfile = "<GFILE>" gzip = "<GZIP>" tar = "<TAR>" gunzip = "<GUNZIP>" acroread = "<ACROREAD>" distiller = "<DISTILLER>" convert = "<CONVERT>" ## for search_engine_config: cfg_max_recID = <CFG_MAX_RECID> cfg_instant_browse = <CFG_NB_LATEST_ADDITIONS> cfg_author_et_al_threshold = <CFG_AUTHOR_ET_AL_THRESHOLD> cfg_search_cache_size = <CFG_SEARCH_CACHE_SIZE> cfg_nb_records_to_sort = <CFG_NB_RECORDS_TO_SORT> cfg_call_bibformat = <CFG_CALL_BIBFORMAT> cfg_use_aleph_sysnos = <CFG_USE_OLD_SYSNOS> cfg_fields_convert = <CFG_FIELDS_CONVERT> cfg_simplesearch_pattern_box_width = <CFG_SIMPLESEARCH_PATTERN_BOX_WIDTH> cfg_advancedsearch_pattern_box_width = <CFG_ADVANCEDSEARCH_PATTERN_BOX_WIDTH> cfg_narrow_search_show_grandsons = <CFG_NARROW_SEARCH_SHOW_GRANDSONS> cfg_oaiidtag = "<CFG_OAI_ID_TAG>" cfg_create_similarly_named_authors_link_box = <CFG_CREATE_SIMILARLY_NAMED_AUTHORS_LINK_BOX> cfg_google_box = <CFG_GOOGLE_BOX> cfg_google_box_servers = <CFG_GOOGLE_BOX_SERVERS> ## for websubmit_config: images = "<WEBURL>/img" urlpath = "<WEBURL>" accessurl = "<WEBURL>/search" counters = "<CFG_SUBMIT_COUNTER>" storage = "<CFG_SUBMIT_DIR>" filedir = "<CFG_FILE_DIR>" filedirsize = <CFG_FILE_DIR_SIZE> +xmlmarc2textmarc = "<BINDIR>/xmlmarc2textmarc" bibupload = "<BINDIR>/bibupload" bibformat = "<BINDIR>/bibformat" bibwords = "<BINDIR>/bibwords" bibconvert = "<BINDIR>/bibconvert" bibconvertconf = "<ETCDIR>/bibconvert/config" htdocsurl = "<WEBURL>" ## for access_control_config: CFG_ACCESS_CONTROL_LEVEL_SITE = <CFG_ACCESS_CONTROL_LEVEL_SITE> CFG_ACCESS_CONTROL_LEVEL_GUESTS = <CFG_ACCESS_CONTROL_LEVEL_GUESTS> CFG_ACCESS_CONTROL_LEVEL_ACCOUNTS = <CFG_ACCESS_CONTROL_LEVEL_ACCOUNTS> CFG_ACCESS_CONTROL_LIMIT_REGISTRATION_TO_DOMAIN = "<CFG_ACCESS_CONTROL_LIMIT_REGISTRATION_TO_DOMAIN>" CFG_ACCESS_CONTROL_NOTIFY_ADMIN_ABOUT_NEW_ACCOUNTS = <CFG_ACCESS_CONTROL_NOTIFY_ADMIN_ABOUT_NEW_ACCOUNTS> CFG_ACCESS_CONTROL_NOTIFY_USER_ABOUT_NEW_ACCOUNT = <CFG_ACCESS_CONTROL_NOTIFY_USER_ABOUT_NEW_ACCOUNT> CFG_ACCESS_CONTROL_NOTIFY_USER_ABOUT_ACTIVATION = <CFG_ACCESS_CONTROL_NOTIFY_USER_ABOUT_ACTIVATION> CFG_ACCESS_CONTROL_NOTIFY_USER_ABOUT_DELETION = <CFG_ACCESS_CONTROL_NOTIFY_USER_ABOUT_DELETION> ## for oai_repository_config: cfg_oai_id_prefix = "<CFG_OAI_ID_PREFIX>" cfg_oai_sample_identifier = "<CFG_OAI_SAMPLE_IDENTIFIER>" cfg_oai_identify_description = """<CFG_OAI_IDENTIFY_DESCRIPTION>""" cfg_oai_id_field = "<CFG_OAI_ID_TAG>" cfg_oai_set_field = "<CFG_OAI_SET_TAG>" cfg_oai_deleted_policy = "<CFG_OAI_DELETED_POLICY>" cfg_oai_expire = <CFG_OAI_EXPIRE> cfg_oai_sleep = <CFG_OAI_SLEEP> cfg_oai_load = <CFG_OAI_LOAD> ## for bibindex_engine_config: cfg_bibindex_fulltext_index_local_files_only = <CFG_BIBINDEX_FULLTEXT_INDEX_LOCAL_FILES_ONLY> cfg_bibindex_stemmer_default_language = "<CFG_BIBINDEX_STEMMER_DEFAULT_LANGUAGE>" cfg_bibindex_remove_stopwords = <CFG_BIBINDEX_REMOVE_STOPWORDS> cfg_bibindex_path_to_stopwords_file = "<CFG_BIBINDEX_PATH_TO_STOPWORDS_FILE>" cfg_bibindex_chars_alphanumeric_separators = r"[<CFG_BIBINDEX_CHARS_ALPHANUMERIC_SEPARATORS>]" cfg_bibindex_chars_punctuation = r"[<CFG_BIBINDEX_CHARS_PUNCTUATION>]" cfg_bibindex_remove_html_markup = <CFG_BIBINDEX_REMOVE_HTML_MARKUP> cfg_bibindex_min_word_length = <CFG_BIBINDEX_MIN_WORD_LENGTH> cfg_bibindex_urlopener_username = "<CFG_BIBINDEX_URLOPENER_USERNAME>" cfg_bibindex_urlopener_password = "<CFG_BIBINDEX_URLOPENER_PASSWORD>" ## for commenting: cfg_webcomment_allow_comments = 1 cfg_webcomment_allow_reviews = 1 cfg_webcomment_nb_reports_before_send_email_to_admin = 5 cfg_webcomment_nb_comments_in_detailed_view = 1 cfg_webcomment_nb_reviews_in_detailed_view = 1 cfg_webcomment_admin_notification_level = 1 cfg_webcomment_timelimit_processing_comments_in_seconds = 20 cfg_webcomment_timelimit_processing_reviews_in_seconds = 20 cfg_webcomment_timelimit_vote_validity_in_days = 365 cfg_webcomment_timelimit_report_validity_in_days = 100