Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Shows recently acquired book titles with covers on Koha catalogue homepage and beyond
Perl
Branch: master
Pull request Compare This branch is 2 commits ahead, 1 commit behind alenkovich:master.
Failed to load latest commit information.
conf Ver. 0.1 commit
COPYING Add licencing info
README Ver. 0.1 commit
koha-recent.pl Modifying script to use C4::Context and some little style changes

README

Version: 0.1

Description: 
Script generates web page or html table containing recently acquired titles from your Koha database. 
It fetches last X records and shows randomly Y of X .. hope you understand :D. 
It will work only if you use acquisition module in Koha!

Installation:
As you already got the files, just rename ./conf/config.yml.example to ./conf/config.yml and edit this file according to your setup

Usage:
koha-recent [number_of_retrived_records] [number_shown] [table|html] [blank|parent|self]


Example:
# cd /usr/local/src/Koha-recently-acquired-books && koha-recent.pl 10 3 html blank > /var/www/koha-static/recent.html 

Hint:
Cron is your friend.
Something went wrong with that request. Please try again.