26 Jul 2021 15:47:29 UTC
- Distribution: Koha-Contrib-Tamil
- Source (raw)
- Browse (raw)
- How to Contribute
- Clone repository
- Issues (2)
- Testers (0 / 0 / 2)
- KwaliteeBus factor: 1
- % Coverage
- License: open_source
- Perl: v5.10.0
- Activity24 month
- Download (87.81KB)
- MetaCPAN Explorer
- Subscribe to distribution
- This version
- Latest versionFREDERICD Frédéric Demians
- Reverse dependencies
- CPAN Testers List
- Dependency graph
koha-cloud - Creates HTML keywords clouds from Koha Zebra Indexes
- koha-cloud [--verbose|--help] --conf=cloud.conf
Creates multiple HTML files containing kewords cloud with top terms sorted by their logarithmic weight. cloud.conf is a YAML configuration file driving cloud generation process.
- --conf=configuration file
Specify configuration file name
Enable script verbose mode.
Print this help page.
Configuration file looks like that:
--- # Koha configuration file for a specific installation # If not present, defaults to KOHA_CONF KohaConf: /home/koha/mylibray/etc/koha-conf.xml # Zebra index to scan ZebraIndex: Author # Koha index used to link found kewords with an opac search URL KohaIndex: au # Number of top keyword to use for the cloud Count: 50 # Include CSS style directives with the cloud # This could be used as a model and then CSS directives are # put in the appropriate CSS file directly. Withcss: Yes # HTML file where to output the cloud Output: /home/koha/mylibrary/koharoot/koha-tmpl/cloud-author.html --- KohaConf: /home/koha/yourlibray/etc/koha-conf.xml ZebraIndex: Subject KohaIndex: su Count: 200 Withcss: no Output: /home/koha/yourlibrary/koharoot/koha-tmpl/cloud-subject.html
Generated top terms have more informations than those outputted from the time beeing. Some parameters could be easily added to improve this script:
In order to output terms with the number of occurences they have been found in Koha Catalogue by Zebra.
Number of levels in the cloud. Now 24 levels are hardcoded.
Weighting method used to distribute terms in the cloud. We could have two values: Logarithmic and Linear. Now it's Logarithmic by default.
Now terms are outputted in the lexical order. They could be sorted by their weight.
Frédéric Demians <email@example.com>
This software is Copyright (c) 2021 by Fréderic Démians.
This is free software, licensed under:
The GNU General Public License, Version 3, June 2007
Module Install Instructions
To install Koha::Contrib::Tamil, copy and paste the appropriate command in to your terminal.
perl -MCPAN -e shell install Koha::Contrib::Tamil
For more information on module installation, please visit the detailed CPAN module installation guide.