From a42b1228eb84861e0d7e4a30ee0a301ecabe1f1e Mon Sep 17 00:00:00 2001 From: Dobrica Pavlinusic Date: Sun, 23 Feb 2003 07:09:11 +0000 Subject: [PATCH] misc updates git-svn-id: file:///home/dpavlin/private/svn/webpac/trunk@30 13eb9ef6-21d5-0310-b721-a9d68796d827 --- WebPac.pm | 2 +- all2xml.conf | 24 +++++++++++++++++------- 2 files changed, 18 insertions(+), 8 deletions(-) diff --git a/WebPac.pm b/WebPac.pm index a6f408e..d79040b 100644 --- a/WebPac.pm +++ b/WebPac.pm @@ -22,7 +22,7 @@ my $INDEX = '/data/webpac/index/isis.index'; my $MAX_HITS = 500; my $ON_PAGE = 10; -Text::Iconv->raise_error(1); # Conversion errors raise exceptions +Text::Iconv->raise_error(0); # Conversion errors raise exceptions my $from_utf8 = Text::Iconv->new('UTF8', $CHARSET); diff --git a/all2xml.conf b/all2xml.conf index 05c0700..e310397 100644 --- a/all2xml.conf +++ b/all2xml.conf @@ -1,7 +1,8 @@ # names of databases that you want isis2xml.pl to process # describe your databases here -[psihologija-k] + +[ps-libri] # directory for isis databases isis_db=/data/isis_data/small/ps/LIBRI/LIBRI # this will use xml file in import_xml/ dir @@ -12,14 +13,23 @@ # or something like that xml=Knjiga -[ps-a] - # directory for isis databases +[ge-libri] + isis_db=/data/isis_data/small/ge/LIBRI/LIBRI + type=isis + xml_codepage = ISO8859-2 + xml=Knjiga + + +[ps-peri] isis_db=/data/isis_data/small/ps/PERI/PERI - # this will use xml file in import_xml/ dir type=isis - # this is codepage of import_xml/{type}.xml xml_codepage = ISO8859-2 - # this is arbirary xml added to each record (e.g. Library identifier - # or something like that xml=Èasopis +[kk-arti] + isis_db=/data/isis_data/small/kk/ARTI/ARTI + type=isis + xml_codepage = ISO8859-2 + xml=Èlanak + + -- 2.20.1