2010/1/26 Rick Welykochy <rick@praxis.com.au>:
Chris Cormack wrote:
2010/1/26 Rick Welykochy<rick@praxis.com.au>:
Anyone have experience with the tag cloud feature in Koha?
We have a Koha 3.00.02 and another 3.00.04 install. When I run the build_browser_and_cloud.pl script, the tags table in the database remains empty.
Hi Rick
What is the exact command you are running? Seems to work for me
./misc/cronjobs/build_browser_and_cloud.pl -t 650 -c <tons of output then> 42366 records done in 420.151067018509 seconds
Thanks Chris.
Oops. I must have misread the help.
./misc/cronjobs/build_browser_and_cloud.pl -t 650a -c
i.e. I included the tag subfield.
Now when I run it correctly, I do see this error (which is skipped and the process continues):
Duplicate entry 'Sports Medicine Periodicals.'
That aside, now that I have some tags in the table, i.e.
+--------------------------------------------------------+--------+ | entry | weight | +--------------------------------------------------------+--------+ | Accounting | 1 | | Business Periodicals. | 1 | | Computer programming. | 1 | | Cookery (Fish) | 2 | | Cookery (Shellfish) | 1 | | Dementia Periodicals. | 1 | | Directories Australia | 1 | | Exercise Physiological aspects. | 1 | | Exercise physiology. | 1 | | Finance Australia Periodicals. | 1 | | Fish populations Australia Statistics. | 1 |
etc.etc.
I cannot see them in the OPAC.
Where in the opac, that script is only for building the subject tag cloud, eg http://opac.koha.workbuffer.org/cgi-bin/koha/opac-tags_subject.pl Which you can get to to from the subject cloud link. You need the opaccloud syspref set to on.
I do see these tags (from the tags_all table):
antartica seafarer astronomy course setting ... etc.
Yes those are tags entered by borrowers etc, the subject tag cloud is a different thing.
Perhaps I am not "getting it" :)
Hope this helps Chris
cheers rick
select count(*) from tags; +----------+ | count(*) | +----------+ | 35453 | +----------+
Chris
-- _________________________________ Rick Welykochy || Praxis Services
Hofstadter's Law. "It always takes longer than you expect, even when you take into account Hofstadter's law."