From 65a138985fa09888e7c332bf5cf1f492fc601d79 Mon Sep 17 00:00:00 2001 From: Dobrica Pavlinusic Date: Sun, 23 Feb 2003 00:01:08 +0000 Subject: [PATCH] *** empty log message *** git-svn-id: file:///home/dpavlin/private/svn/webpac/trunk@22 13eb9ef6-21d5-0310-b721-a9d68796d827 --- import_xml/isis.xml | 91 ++++++++++++++++++++++++++++++++++----- parse_format.pm | 10 +++++ template_html/search.html | 20 ++++----- 3 files changed, 101 insertions(+), 20 deletions(-) diff --git a/import_xml/isis.xml b/import_xml/isis.xml index bdddb73..55640a6 100644 --- a/import_xml/isis.xml +++ b/import_xml/isis.xml @@ -18,15 +18,33 @@ 200a : 200e / 200f , 210d - - 700 701 710 702 711 503 200f 200g + + 10 11 + 10 + 11 + + + + 10 + + + + 11 + + + + 700 701 702 710 711 503 200f 200g 700a, 700b - ; 701a, 701b - - ; 701c, 701d; 710a : 710b, 710c (710d ; 710f ; 710e) 503a, 503b + 710a. 710b (710d ; 710f ; 710e) + 503a, 503b 700a, 700b - - + <isis type="index">701a, 701b</isis> + <isis type="index">702a, 702b</isis> + <isis type="index">710a</isis> + <isis type="index">503a, 503b</isis> + </Author> + + <TitleAndResponsibility name="Naslov"> <isis>200a : 299e ; 200k</isis> <isis type="swish">200d 200c</isis> <isis type="swish">225a</isis> @@ -36,14 +54,58 @@ <isis type="swish">532</isis> <isis append="1" type="display"> = 200d / 200f ; 200g. 200c</isis> <isis type="index">200a</isis> - + + + + 205a + + + + 210d + + + + 210a 210c + 210c, 210a + + + + 210a : 210c, 210d + + + + 215a : 215c ; 215d + 215a : 215c ; 215d + - + + 225a : 225e ; 225v. 225h, 225i ; 225w + + + + 300 + 320 + + + + 327 + + + 610 - + + + + 675a + + + + 330 + + <br>230v : 230a. - 250. - 260<br>ISBN 290 @@ -52,14 +114,23 @@ <br>233v : 233a. - 253. - 263<br>ISBN 293 + + 990 + + 801a 801a + + 991 + + + diff --git a/parse_format.pm b/parse_format.pm index 6dadcf6..06462d8 100644 --- a/parse_format.pm +++ b/parse_format.pm @@ -29,6 +29,16 @@ sub parse_format { $swish .= $isis_tmp." "; } $prefix = ""; + # this might be our local scpeciality -- fields 10 and 11 + # (as opposed to 010 and 011) so they are strictly listed + # here + } elsif ($format =~ s/^(1[01])//) { + my $isis_tmp = isis_sf($row,$1,$2); + if ($isis_tmp) { + $display .= $prefix . $isis_tmp; + $swish .= $isis_tmp." "; + } + $prefix = ""; } elsif ($format =~ s/^([^\d]+)(\d{0,3})/$2/) { $prefix .= $1; } elsif ($format =~ s/^([^\d]+\d{0,2})//) { diff --git a/template_html/search.html b/template_html/search.html index 436340e..d246522 100644 --- a/template_html/search.html +++ b/template_html/search.html @@ -45,7 +45,7 @@ Autor(i): - + @@ -54,7 +54,7 @@ Naslov: - + @@ -63,7 +63,7 @@ Godina: - + npr. @@ -71,25 +71,25 @@ Izdavaè: - - - + + + npr. ISBN/ISSN: - - - + + + npr. Ostala polja: