#作成 06/14/2002
ComancheはWebサーバです。SwikiはComancheの上位に属するWebApサーバです。2つ一緒で動作します。
このファイルは、 以下のファイルの要約です。http://minnow.cc.gatech.edu/swiki/10
Windows Server Download
1 ComSwiki.zip をダウンロードする
2 お好みのディレクトリに解凍する。(例: C:\Program Files\ComSwiki\)
3 Squeak.image ファイルを Squeak.exe にドラッグドロップする(または Squeak.exe をダブルクリックする)
4 後は"Comanche 5.0 / Swiki 1.3 Getting Started" ウィンドウのインストラクションに従ってください。
Windows Server Download
1 Download ComSwiki.zip
2 Extract it to the directory (a.k.a. folder) of your choice (for example,
C:\Program Files\ComSwiki\)
3 Drag-n-drop the squeak.image file onto the Squeak.exe (or just double-click
Squeak.exe)
4 Follow the instructions in the "Comanche 5.0 / Swiki 1.3 Getting Started"
window
このファイルは、 以下のファイルの要約です。http://minnow.cc.gatech.edu/swiki/11
----------------------
UNIX / Linux Download
-------------------------------------------------------------------------
ネットワークに接続したパソコンより、 http://172.16.48.193/ref などとして表示されればインストールできています。
#オリジナル記事 http://ma2tak.dyndns.org:8888/ma2tak/1222
----------------------------------------------------------ここから引用---------
Swikiでは、キャラクタコードとしてlatin-1を返すようになっているので、文字化けが発生します。
Swikiのソースコードを修正して、EUC-JPを返すようにしました。
具体的には、SwikiModuleクラス(カテゴリSwiki-Comanche)のresponseFromメソッド(下記参照)を書き換えます。
responseFrom: dict
| response content |
response _ HttpResponse new.
response
status: (dict
at: 'headerStatus'
ifAbsent: [#ok]).
(dict
at: 'cacheing'
ifAbsent: [false])
ifFalse: [response fieldAt: 'Pragma' put: 'no-cache';
fieldAt: 'Expires' put: '0';
fieldAt: 'Cache-Control' put: 'no-cache'].
(dict includesKey: 'location')
ifTrue: [response
fieldAt: 'Location'
put: (dict at: 'location')].
(dict includesKey: 'authenticate')
ifTrue: [response
fieldAt: 'WWW-Authenticate'
put: (dict at: 'authenticate')].
response
contentType: (dict
at: 'contentType'
ifAbsent: ['text/html; charset=EUC-JP']).
content _ dict at: 'content'.
(content isKindOf: String)
ifTrue: [response
contents: (ReadStream on: content)]
ifFalse: [(content isKindOf: BlockContext)
ifTrue: [response _ response asHttpPartialResponseBlock: content]
ifFalse: [response contents: content]].
^ response
内の ['text/html; charset=EUC-JP']のところです。
----------------------------------------------------------ここまで引用---------
#オリジナル記事 http://swiki.itolab.com/swiki-fun/6
山梨学院大学経営情報学部 伊藤研究室 'Swikiの改造(日本語化など)' http://swiki.itolab.com/swiki-fun/6
から、以下のファイルをダウンロードして指定ディレクトリに解凍、上書きしてください。
Windows版でも、原則同じディレクトリの筈です。
(#メッセージはLinux版、Windows版確認済み。SchemeはWindowsは動かず要確認。Linux未確認 06/14/2002)
----------------------------------------------------------ここから引用---------
ColorSchemeの日本語化
SwikiのColorSchemeを日本語化しました。
修正点
アイコンを日本語化しました
タグを日本語化しました
利用方法
日本語化ファイルをダウンロードする
Swikiを停止する
cd ComSwiki/swiki/defaults/files/schemes
(Swiki1.0以前の場合は、cd ComSwiki/swiki/defaults/files/
tar xvzf ????-jp.tgz
Swikiを起動する
日本語化ファイル
aqua: aqua-jp.tgz
alien: alien-jp.tgz
project: project-jp.tgz (style.cssも変更しています)
--------------------------------------------------------------------------------
メッセージの日本語化
ページ上のメッセージやヘルプなどを日本語化しました。
修正点
全てではありませんが、殆どのメッセージを日本語化しました。
なるべく直訳は避けています。
利用方法
日本語化ファイルをダウンロードする
Swikiを停止する
cd ComSwiki/swiki/
tar xvzf jp-files.tgz
Swikiを起動する
日本語化ファイル
jp-files.tgz
----------------------------------------------------------ここまで引用---------
(以上)