--- /dev/null
+CPAN modules to consider using:
+
+AnyData::Format::XML
+Data::DumpXML
+Data::DumpXML::Parser
+XML::Simple
+XML::Writer
+
+other perl modules which are used:
+
+Text::Unaccent from http://www.senga.org/unac/
--- /dev/null
+clean:
+ rm -f *.bak
--- /dev/null
+this is a free re-implementation of our searcher described at
+
+http://webpac.sf.net/
+
+This code is written by Dobrica Pavlinusic <dpavlin@rot13.org> and
+released under GPL v2 or later license.
+
+Status as of 2002-11-22:
+
+This code is *NOT* ready for production use. It's not even finished.
+But we are working on it.
--- /dev/null
+This that has to be done (or fixed)
+
+- allmost everything
+- isis2xml.pl
+
+- implement "posudba"
+
+---------------------------------------------------------------------------
+
+General implementation notes:
+
+-
+
+---------------------------------------------------------------------------
+
+This are notes about WWW interface:
+
+- re-use good ideas from MPS indexer (which was used as proof-of-concept,
+ see paper at http://webpac.sf.net/)
+
+- use CSS
+ * provide several color templates
+ * provide template without char size of color set (to enable
+ usage of default browser colors/font-size)
+
+---------------------------------------------------------------------------
+
--- /dev/null
+#!/usr/bin/perl -w
+
+use strict;
+use OpenIsis;
+use Getopt::Std;
+use Data::Dumper;
+use XML::Simple;
+
+my $config=XMLin();
+
+print Dumper($config);
+
+my %opts;
+
+getopts('d:m:q', \%opts);
+
+my $db_dir = $opts{d};
+
+die "usage: $0 -d [database_dir] -m [database1,database2] " if (! %opts);
+
+#--------------------------------------------------------------------
+
+my $last_tell=0;
+
+my @isis_dirs = ( '.' ); # use dirname as database name
+
+if ($opts{m}) {
+ @isis_dirs = split(/,/,$opts{m});
+}
+
+my @isis_dbs;
+
+foreach (@isis_dirs) {
+ if (-e "$common::isis_data/$db_dir/$_/LIBRI") {
+ push @isis_dbs,"$common::isis_data/$db_dir/$_/LIBRI/LIBRI";
+ }
+ if (-e "$common::isis_data/$db_dir/$_/PERI") {
+ push @isis_dbs,"$common::isis_data/$db_dir/$_/PERI/PERI";
+ }
+ if (-e "$common::isis_data/$db_dir/$_/AMS") {
+ push @isis_dbs,"$common::isis_data/$db_dir/$_/AMS/AMS";
+ }
+ if (-e "$common::isis_data/$db_dir/$_/ARTI") {
+# push @isis_dbs,"$common::isis_data/$db_dir/$_/ARTI/ARTI";
+ }
+}
+
+foreach my $isis_db (@isis_dbs) {
+
+ my $db = OpenIsis::open( "$isis_db" ) || warn "can't open '$isis_db'";
+
+ my $max_rowid = OpenIsis::maxRowid( $db );
+
+ my $last_pcnt = 0;
+
+ for (my $row_id = 1; $row_id <= $max_rowid; $row_id++ ) {
+ my $row = OpenIsis::read( $db, $row_id );
+
+ # output current process indicator
+ my $pcnt = int($row->{mfn} * 100 / $max_rowid);
+ if ($pcnt != $last_pcnt) {
+ printf STDERR ("%5d / %5d -- %-2d %%\n",$row->{mfn},$max_rowid,$pcnt) if (! $opts{q});
+ $last_pcnt = $pcnt;
+ }
+ }
+}
--- /dev/null
+<config>
+<!--
+ <isis post=",">700ab</isis>
+-->
+ <index>
+ <author>
+ <isis f="700" sf="ab"/>
+ <isis f="701" sf="ab"/>
+ <isis f="701" sf="cd"/>
+ </author>
+ </index>
+ <!-- not used and defined for now!
+ <display>
+ <author> <isis f="700" sf="a"/><isis f="700" sf="b"/> <post>, </post></author>
+ <author> <isis f="701" sf="a"/><isis f="701" sf="b"/> <post>, </post></author>
+ <author> <isis f="701" sf="c"/><isis f="701" sf="d"/> <post>, </post></author>
+ </display>
+ -->
+</config>