/[webpac]/branches/hidra/doc/upute-2.1.html
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Contents of /branches/hidra/doc/upute-2.1.html

Parent Directory Parent Directory | Revision Log Revision Log


Revision 402 - (show annotations)
Fri Aug 27 19:55:46 2004 UTC (19 years, 8 months ago) by dpavlin
File MIME type: text/html
File size: 3161 byte(s)
more local changes

1 <html>
2 <head>
3 <title>Upute za WebPAC</title>
4 <meta content="text/html; charset=ISO-8859-2" http-equiv="Content-Type">
5 <link rel="stylesheet" href="upute.css" type="text/css">
6 </head>
7
8 <body>
9 <table width="100%" border="0" cellspacing="0" cellpadding="0">
10 <a name="vrh"></a>
11 <tr>
12 <td class="tdH1">
13 WebPAC - knji¾nièni web katalog
14 </td>
15 </tr>
16 <tr>
17 <td class="tdH2">
18 </td>
19 </tr>
20 </table>
21
22 <table border="0" cellspacing="0" cellpadding="0" width="98%" align="center">
23 <tr>
24 <td>&nbsp;</td>
25 <td class="tdB1-2">
26 <h1>&nbsp;</h1>
27 </td>
28 </tr>
29 <tr>
30 <td class="tdB1" width="20%">
31 <table border="0">
32 <tr>
33 <td class="tdM1" colspan="2"><b><a href="upute.html">Sadr¾aj</a></b></td>
34 </tr>
35 </table>
36 </td>
37
38 <td class="tdB1-2">
39 <h3>Struktura all2xml.conf datoteke</h3>
40
41 <hr>
42 <tt>
43 # describe your databses here<br>
44 [hidra-bib]
45 <div class="ind">
46 # directory for isis databases:<br>
47 isis_db=/data/hidra/BIB-H/BIB<br>
48 # this will use xml file in import_xml/ dir:</br>
49 type=isis_hidra_bib<br>
50 # this is arbirary xml added to each record<br>
51 # (e.g. Library identifier or something like that:<br>
52 collection_code=SDRH<br>
53 library_url=http://www.hidra.hr/
54 </div>
55 </tt>
56 <hr>
57
58 <p>Poja¹njenje:<br>
59 <tt># </tt>= komentar</br>
60 <tt>[hidra-bib]</tt> = oznaka baze<br>
61 <tt>isis_db</tt>, <tt>type</tt>, <tt>collection_code</tt>, <tt>library_url</tt> = parametri
62
63 <p><u>Obavezni parametri</u>:<br>
64 <tt>isis_db</tt> = put do baze na disku<br>
65 <tt>type</tt> = ime <tt>xml</tt> konfiguracijske datoteke<br>
66 oznaka baze
67
68 <p>Nazivi parametara <tt>isis_db</tt> i <tt>isis_db</tt>ne mogu
69 se proizvoljno mijenjati, a oznaka baze se proizvoljno odreðuje (dobro je da to budu smislene kratice). Oznaka mora biti
70 jedinstvena za svaki fizièki skup podataka.
71
72 <p>Svim ostalim parametrima biraju se proizvoljni nazivi.<br>
73 npr.<br>
74 <tt>
75 collection_code=SDRH<br>
76 library_url=http://www.hidra.hr/
77 </tt>
78
79 <p>Ti parametri dodatno opisuju fizièki skup podataka (pojedinu
80 bazu). Pozivaju se u <a
81 href="upute-1.3.html"i><tt>import_xml/</tt> datotekama</a> uz
82 pomoæ <tt>&lt;config&gt;</tt> taga, kojemu je moguæe
83 pridjeljivati iste atribute kao i &lt;isis&gt; tagu (¹to znaèi
84 da je te podatke moguæe dodati u pretra¾ivanje, kazalo i u
85 prikaz).
86 <p>
87 Primjer:<br>
88 Ako ¾elimo ogranièiti pretra¾ivanje prema zbirkama koje su
89 jedinstveno oznaèene kao u prethodnom primjeru, u datoteci
90 <tt>import_xml/isis_hidra_bib.xml</tt> treba ispisati:
91 <pre><tt>
92 &lt;Collection name="Zbirka:" order="5"&gt;
93 &lt;config type="swish"&gt;collection_code&lt;/config&gt;
94 &lt;/Collection&gt;</tt>
95 </pre>
96
97 U formi za pretra¾ivanje (<tt>template_html-hidra-search.html</tt>) treba ispisati:
98
99 <pre><tt>
100 &lt;input value="Collection" name="f11" type="hidden"&gt;
101 &lt;input value="SDRH" name="v11" type="checkbox"&gt;
102 Slu¾bena dokumentacija i opæe publikacije Republike Hrvatske</tt>
103 </pre>
104
105 <br>
106
107
108
109
110 <p>&nbsp;
111 <p>&nbsp;
112
113 </td>
114 </tr>
115
116
117 </table>
118 </body>
119 </html>
120
121

  ViewVC Help
Powered by ViewVC 1.1.26