Hello all. Happy New Year to all. I have used KOHA for 3 months and now almost all of my problems has been solved. Thanks to all the members of the list who always replied to other posts and helped people out in the best way they could. KOHA is such a stable package that I could modify the codes very well and get it to work as I wanted. I have added few functionalities by modifying the codes. I have added biblio search option, direct biblio edit and also fulltext integration in a newer way. I am now testing the barcode system to be used with our system. I hope it works too. I am a bit confused that what happens when I scan a barcode, what inteface should I use to scan it and what features should I enable??? The other thing I wanted to ask is that is it possible to run the rebuild_zebra.pl in my server through a button click in the web interface by the client. We have 12 libraries hosted in a single KOHA install using the multiple zebra multiple database facility. Each library's database needs to be selected first using "use library1" and then we need to export the KOHA_CONF as "export KOHA_CONF=/etc/koha/library1-conf.xml" and then only we can execute the rebuild script. I was thinking to make another sh script to store all the commands that needs to be executed and then execute the script. I just wanted to know that is it possible to execute a script in the server by clicking a button in the web interface. Thanks and Happy New Year to all once again. KOHA is a great community. -- Nitesh Rijal BE IT email: rijal.it@gmail.com url: http://niteshrijal.com.np facebook: http://facebook.com/openrijal twitter: http://twitter.com/openrijal +9779841458173
2010/1/1 nitesh rijal <rijal.it@gmail.com>:
Hello all. Happy New Year to all.
<snip>
I have added few functionalities by modifying the codes. I have added biblio search option, direct biblio edit and also fulltext integration in a newer way.
I have some queries about full text integration. Can I contact you off-list?
I am now testing the barcode system to be used with our system. I hope it
<snip>
The other thing I wanted to ask is that is it possible to run the rebuild_zebra.pl in my server through a button click in the web interface by the client. We have 12 libraries hosted in a single KOHA install using the multiple zebra multiple database facility. Each library's database needs to be selected first using "use library1" and then we need to export the KOHA_CONF as "export KOHA_CONF=/etc/koha/library1-conf.xml" and then only we can execute the rebuild script. I was thinking to make another sh script to store all the commands that needs to be executed and then execute the script. I just wanted to know that is it possible to execute a script in the server by clicking a button in the web interface.
Exporting variables and executing rebuild scripts is nothing but Bash's functionality. But perl does provide a way to execute bash commands. So I think you don't need separate .sh files but just modify the existing Koha code. Another advantage is Koha runs as a CGI application. So what you are saying is possible. The only problem I see here is, rebuilding a zebra index requires superuser privileges. So I think it's not a good idea to provide a user with such a "button". If you read Koha Installation Doc, they have provided a CRON script which runs every 5 minutes to rebuild zebra index. Of course you can adjust that interval anytime. (I hope you are using Debian or equivalent GNU/Linux distribution to run Koha on) -- With Regards Abhishek Amberkar http://www.kohaindia.org/ RDG Library Services Mumbai, India.
participants (2)
-
Abhishek Amberkar [अभिषेक] -
nitesh rijal