# -*- 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. # pylint: disable-msg=C0301 """External collection configuration file.""" __revision__ = "$Id$" CFG_EXTERNAL_COLLECTION_TIMEOUT = 5 CFG_EXTERNAL_COLLECTION_MAXRESULTS = 10 CFG_EXTERNAL_COLLECTIONS = { 'Amazon': {'engine': 'Amazon'}, 'CERN Indico': {'engine': 'CDSIndico'}, 'CERN Intranet': {'base_url': "http://www.iso.org", 'search_url': "http://search.cern.ch/query.html?qt="}, 'CERN EDMS': {'engine': 'CERNEDMS'}, 'CiteSeer': {'engine': 'Citeseer'}, 'Google Web': {'engine': 'Google'}, 'Google Books': {'engine': 'GoogleBooks'}, 'Google Scholar': {'engine': 'GoogleScholar'}, 'IEC': {'base_url': "http://www.iec.ch", 'search_url': "http://www.iec.ch/cgi-bin/procgi.pl/www/iecwww.p?wwwlang=E&wwwprog=sea22.p&search=text&searchfor="}, 'IHS': {'base_url': "http://global.ihs.com", 'search_url': "http://global.ihs.com/search_res.cfm?&input_doc_title="}, 'ISO': {'base_url': "http://www.iso.org", 'search_url': "http://www.iso.org/iso/en/StandardsQueryFormHandler.StandardsQueryFormHandler?languageCode=en" + \ "&lastSearch=false&title=true&isoNumber=&isoPartNumber=&isoDocType=ALL&isoDocElem=ALL&ICS=&stageCode=&stages" + \ "cope=Current&repost=1&stagedatepredefined=&stageDate=&committee=ALL&subcommittee=&scopecatalogue=CATALOGUE&" + \ "scopeprogramme=PROGRAMME&scopewithdrawn=WITHDRAWN&scopedeleted=DELETED&sortOrder=ISO&keyword="}, 'INSPEC': {'engine': 'INSPEC'}, 'KISS Preprints': {'engine': 'KissForPreprints'}, 'KISS Books/Journals': {'engine': 'KissForBooksAndJournals'}, 'NEBIS': {'engine': 'NEBIS'}, 'Scirus': {'engine': 'Scirus'}, 'SPIRES HEP': {'engine': 'SPIRES'}, 'SLAC Library Catalog': {'engine': 'SPIRESBooks'}, } CFG_EXTERNAL_COLLECTION_STATES_NAME = {0: 'Disabled', 1: 'See also', 2: 'External search', 3:'External search checked'}