mysql support master slave
+ rand
Master => rw
slave => slave
星期五, 8月 31, 2007
星期四, 8月 30, 2007
package
cpan -i Bundle::KohaSupport Unicode::String Encode::HanExtra XML::SAX Class::Accessor Business::ISBN PDF::API2 MARC::Record MARC::File::XML XML::Simple Date::Calc GD::Barcode Data::Random PDF::Reuse::Barcode Text::Wrap Text::Trim LWP::Simple MARC::Charset Net::LDAP ZOOM
apt-get install -y mysql-server-4.1 php4 libapache2-mod-auth-mysql php4-mysql phpmyadmin libxml2-dev libssl-dev libwrap0-dev libdate-manip-perl libhtml-template-perl libmail-sendmail-perl make gcc lynx wget ncftp unzip libssl0.9.7 libxslt1-dev libyaz3 yaz libyaz libyaz-dev yaz-doc libgcrypt11-dev
DBD
libmysqlclient14 libmysqlclient14-dev
apt-get install -y mysql-server-4.1 php4 libapache2-mod-auth-mysql php4-mysql phpmyadmin libxml2-dev libssl-dev libwrap0-dev libdate-manip-perl libhtml-template-perl libmail-sendmail-perl make gcc lynx wget ncftp unzip libssl0.9.7 libxslt1-dev libyaz3 yaz libyaz libyaz-dev yaz-doc libgcrypt11-dev
DBD
libmysqlclient14 libmysqlclient14-dev
星期日, 8月 26, 2007
koha 2.2.9 for ubuntu 6.10 中文版釋出公告
本版本釋出遵從 GNU GPL 授權
一共分成兩種版本
1.簡單 CMARC
http://groups.google.com.tw/group/kohataiwan/web/koha-2.2.9-simple.tar.gz
2.完整 CMARC(thomas 提供)
http://groups.google.com.tw/group/kohataiwan/web/koha-2.2.9-full.tar.gz
系統環境為 ubuntu 6.10
網頁伺服器 apache2.0.55-4ubuntu4
perl 5.8.8-6
mysql 4.1.15-1ubuntu5
關於 mysql-5.0 支援 foreign key,所以很多程式
需要重新改寫,才能正常使用。
修正 OPAC
1.左邊導覽列
2.查詢切截功能
3.css 功能
修正 Intranet
1.z3950 檢索功能
2.補齊 CMRAC 功能
3.指標功能中文化
4.系統參數中文化
5.權限參數中文化
6.修正 Encode::HanExtra(cccii.ucm)感謝唐鳳
其餘
1.修正 ubuntu package
2.修正 perl Modules
3.修正 install 相關程式
4.sources.lst
ps. 如果有 proxy,安裝前請先設定
export http_proxy="http://yourproxy:3128"
demo site:天主教輔仁大學圖書資訊學系系館
http://koha.lins.fju.edu.tw
若有任何 bug 請 e-mail kohataiwan@googlegroups.com
一共分成兩種版本
1.簡單 CMARC
http://groups.google.com.tw/group/kohataiwan/web/koha-2.2.9-simple.tar.gz
2.完整 CMARC(thomas 提供)
http://groups.google.com.tw/group/kohataiwan/web/koha-2.2.9-full.tar.gz
系統環境為 ubuntu 6.10
網頁伺服器 apache2.0.55-4ubuntu4
perl 5.8.8-6
mysql 4.1.15-1ubuntu5
關於 mysql-5.0 支援 foreign key,所以很多程式
需要重新改寫,才能正常使用。
修正 OPAC
1.左邊導覽列
2.查詢切截功能
3.css 功能
修正 Intranet
1.z3950 檢索功能
2.補齊 CMRAC 功能
3.指標功能中文化
4.系統參數中文化
5.權限參數中文化
6.修正 Encode::HanExtra(cccii.ucm)感謝唐鳳
其餘
1.修正 ubuntu package
2.修正 perl Modules
3.修正 install 相關程式
4.sources.lst
ps. 如果有 proxy,安裝前請先設定
export http_proxy="http://yourproxy:3128"
demo site:天主教輔仁大學圖書資訊學系系館
http://koha.lins.fju.edu.tw
若有任何 bug 請 e-mail kohataiwan@googlegroups.com
星期六, 8月 25, 2007
koha 2.2.9 for ubuntu package
finish
installer.pl
Install.pm
sources.list
CGI.pm
1. modify z3950 search
2. modify leader editor & inc
3. config cmarc
4. export mysql
installer.pl
Install.pm
sources.list
CGI.pm
1. modify z3950 search
2. modify leader editor & inc
3. config cmarc
4. export mysql
apt sources.lst
deb http://free.nchc.org.tw/ubuntu edgy main restricted universe multiverse
deb http://ftp.indexdata.dk/debian indexdata/sarge released
deb-src http://ftp.indexdata.dk/debian indexdata/sarge released
deb http://ftp.indexdata.dk/debian indexdata/sarge released
deb-src http://ftp.indexdata.dk/debian indexdata/sarge released
星期四, 8月 23, 2007
KinoSearch
KinoSearch
http://www.rectangular.com/kinosearch
KinoSearch Documentation
http://www.rectangular.com/kinosearch/docs/devel/
Benchmarks
http://www.rectangular.com/kinosearch/benchmarks.html
KinoSearch Wiki
http://www.rectangular.com/kinosearch/wiki/
Presentations
http://www.rectangular.com/downloads/KinoSearch_OSCON2006.pdf
http://www.rectangular.com/kinosearch
KinoSearch Documentation
http://www.rectangular.com/kinosearch/docs/devel/
Benchmarks
http://www.rectangular.com/kinosearch/benchmarks.html
KinoSearch Wiki
http://www.rectangular.com/kinosearch/wiki/
Presentations
http://www.rectangular.com/downloads/KinoSearch_OSCON2006.pdf
星期三, 8月 22, 2007
package koha229 for ubuntu 6.10 (cmarc)
1.install koha229 for ubuntu 6.10
2.import cmarc & setup config
3.modify perl script for chinese
4.test koha & modify install.pm
5.release chinese notes
6.package koha
2.import cmarc & setup config
3.modify perl script for chinese
4.test koha & modify install.pm
5.release chinese notes
6.package koha
星期二, 8月 21, 2007
Encode::HanExtra
update Encode::HanExtra
split.pl
open(CCCII, "/home/laxendion/tools/UNI_CI_V3.txt");
open(NEW,"> /home/laxendion/tools/UNI.txt");
foreach (){
($Uni,$Cii,$other) = split (/,/,$_);
$Uni =~ /(\d)(\w)(\w)(\w)(\w)/g;
if ($1 == 0){
$Uni = "";
$Cii =~ s/(\w\w)(\w\w)(\w\w)/\\x$1\\x$2\\x$3/g;
$other = "|0";
print NEW "$Uni $Cii $other\n";
}
elsif ($1 == 2){
$Uni = "";
$Cii =~ s/(\w\w)(\w\w)(\w\w)/\\x$1\\x$2\\x$3/g;
$other = "|0";
print NEW "$Uni $Cii $other\n";
}
}
close(CCCII);
close(NEW);
send to 唐鳳
cccii.ucm
http://kohataiwan.googlegroups.com/web/cccii.ucm
split.pl
open(CCCII, "/home/laxendion/tools/UNI_CI_V3.txt");
open(NEW,"> /home/laxendion/tools/UNI.txt");
foreach (
($Uni,$Cii,$other) = split (/,/,$_);
$Uni =~ /(\d)(\w)(\w)(\w)(\w)/g;
if ($1 == 0){
$Uni = "";
$Cii =~ s/(\w\w)(\w\w)(\w\w)/\\x$1\\x$2\\x$3/g;
$other = "|0";
print NEW "$Uni $Cii $other\n";
}
elsif ($1 == 2){
$Uni = "";
$Cii =~ s/(\w\w)(\w\w)(\w\w)/\\x$1\\x$2\\x$3/g;
$other = "|0";
print NEW "$Uni $Cii $other\n";
}
}
close(CCCII);
close(NEW);
send to 唐鳳
cccii.ucm
http://kohataiwan.googlegroups.com/web/cccii.ucm
星期二, 8月 14, 2007
koha 2.2.9 modify
1.修正 z3950 cccii
delete /scripts/z3950daemon/*
stop z3950-daemon-launch.sh
/intranet/cgi-bin/z3950/search.pl
2.修正
authorised_values.sql
marc_subfield_structure.sql
marc_tag_structure.sql
http://groups.google.com.tw/group/kohataiwan/files?hl=zh-TW
http://140.136.153.210/cgi-bin/koha/opac-main.pl
delete /scripts/z3950daemon/*
stop z3950-daemon-launch.sh
/intranet/cgi-bin/z3950/search.pl
2.修正
authorised_values.sql
marc_subfield_structure.sql
marc_tag_structure.sql
http://groups.google.com.tw/group/kohataiwan/files?hl=zh-TW
http://140.136.153.210/cgi-bin/koha/opac-main.pl
星期一, 8月 13, 2007
星期一, 7月 30, 2007
星期一, 7月 23, 2007
Z39.50 use ZOOM convert cccii to utf8
Z39.50 use ZOOM convert cccii to utf8
http://koha.wikispaces.com/zoom
http://koha.wikispaces.com/zoom
星期日, 7月 22, 2007
koha228 modules
apt-get install -y mysql-server-4.1 php4 libapache2-mod-auth-mysql php4-mysql phpmyadmin libxml2-dev libssl-dev libwrap-dev libdate-manip-perl libhtml-template-perl libmail-sendmail-perl make gcc lynx wget ncftp unzip
apt-get install libssl0.9.7 libxslt1-dev libyaz libyaz-dev libyaz3 yaz yaz-doc
libgcrypt11-dev
cpan -i Bundle::KohaSupport Unicode::String Encode::HanExtra XML::SAX Class::Accessor Business::ISBN Net::LDAP PDF::API2 MARC::Record MARC::File::XML XML::Simple Date::Calc
ZOOM GD::Barcode Data::Random PDF::Reuse::Barcode Net::LDAP
apt-get install libssl0.9.7 libxslt1-dev libyaz libyaz-dev libyaz3 yaz yaz-doc
libgcrypt11-dev
cpan -i Bundle::KohaSupport Unicode::String Encode::HanExtra XML::SAX Class::Accessor Business::ISBN Net::LDAP PDF::API2 MARC::Record MARC::File::XML XML::Simple Date::Calc
ZOOM GD::Barcode Data::Random PDF::Reuse::Barcode Net::LDAP
星期四, 7月 19, 2007
koha 2.2.9 for ubuntu 6.10
modify /opac/temp/npl/includes/doc-head-close.inc
@import url();
change to
@import url(/includes/);
chanage z3950
npl/temp/z3950/searchresult.tmpl
to
default/temp/z3950/searchresult.tmpl
@import url();
change to
@import url(/includes/);
chanage z3950
npl/temp/z3950/searchresult.tmpl
to
default/temp/z3950/searchresult.tmpl
星期六, 7月 07, 2007
Koha Revision Control (git)
星期五, 6月 22, 2007
[Koha-devel] Announcing Koha Project Day 發佈Koha 計畫 2007/6/16
http://lists.gnu.org/archive/html/koha-devel/2007-06/msg00013.html
哈羅各位!
Liblime 的管理團隊,很高興宣佈一項提議促進社群發展以及koha計畫的成長。
截至本週,每個星期天在 Liblime 是Koha 計畫日(針對紐西蘭員工則是星期一)。
當然,在這一個星期裡,我們 Liblime 會花大部分時間針對我們的客戶:撰寫規格
、作一些研發工作、實作以及支援。Koha 計畫日給我們一個歸還社群的機會 -- 社群
可以讓所有變成可能!
禁止任何緊急支援請求,或是最後一刻提案,我們打算 koha 計畫日,集中精力完全
放在koha 計畫本身 -- 每一個星期。
We'd like to extend the invitation to you, dear community. Join us
any time on any Sunday and pitch in. Or, alternatively, pick a
regular day/time that you find convenient and announce it to the rest
of the community. It's strictly voluntary of course (for our staff
too), so if you're unable to participate, we won't hold a grudge :-).
But if you're able, join us and help out, there's plenty to do.
Speaking of which, what is there to do? Glad you asked. Here's just
a partial list:
* organize and write documentation
* write specifications for new proposed features
* write technical documentation for existing Koha features
* respond to questions/comments on the Koha lists
* test features and report bugs
* fix bugs :-)
* read through the code and make comments
* translate Koha into your native language
* write that new feature you thought of
* talk to the developers and tell them how to improve Koha
Where is all of this happening? Well, you can join us in real time
on the #koha channel on irc.katipo.co.nz. If you've not used IRC
before, and you're running Windows, give mIRC a shot:
http://www.mirc.com/
Well, that sums it up. Our first Koha Project Day starts tomorrow
morning at 9:00am here in Ohio and runs for 15 hours to 5:00pm
in New Zealand. If you're around, pop in and say hello :-)
[Koha-devel] Naming Conventions 命名常規 2007/6/17
http://lists.gnu.org/archive/html/koha-devel/2007-06/msg00012.html
哈羅!各位
前鎮子,我張貼一個問題到論壇,詢問在你的圖書館裡,命名的常規,指得像似讀者
(patrons)/瀏覽者(borrowers)/使用者(uesrs)/等等,謝謝各位的回應!
絕大部分你會使用讀者(patrons),於是,我建議要改變 koha 預設大部分佈景呈現
的命名常規。
在你們之中,命名常規已經有一些回應,例如:登出(check-out)和登入(check-in)被
使用超過借出(issue)和歸還(return)。我已經從一些北美展示的圖書館,得到相同的
回應,所以我想要修正預設的佈景,來回應這些。
當然,在我們靈活的翻譯架構,在你的 koha安裝,這是一個相當瑣碎程序改變用語,
如果你喜歡目前的常規。
有沒有人反對?
koha-devel Paul POULAIN 2007/6/15 法國進度
http://lists.gnu.org/archive/html/koha-devel/2007-06/msg00011.html
法國已經有兩個圖書館使用 Koha 3.0(cvs head),一個是由 koha 2.2
升級而來的,而且運作非常好(至少在 UNIMARC),Paul 已經把詳細
步驟寫在 wiki http://wiki.koha.org/doku.php?id=22_to_30&do=diff1182268250
,同時也寫好文件,描述 Koha 3.0 情況。
假如有自願者想翻譯法文 -> 英文,可以跟 Paul 要求 Openoffice.org 版本,
大概有 33 頁。
法國已經有兩個圖書館使用 Koha 3.0(cvs head),一個是由 koha 2.2
升級而來的,而且運作非常好(至少在 UNIMARC),Paul 已經把詳細
步驟寫在 wiki http://wiki.koha.org/doku.php?id=22_to_30&do=diff1182268250
,同時也寫好文件,描述 Koha 3.0 情況。
- http://www.koha-fr.org/IMG/pdf/nouveautes_koha3.pdf
- http://www.koha-fr.org/IMG/pdf/koha_3_copies_ecran_6_dec_06.pdf
假如有自願者想翻譯法文 -> 英文,可以跟 Paul 要求 Openoffice.org 版本,
大概有 33 頁。
星期五, 3月 09, 2007
zoom.pl nbinet.ncl.edu.tw marc
#!/usr/bin/perl -w
use ZOOM;
use MARC::Record;
use Encode;
use MARC::Batch;
$conn = new ZOOM::Connection("nbinet.ncl.edu.tw:210/innopac");
#$conn = new ZOOM::Connection("140.136.208.1:210/innopac");
print("主機:",$conn->option("serverImplementationName"),"\n");
$conn->option(preferredRecordSyntax => "usmarc");
#$rs = $conn->search_pqf('@attr 1=4 perl');
#$ss = $conn->scan('@attr 1=1003 a');
# if ($conn->errcode() != 0) {
# die("somthing went wrong: " . $conn->errmsg())
# }
# $conn->destroy();
# $rs = $conn->search_pqf('@attr 1=7 957493327X');
$rs = $conn->search_pqf('@attr 1=4 @attr 4=107 100');
my $n = $rs->size();
for my $i (1 .. $n) {
$rec = $rs->record($i-1);
# print $rec->render(); $rec->raw();
# print $rec->raw() . "\n";
# print "========================\n";
my $b = $rec->raw();
my $l =length ($b);
my $transl= '';
my $status = 0;
my $tmp ='';
for ($i=0; $i<$l; $i++) {
my $key = substr($b,$i,1);
if ($status == 0){
if (ord($key) != '27') {
$transl=$transl.$key;
}
else
{
$status = 1;
}
}
if ($status == 1){
if (ord($key)==36){ $status = 2; }
}
if ($status == 2) {
if (ord($key)==49){
$status = 3;
$count = -1 ;
}
}
if ($status == 3) {
if (ord($key) == '27' )
{ $status = 4;}
else {
if ($count == -1 ) {
$count = 0;
}
else {
$tmp=$tmp.$key;
}
}
}
if ($status == 4) {
if (ord($key) ==40) { $status = 5 ;}
}
if ($status == 5) {
if (ord($key) == 66) { $status = 6;}
}
if ($status == 6) {
$transl=$transl.decode('cccii',$tmp);
$status = 0;
$tmp='';
}
}
print $transl;
# $rec->render() => usmarc, $rec->raw() => iso2709
#print decode('cccii',$rec->raw()) , "\n";
}
use ZOOM;
use MARC::Record;
use Encode;
use MARC::Batch;
$conn = new ZOOM::Connection("nbinet.ncl.edu.tw:210/innopac");
#$conn = new ZOOM::Connection("140.136.208.1:210/innopac");
print("主機:",$conn->option("serverImplementationName"),"\n");
$conn->option(preferredRecordSyntax => "usmarc");
#$rs = $conn->search_pqf('@attr 1=4 perl');
#$ss = $conn->scan('@attr 1=1003 a');
# if ($conn->errcode() != 0) {
# die("somthing went wrong: " . $conn->errmsg())
# }
# $conn->destroy();
# $rs = $conn->search_pqf('@attr 1=7 957493327X');
$rs = $conn->search_pqf('@attr 1=4 @attr 4=107 100');
my $n = $rs->size();
for my $i (1 .. $n) {
$rec = $rs->record($i-1);
# print $rec->render(); $rec->raw();
# print $rec->raw() . "\n";
# print "========================\n";
my $b = $rec->raw();
my $l =length ($b);
my $transl= '';
my $status = 0;
my $tmp ='';
for ($i=0; $i<$l; $i++) {
my $key = substr($b,$i,1);
if ($status == 0){
if (ord($key) != '27') {
$transl=$transl.$key;
}
else
{
$status = 1;
}
}
if ($status == 1){
if (ord($key)==36){ $status = 2; }
}
if ($status == 2) {
if (ord($key)==49){
$status = 3;
$count = -1 ;
}
}
if ($status == 3) {
if (ord($key) == '27' )
{ $status = 4;}
else {
if ($count == -1 ) {
$count = 0;
}
else {
$tmp=$tmp.$key;
}
}
}
if ($status == 4) {
if (ord($key) ==40) { $status = 5 ;}
}
if ($status == 5) {
if (ord($key) == 66) { $status = 6;}
}
if ($status == 6) {
$transl=$transl.decode('cccii',$tmp);
$status = 0;
$tmp='';
}
}
print $transl;
# $rec->render() => usmarc, $rec->raw() => iso2709
#print decode('cccii',$rec->raw()) , "\n";
}
訂閱:
文章 (Atom)