17 |
|
|
18 |
my $config_file = $0; |
my $config_file = $0; |
19 |
$config_file =~ s/\.pl$/.conf/; |
$config_file =~ s/\.pl$/.conf/; |
20 |
|
$config_file = $ARGV[0] if (-f $ARGV[0]); |
21 |
die "FATAL: can't find configuration file '$config_file'" if (! -e $config_file); |
die "FATAL: can't find configuration file '$config_file'" if (! -e $config_file); |
22 |
|
|
23 |
my $config; |
my $config; |
919 |
|
|
920 |
all2xml.pl - read various file formats and dump XML for SWISH-E |
all2xml.pl - read various file formats and dump XML for SWISH-E |
921 |
|
|
922 |
|
=head1 SYNOPSYS |
923 |
|
|
924 |
|
$ all2xml.pl [test.conf] |
925 |
|
|
926 |
=head1 DESCRIPTION |
=head1 DESCRIPTION |
927 |
|
|
928 |
This command will read ISIS data file using OpenIsis perl module, MARC |
This command will read ISIS data file using OpenIsis perl module, MARC |
931 |
this script B<isn't general xml generator> from isis files (isis allready |
this script B<isn't general xml generator> from isis files (isis allready |
932 |
has something like that). Output of this script is tailor-made for SWISH-E. |
has something like that). Output of this script is tailor-made for SWISH-E. |
933 |
|
|
934 |
|
If no configuration file is specified, it will use default one called |
935 |
|
C<all2xml.conf>. |
936 |
|
|
937 |
=head1 BUGS |
=head1 BUGS |
938 |
|
|
939 |
Documentation is really lacking. However, in true Open Source spirit, source |
Documentation is really lacking. However, in true Open Source spirit, source |