/[webpac-proto]/isis2stream.pl
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /isis2stream.pl

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.16 by dpavlin, Mon Jun 24 18:07:26 2002 UTC revision 1.18 by dpavlin, Wed Jul 17 16:55:24 2002 UTC
# Line 49  while(<CF>) { Line 49  while(<CF>) {
49          if (/^database-name:([^=]+)=(.*)$/) {          if (/^database-name:([^=]+)=(.*)$/) {
50                  my ($db_name,$db_desc) = ($1,$2);                  my ($db_name,$db_desc) = ($1,$2);
51                  $db_desc=~s/^##\w+##//g;                  $db_desc=~s/^##\w+##//g;
52                  $DatabaseDescriptions{$db_name}=$db_desc;                  # c_iso_852 is a cludge so that output format would be
53                    # correct 8859-2 again...
54                    $DatabaseDescriptions{$db_name}=c_iso_852($db_desc);
55          }          }
56  }  }
57  close(CF);  close(CF);
# Line 350  foreach my $isis_db (@isis_dbs) { Line 352  foreach my $isis_db (@isis_dbs) {
352                  $bib .= isis_to_bib($row,'701','%700+','ab',undef,'>',', ');                  $bib .= isis_to_bib($row,'701','%700+','ab',undef,'>',', ');
353                  $bib .= isis_to_bib($row,'701','%700+','cd',undef,'>',', ');                  $bib .= isis_to_bib($row,'701','%700+','cd',undef,'>',', ');
354    
355                  my $tmp = isis_sf($row,'710','abc', '', '', (' : ',', '));                  my $tmp;
356                    $tmp = isis_sf($row,'710','abc', '', '', (' : ',', '));
357                  $tmp .= isis_sf($row,'710','dfe', ' (', ')', ('', ' ; ',' ; '));                  $tmp .= isis_sf($row,'710','dfe', ' (', ')', ('', ' ; ',' ; '));
358                  $bib .= "%700+ $tmp\n" if ($tmp);                  $bib .= "%700+ $tmp\n" if ($tmp);
359    
360                  my $tmp = isis_sf($row,'711','abc', '', '', (' : ',', '));                  $tmp = isis_sf($row,'711','abc', '', '', (' : ',', '));
361                  $tmp .= isis_sf($row,'711','dfe', ' (', ')', ('', ' ; ',' ; '));                  $tmp .= isis_sf($row,'711','dfe', ' (', ')', ('', ' ; ',' ; '));
362                  $bib .= "%700+ $tmp\n" if ($tmp);                  $bib .= "%700+ $tmp\n" if ($tmp);
363    
# Line 394  foreach my $isis_db (@isis_dbs) { Line 397  foreach my $isis_db (@isis_dbs) {
397                  $mps .= isis_to_mps($row,'233',2,"ae");                  $mps .= isis_to_mps($row,'233',2,"ae");
398    
399    
                 my $tmp;  
400                  $tmp =  isis_sf($row,'230','v').                  $tmp =  isis_sf($row,'230','v').
401                          isis_sf($row,'230','a',' : ').                          isis_sf($row,'230','a',' : ').
402                          isis_sf($row,'250',undef,'. - ').                          isis_sf($row,'250',undef,'. - ').
# Line 480  foreach my $isis_db (@isis_dbs) { Line 482  foreach my $isis_db (@isis_dbs) {
482                  $bib .= isis_to_bib($row,'610','%610');                  $bib .= isis_to_bib($row,'610','%610');
483                  $mps .= isis_to_mps($row,'610',8);                  $mps .= isis_to_mps($row,'610',8);
484    
485                  $bib .= isis_to_bib($row,'675','%675+');                  $bib .= isis_to_bib($row,'675','%675+','a');
486                  $mps .= isis_to_mps($row,'675',9);                  $mps .= isis_to_mps($row,'675',9);
487                  $bib .= isis_to_bib($row,'686','%675+');                  $bib .= isis_to_bib($row,'686','%675+','a');
488                  $mps .= isis_to_mps($row,'686',10);                  $mps .= isis_to_mps($row,'686',10);
489    
490                  $bib .= isis_to_bib($row,'990','%990');                  $bib .= isis_to_bib($row,'990','%990');

Legend:
Removed from v.1.16  
changed lines
  Added in v.1.18

  ViewVC Help
Powered by ViewVC 1.1.26