1 |
this is a free re-implementation of our searcher described at |
2 |
|
3 |
http://webpac.sf.net/ |
4 |
|
5 |
This code is written by Dobrica Pavlinusic <dpavlin@rot13.org> and |
6 |
released under GPL v2 or later license. |
7 |
|
8 |
|
9 |
Status as of 2004-06-16: |
10 |
|
11 |
WebPAC v1.x is in production use. We have 7 live production |
12 |
installations. |
13 |
|
14 |
WebPAC v2.x is under active development |
15 |
|
16 |
All commands and modules have documentation embeded in them: you can try |
17 |
|
18 |
$ perldoc all2all.pl |
19 |
|
20 |
to see it's usage. |
21 |
|
22 |
---- rest of this file is legacy information, not updated for v2.x ---- |
23 |
|
24 |
### Working notes for documentation: |
25 |
|
26 |
all2xml.conf: |
27 |
|
28 |
Type must be defined by one of files in import_xml/. However, those |
29 |
files can be in form type_something so that you can have multiple |
30 |
xml files for same data source (e.g. isis). |
31 |
|
32 |
|
33 |
### How to specify fields which have to be searched in html templates? |
34 |
|
35 |
Each query to swish database is consisted of *TWO* fields. Names |
36 |
of fields are f[nr] and v[nr] where [nr] is number between 1 and 30. |
37 |
|
38 |
Value for v field are names of tags in import_xml/*.xml file. |
39 |
Value for f field is query which will be sent to swish. |
40 |
|
41 |
If you need to show index for this field, your submit button should |
42 |
have name f[nr]_index. |
43 |
|
44 |
There are also other fields which are used specially. Best bet is |
45 |
to do grep param WebPac.pm. However, you shouldn't need to modify |
46 |
any other fields in html templates other than f[nr]* and v[nr]. |
47 |
If you do, it's a BUG. Please report it to us. |
48 |
|
49 |
|
50 |
### For more documentation, please examine doc/ directory! |