http://agiletesting.blogspot.com/2005/02/web-app-testing-with-python-part-1.html
* mechanize (Python) http://wwwsearch.sourceforge.net/mechanize/
* WWW::mechanize (Perl) http://search.cpan.org/dist/WWW-Mechanize/
* webunit (Python) http://mechanicalcat.net/tech/webunit/
* MaxQ (written in Java, generates Jython scripts) http://maxq.tigris.org/
* HttpUnit(Java) http://www.httpunit.org/
* jWebUnit(Java) http://jwebunit.sourceforge.net/
* HtmlUnit(Java) http://htmlunit.sourceforge.net/
* HtmlFixture (Java) http://fitnesse.org/FitNesse.HtmlFixture
* WebUnit (Ruby) http://www.xpenguin.biz/download/webunit/index-en.html
sample IE automation via COM
* Pamie (Python) http://pamie.sourceforge.net/
* Samie (Perl) http://samie.sourceforge.net/
Watir (Ruby): IE automation via COM http://rubyforge.org/projects/wtr
JSSh (Mozilla C++ extension module): Mozilla automation via JavaScript shell connections http://www.croczilla.com/jssh
星期四, 11月 29, 2007
sqlite
sqlite command
http://www.sqlite.org/lang.html
document
http://www.sqlite.org/docs.html
pysqlite
http://initd.org/tracker/pysqlite
http://www.sqlite.org/lang.html
document
http://www.sqlite.org/docs.html
pysqlite
http://initd.org/tracker/pysqlite
星期三, 11月 28, 2007
koha blogger
koha blogger email 測試
_____________________________________________________________________________________
馬上體驗全新Yahoo!奇摩電子信箱2.0。 http://tw.mg0.mail.yahoo.com/dc/landing
20071128 議程
1. koha 文件進度(安裝手冊);保留最新,還是全部都保留
# Koha 2.2.9 繁體中文版安裝手冊(ubuntu 6.10)
2. 管控進度 PMP, QC & QA // http://en.wikipedia.org/wiki/Project_Management_Professional
# 文件一樣也要進入 QC & QA
# trac , svn
3. 文章(http://freelins.wikispaces.com)
# 專欄 linuxpliot && 學術期刊
# 完成 (Koha 圖書館資訊系統) http://koha.wikispaces.com/librariansmanual
# 機構典藏是否加入
4. 管理 news 使用 blog or wiki
# 保留會議記錄
# 工作事項
# Koha 2.2.9 繁體中文版安裝手冊(ubuntu 6.10)
2. 管控進度 PMP, QC & QA // http://en.wikipedia.org/wiki/Project_Management_Professional
# 文件一樣也要進入 QC & QA
# trac , svn
3. 文章(http://freelins.wikispaces.com)
# 專欄 linuxpliot && 學術期刊
# 完成 (Koha 圖書館資訊系統) http://koha.wikispaces.com/librariansmanual
# 機構典藏是否加入
4. 管理 news 使用 blog or wiki
# 保留會議記錄
# 工作事項
星期六, 11月 24, 2007
星期五, 11月 23, 2007
星期四, 11月 22, 2007
星期四, 9月 27, 2007
星期四, 9月 13, 2007
Zebra Configuration
http://www.emilda.org/index.php?q=node/36
Sample Zebra Configurations
Below are some directives how to configure Zebra to comply with Emilda in an acceptable manner.
The first thing to be done is to decide where the Zebra folder is to be located. We recommend that you put it as a subfolder (zebra/) of the Emilda source folder. One reason not to have it there is when the Zebra database is bigger than the disk that the Emilda source folder is located on. In such cases, it might be a good idea to put it on a separate drive.
There are two ways to configure Zebra to comply with Emilda; either configuring it from the example files supplied with the Zebra source, or using the pre-configured setup supplied with Emilda.
When configuring from the examples supplied with Zebra, you need to put the USMARC example files into your zebra-root. They are normally located in test/ under the idzebra source folder. Additionally you need to put the tab/ folder from the idzebra source folder into your zebra-root. You can of course use a custom setup if you feel familiar with Zebra configuration.
Now we have a working environment where the "zebrasrv"-process can live and work, but this is not enough for Emilda as it uses attributes that are not defined in the default configuration supplied with Zebra. That is why we have supplied a tarball containing all the files that need to be replaced in your Zebra root folder and it can be downloaded from the same location you downloaded Emilda itself, named "emilda-zebra-folder-VERSION.tar.gz". Unpack the tarball in some arbitraty location, and copy the files to their appropriate locations (see below).
* zebra.cfg - The Zebra root folder (/path/to/emilda/zebra/zebra.cfg)
* bib1.att - The tab/ subfolder of the Zebra root folder (/path/to/emilda/zebra/tab/bib1.att)
* usmarc.abs - The tab/ subfolder of the Zebra root folder (/path/to/emilda/zebra/tab/usmarc.abs)
* usmarc.tag - The tab/ subfolder of the Zebra root folder (/path/to/emilda/zebra/tab/usmarc.tag)
If you want to use our pre-configured zebra environment, download the tarball and extract into the location where you want your zebra-root to exist. This tarball contains all necessary files for Zebra to work with Emilda, so no configuration should be needed.
Before starting Zebra, we need to create a folder where the MARC-records are to be stored. In our examples it is called records/ and it is located in the Zebra root folder (/path/to/emilda/zebra/records/). What is important with this folder is that both the Zebra process and Apache need to have write access to it. This can be achieved e.g. by running the "zebrasrv"-process as the Apache user and only giving the Apache user write access to records/, or by giving write access to records/ to both Apache and the user running the "zebrasrv"-process. There is no favourable way to do this, both work just as well.
After deciding on which method to use, we are ready to prepare Zebra for running; Zebra needs to init and index the records/ folder before we start the process. If you have any records that you wish to import into Emilda, you need to copy these into the records/ folder before running these commands. (If you afterwards want to import MARC-recods, you copy them into the recods/ folder and run these commands.) However, remember that the Items that the records in the records/ folder represent need to be added into the SQL database before Emilda can use them.
1. Go into the Zebra root folder: "cd /path/to/emilda/zebra/
2. Init Zebra: "zebraidx init"
3. Index the records/ folder: "zebraidx -g emilda update records"
4. Commit results into shadow: "zebraidx commit"
5. Start the zebrasrv-process: "zebrasrv -l /path/to/log @:9999"
This should give you a working environment with Emilda and Zebra.
NOTE!
If the records/ folder is empty, there will be an error of the type
Unsupported Use attribute: 7
which should not show up after the first record has been added. If it persists there is something odd going on - try to check if you have done everything according to the above instructions, or send a note to the Emilda mailing list.
Sample Zebra Configurations
Below are some directives how to configure Zebra to comply with Emilda in an acceptable manner.
The first thing to be done is to decide where the Zebra folder is to be located. We recommend that you put it as a subfolder (zebra/) of the Emilda source folder. One reason not to have it there is when the Zebra database is bigger than the disk that the Emilda source folder is located on. In such cases, it might be a good idea to put it on a separate drive.
There are two ways to configure Zebra to comply with Emilda; either configuring it from the example files supplied with the Zebra source, or using the pre-configured setup supplied with Emilda.
When configuring from the examples supplied with Zebra, you need to put the USMARC example files into your zebra-root. They are normally located in test/ under the idzebra source folder. Additionally you need to put the tab/ folder from the idzebra source folder into your zebra-root. You can of course use a custom setup if you feel familiar with Zebra configuration.
Now we have a working environment where the "zebrasrv"-process can live and work, but this is not enough for Emilda as it uses attributes that are not defined in the default configuration supplied with Zebra. That is why we have supplied a tarball containing all the files that need to be replaced in your Zebra root folder and it can be downloaded from the same location you downloaded Emilda itself, named "emilda-zebra-folder-VERSION.tar.gz". Unpack the tarball in some arbitraty location, and copy the files to their appropriate locations (see below).
* zebra.cfg - The Zebra root folder (/path/to/emilda/zebra/zebra.cfg)
* bib1.att - The tab/ subfolder of the Zebra root folder (/path/to/emilda/zebra/tab/bib1.att)
* usmarc.abs - The tab/ subfolder of the Zebra root folder (/path/to/emilda/zebra/tab/usmarc.abs)
* usmarc.tag - The tab/ subfolder of the Zebra root folder (/path/to/emilda/zebra/tab/usmarc.tag)
If you want to use our pre-configured zebra environment, download the tarball and extract into the location where you want your zebra-root to exist. This tarball contains all necessary files for Zebra to work with Emilda, so no configuration should be needed.
Before starting Zebra, we need to create a folder where the MARC-records are to be stored. In our examples it is called records/ and it is located in the Zebra root folder (/path/to/emilda/zebra/records/). What is important with this folder is that both the Zebra process and Apache need to have write access to it. This can be achieved e.g. by running the "zebrasrv"-process as the Apache user and only giving the Apache user write access to records/, or by giving write access to records/ to both Apache and the user running the "zebrasrv"-process. There is no favourable way to do this, both work just as well.
After deciding on which method to use, we are ready to prepare Zebra for running; Zebra needs to init and index the records/ folder before we start the process. If you have any records that you wish to import into Emilda, you need to copy these into the records/ folder before running these commands. (If you afterwards want to import MARC-recods, you copy them into the recods/ folder and run these commands.) However, remember that the Items that the records in the records/ folder represent need to be added into the SQL database before Emilda can use them.
1. Go into the Zebra root folder: "cd /path/to/emilda/zebra/
2. Init Zebra: "zebraidx init"
3. Index the records/ folder: "zebraidx -g emilda update records"
4. Commit results into shadow: "zebraidx commit"
5. Start the zebrasrv-process: "zebrasrv -l /path/to/log @:9999"
This should give you a working environment with Emilda and Zebra.
NOTE!
If the records/ folder is empty, there will be an error of the type
Unsupported Use attribute: 7
which should not show up after the first record has been added. If it persists there is something odd going on - try to check if you have done everything according to the above instructions, or send a note to the Emilda mailing list.
星期日, 9月 02, 2007
Slides from conference presentations
Scaling MySQL and PHP by Jeremy Zawodny, presented at the 2002 PHP Conference
http://jeremy.zawodny.com/mysql/scaling-mysql-and-php.html
Managing MySQL Replication by Jeremy Zawodny, presented at the 2002 O'Reilly Open Source Conference
http://jeremy.zawodny.com/mysql/managing-mysql-replication.html
MySQL Backup and Recovery by Jeremy Zawodny, presented at the 2002 O'Reilly Open Source Conference
http://jeremy.zawodny.com/mysql/mysql-backup-and-recovery.html
MySQL Optimization by Jeremy Zawodny, presented at the 2002 O'Reilly Open Source Conference
http://jeremy.zawodny.com/mysql/mysql-optimization.html
http://jeremy.zawodny.com/mysql/scaling-mysql-and-php.html
Managing MySQL Replication by Jeremy Zawodny, presented at the 2002 O'Reilly Open Source Conference
http://jeremy.zawodny.com/mysql/managing-mysql-replication.html
MySQL Backup and Recovery by Jeremy Zawodny, presented at the 2002 O'Reilly Open Source Conference
http://jeremy.zawodny.com/mysql/mysql-backup-and-recovery.html
MySQL Optimization by Jeremy Zawodny, presented at the 2002 O'Reilly Open Source Conference
http://jeremy.zawodny.com/mysql/mysql-optimization.html
MySQL Cluster
MySQL Cluster: Two webserver setup
http://dev.mysql.com/tech-resources/articles/mysql-cluster-for-two-servers.html
Advanced MySQL Replication Techniques
http://dev.mysql.com/tech-resources/articles/advanced-mysql-replication.html
Chapter 16. MySQL Cluster
http://dev.mysql.com/doc/refman/5.0/en/mysql-cluster.html
Getting started with MySQL Proxy
http://dev.mysql.com/tech-resources/articles/proxy-gettingstarted.html
A.14.4. DRBD and MySQL Replication
http://dev.mysql.com/doc/refman/5.1/en/drbd-virtualization.html
http://dev.mysql.com/tech-resources/articles/mysql-cluster-for-two-servers.html
Advanced MySQL Replication Techniques
http://dev.mysql.com/tech-resources/articles/advanced-mysql-replication.html
Chapter 16. MySQL Cluster
http://dev.mysql.com/doc/refman/5.0/en/mysql-cluster.html
Getting started with MySQL Proxy
http://dev.mysql.com/tech-resources/articles/proxy-gettingstarted.html
A.14.4. DRBD and MySQL Replication
http://dev.mysql.com/doc/refman/5.1/en/drbd-virtualization.html
星期五, 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
訂閱:
文章 (Atom)