From: Dobrica Pavlinusic Date: Sat, 5 Jul 2003 22:37:44 +0000 (+0000) Subject: misc fixes and improvements X-Git-Url: http://git.rot13.org/?p=webpac;a=commitdiff_plain;h=3d5f8b25b2d8aaa9e45e166cfa546901fc4f199a misc fixes and improvements git-svn-id: file:///home/dpavlin/private/svn/webpac/trunk@75 13eb9ef6-21d5-0310-b721-a9d68796d827 --- diff --git a/CPAN.modules b/CPAN.modules index db240ce..752ff62 100644 --- a/CPAN.modules +++ b/CPAN.modules @@ -17,3 +17,4 @@ HTML::Template HTML::FillInForm Spreadsheet::ParseExcel MARC +Text::CSV diff --git a/README b/README index 67d20c1..5d2c3d9 100644 --- a/README +++ b/README @@ -28,3 +28,19 @@ files can be in form type_something so that you can have multiple xml files for same data source (e.g. isis). +### How to specify fields which have to be searched in html templates? + +Each query to swish database is consisted of *TWO* fields. Names +of fields are f[nr] and v[nr] where [nr] is number between 1 and 30. + +Value for v field are names of tags in import_xml/*.xml file. +Value for f field is query which will be sent to swish. + +If you need to show index for this field, your submit button should +have name f[nr]_index. + +There are also other fields which are used specially. Best bet is +to do grep param WebPac.pm. However, you shouldn't need to modify +any other fields in html templates other than f[nr]* and v[nr]. +If you do, it's a BUG. Please report it to us. + diff --git a/TODO b/TODO index 38912bf..15a9097 100644 --- a/TODO +++ b/TODO @@ -43,3 +43,5 @@ should be better way...) - statistics for each library +- put links on the titles on the short results page + diff --git a/all2xml.conf b/all2xml.conf index 060eecf..2678d23 100644 --- a/all2xml.conf +++ b/all2xml.conf @@ -5,6 +5,7 @@ [sciencedirect] type=feed_sciencedirect materialtype=E-èasopis + databasename=ScienceDirect [ebsco-hch-ft] type=marc_ebsco diff --git a/template_html/search.html b/template_html/search.html index 7cfb553..cb18ce7 100644 --- a/template_html/search.html +++ b/template_html/search.html @@ -125,6 +125,8 @@ + + @@ -182,6 +184,7 @@ +--> @@ -194,19 +197,21 @@ Vrsta graðe: @@ -282,7 +288,6 @@ --->
- + Knjige
- + Èasopisi
- - Online èasopisi
- + + Elektronièki èasopisi
+ Èlanci i poglavlja
+
Knji¾nice: @@ -228,46 +233,47 @@
ili samo pojedine knji¾nice:
- + + Anglistika
- + Arheologija
- + Etnologija
- + Filozofija
- + Fonetika
- + Germanistika
- + Klasièna filologija
- + Komparativna knji¾evnost
- + Lingvistika i orijentalni studiji
- + Povijest
- + Povijest umjetnosti
- + Romanistika
- + Slavenska filologija
- + Talijanistika
ili samo pojedine knji¾nice:
- + Informacijske znanosti
- + Pedagogija
- - Psihologijai
- + + Psihologija
+ Sociologija