--- trunk/run.pl 2006/05/15 13:15:01 507 +++ trunk/run.pl 2006/05/15 13:32:18 508 @@ -52,7 +52,7 @@ =item --force-set -force conversion Cpath> in C from +force conversion C<< normalize->path >> in C from C<.xml> to C<.pl> =item --stats @@ -246,13 +246,24 @@ push @{ $row->{'000'} }, $pos; } - my $ds = $n ? $n->data_structure($row) : - WebPAC::Normalize::Set::data_structure( + + my $ds; + if ($n) { + $ds = $n->data_structure($row); + } else { + $ds = WebPAC::Normalize::Set::data_structure( row => $row, rules => $rules, lookup => $lookup->lookup_hash, ); + $db->save_ds( + id => $mfn, + ds => $ds, + prefix => $input->{name}, + ) if ($ds); + } + $indexer->add( id => $input->{name} . "/" . $mfn, ds => $ds,