Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F79494543
bibrecord_config.py.wml
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Mon, Aug 26, 17:18
Size
2 KB
Mime Type
text/x-c
Expires
Wed, Aug 28, 17:18 (1 d, 21 h)
Engine
blob
Format
Raw Data
Handle
20187249
Attached To
R3600 invenio-infoscience
bibrecord_config.py.wml
View Options
## $Id$
## 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.
#include "configbis.wml"
### CONFIGURATION OPTIONS FOR BIBRECORD LIBRARY
"""bibrecord configuration"""
# location of the MARC21 DTD file:
cfg_marc21_dtd = "<ETCDIR>/bibedit/MARC21slim.dtd"
# internal dictionary of warning messages:
cfg_bibrecord_warning_msgs = {
0: '' ,
1: 'WARNING: tag missing for field(s)\nValue stored with tag \'000\'',
2: 'WARNING: bad range for tags (tag must be in range 001-999)\nValue stored with tag \'000\'',
3: 'WARNING: Missing atributte \'code\' for subfield\nValue stored with code \'\'',
4: 'WARNING: Missing attributte \'ind1\'\n Value stored with ind1 = \'\'',
5: 'WARNING: Missing attributte \'ind2\'\n Value stored with ind2 = \'\'',
6: 'Import Error\n',
7: 'WARNING: value expected of type string.',
8: 'WARNING: empty datafield',
98:'WARNING: problems importing cdsware',
99: 'Document not well formed'
}
# verbose level to be used when creating records from XML: (0=least, ..., 9=most)
cfg_bibrecord_default_verbose_level=0
# correction level to be used when creating records from XML: (0=no, 1=yes)
cfg_bibrecord_default_correct=0
# XML parsers available: (0=minidom, 1=4suite, 2=PyRXP)
cfg_bibrecord_parsers_available = [0,1,2]
Event Timeline
Log In to Comment