[Koha-patches] [PATCH] OPAC new subjects cloud using Zebra scan on Subject field

Henri-Damien LAURENT henridamien at koha-fr.org
Thu Oct 2 21:09:12 CEST 2008


Frederic Demians a écrit :
> This patch implement a new subject cloud. The subject cloud is created in
> pro interface:
>
>   [1] /tools/create_cloud.pl creates a static file:
>       /koha-tmpl/opac-tmpl/cloud.html
>       Zebra scan is used to find top subjects, ie subjects
>       which occurs the more in the whole catalogue.
>       Write permission on /koha-tmpl/opac-tmpl required.
>   [2] opac-main.pl displays the cloud if cloud file is
>       present.
>
> Compare to previous cloud, it has those advantages:
>   - It doesn't require a batch job.
>   - Speed--It uses Zebra and so has not to seek the whole
>     MySQL DB, read-decode MARC records, etc.
>   - Scalable--It doesn't load in memory all subjects but
>     only a max of 1000 subjects.
>   - Display use HTML::TagCloud and so it looks like
>     'regular' tag cloud.
>   
Seems very good.
But adds a new dependency.

-- 
Henri-Damien LAURENT
BibLibre SARL
http://www.biblibre.com
Expert en Logiciels Libres pour l'info-doc
tel : +33 4 67 65 75 50





More information about the Koha-patches mailing list