diff --git a/modules/websearch/lib/search_engine_config.py b/modules/websearch/lib/search_engine_config.py index d32dccfaa..c0cb56fab 100644 --- a/modules/websearch/lib/search_engine_config.py +++ b/modules/websearch/lib/search_engine_config.py @@ -1,43 +1,86 @@ ## $Id$ ## CDSware Search Engine config parameters, read from WML configuration file. ## This file is part of the CERN Document Server Software (CDSware). ## Copyright (C) 2002 CERN. ## ## The CDSware 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. ## ## The CDSware 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 CDSware; 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" ## $Id$ ## DO NOT EDIT THIS FILE! IT WAS AUTOMATICALLY GENERATED FROM CDSware WML SOURCES. ## See cdsware-x.y.z/config/config.wml for explanation of the parameter meaning. """CDSware Search Engine config parameters, read from WML configuration file.""" -cfg_max_recID = # rec universe: shoud be >= than maximum recID from the bibrec database -cfg_instant_browse = # the number of docs to display under 'Latest Additions' -cfg_author_et_al_threshold = # print up to 3 author names, then add "et al" in the brief format -cfg_search_cache_size = # how many search hits we want to cache in memory? -cfg_nb_records_to_sort = # limit for sorting -cfg_call_bibformat = # if "HTML detailed" format is not found, do we want to call BibFormat on the fly? -cfg_use_aleph_sysnos = # do we want to make ALEPH/old sysnos visible rather than MySQL's recID? +# rec universe: shoud be >= than maximum recID from the bibrec database +cfg_max_recID = + +# the number of docs to display under 'Latest Additions' +cfg_instant_browse = + +# print up to 3 author names, then add "et al" in the brief format +cfg_author_et_al_threshold = + +# how many search hits we want to cache in memory? +cfg_search_cache_size = + +# limit for sorting +cfg_nb_records_to_sort = + +# if "HTML detailed" format is not found, do we want to call BibFormat on the fly? +cfg_call_bibformat = + +# do we want to make ALEPH/old sysnos visible rather than MySQL's recID? +cfg_use_aleph_sysnos = + +# field names to convert from a previous search system? cfg_fields_convert = -cfg_google_box = # are we are proposing links to other search engines like google by default? -cfg_simplesearch_pattern_box_width = # width of the search pattern window in the simple search interface -cfg_advancedsearch_pattern_box_width = # width of the search pattern window in the advanced search interface -cfg_narrow_search_show_grandsons = # show or not grandsons in Narrow Search boxes? -cfg_oaiidtag = "" # OAI ID tag, to be shown for DELETED records + +# width of the search pattern window in the simple search interface +cfg_simplesearch_pattern_box_width = + +# width of the search pattern window in the advanced search interface +cfg_advancedsearch_pattern_box_width = + +# show or not grandsons in Narrow Search boxes? +cfg_narrow_search_show_grandsons = + +# OAI ID tag, to be shown for DELETED records +cfg_oaiidtag = "" + +# create links for Ellis, N and friends when Ellis, N was searched for? +cfg_create_similarly_named_authors_link_box = 1 + +# are we are proposing links to other search engines like google? +cfg_google_box = + +# what other search engines to point to in the `'Haven't found...'' google box? +cfg_google_box_servers = {'Amazon' : 1, + 'CERN Intranet' : 1, + 'CERN Agenda' : 1, + 'CiteSeer' : 1, + 'Google Scholar' : 1, + 'Google Web' : 1, + 'IEC' : 1, + 'IHC' : 1, + 'INSPEC' : 1, + 'ISO' : 1, + 'KEK' : 1, + 'NEBIS' : 1, + 'SPIRES' : 1} diff --git a/modules/websearch/lib/search_engine_config.py.wml b/modules/websearch/lib/search_engine_config.py.wml index d32dccfaa..c0cb56fab 100644 --- a/modules/websearch/lib/search_engine_config.py.wml +++ b/modules/websearch/lib/search_engine_config.py.wml @@ -1,43 +1,86 @@ ## $Id$ ## CDSware Search Engine config parameters, read from WML configuration file. ## This file is part of the CERN Document Server Software (CDSware). ## Copyright (C) 2002 CERN. ## ## The CDSware 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. ## ## The CDSware 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 CDSware; 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" ## $Id$ ## DO NOT EDIT THIS FILE! IT WAS AUTOMATICALLY GENERATED FROM CDSware WML SOURCES. ## See cdsware-x.y.z/config/config.wml for explanation of the parameter meaning. """CDSware Search Engine config parameters, read from WML configuration file.""" -cfg_max_recID = # rec universe: shoud be >= than maximum recID from the bibrec database -cfg_instant_browse = # the number of docs to display under 'Latest Additions' -cfg_author_et_al_threshold = # print up to 3 author names, then add "et al" in the brief format -cfg_search_cache_size = # how many search hits we want to cache in memory? -cfg_nb_records_to_sort = # limit for sorting -cfg_call_bibformat = # if "HTML detailed" format is not found, do we want to call BibFormat on the fly? -cfg_use_aleph_sysnos = # do we want to make ALEPH/old sysnos visible rather than MySQL's recID? +# rec universe: shoud be >= than maximum recID from the bibrec database +cfg_max_recID = + +# the number of docs to display under 'Latest Additions' +cfg_instant_browse = + +# print up to 3 author names, then add "et al" in the brief format +cfg_author_et_al_threshold = + +# how many search hits we want to cache in memory? +cfg_search_cache_size = + +# limit for sorting +cfg_nb_records_to_sort = + +# if "HTML detailed" format is not found, do we want to call BibFormat on the fly? +cfg_call_bibformat = + +# do we want to make ALEPH/old sysnos visible rather than MySQL's recID? +cfg_use_aleph_sysnos = + +# field names to convert from a previous search system? cfg_fields_convert = -cfg_google_box = # are we are proposing links to other search engines like google by default? -cfg_simplesearch_pattern_box_width = # width of the search pattern window in the simple search interface -cfg_advancedsearch_pattern_box_width = # width of the search pattern window in the advanced search interface -cfg_narrow_search_show_grandsons = # show or not grandsons in Narrow Search boxes? -cfg_oaiidtag = "" # OAI ID tag, to be shown for DELETED records + +# width of the search pattern window in the simple search interface +cfg_simplesearch_pattern_box_width = + +# width of the search pattern window in the advanced search interface +cfg_advancedsearch_pattern_box_width = + +# show or not grandsons in Narrow Search boxes? +cfg_narrow_search_show_grandsons = + +# OAI ID tag, to be shown for DELETED records +cfg_oaiidtag = "" + +# create links for Ellis, N and friends when Ellis, N was searched for? +cfg_create_similarly_named_authors_link_box = 1 + +# are we are proposing links to other search engines like google? +cfg_google_box = + +# what other search engines to point to in the `'Haven't found...'' google box? +cfg_google_box_servers = {'Amazon' : 1, + 'CERN Intranet' : 1, + 'CERN Agenda' : 1, + 'CiteSeer' : 1, + 'Google Scholar' : 1, + 'Google Web' : 1, + 'IEC' : 1, + 'IHC' : 1, + 'INSPEC' : 1, + 'ISO' : 1, + 'KEK' : 1, + 'NEBIS' : 1, + 'SPIRES' : 1}