- 追加された行はこの色です。
- 削除された行はこの色です。
[[FrontPage]]
*設定ファイルとは [#o9d33301]
PRagger.rbに色々指示をするファイルです。
*ファイル名は [#d96aa16c]
デフォルトはconfig.yaml
pragger.rbと同じフォルダに入れておくと、pragger.rb実行時に読み込まれます。
デフォルト以外のファイル名の場合は以下を使います。
>pragger.rb -c ファイル名
*ファイルの書式 [#d4541c5e]
YAML形式を使用しています。
XMLより人に親しみやすい形式でファイルに配列やオブジェクトを保存できます。
参考
[[ YAML を Ruby で使う:http://www.namikilab.tuat.ac.jp/~sasada/prog/yaml.html]]
[[プログラマーのための YAML 入門 (初級編):http://jp.rubyist.net/magazine/?0009-YAML]]
- module: プラグイン名
config:
パラメータ名: パラメータ値
・・・
''※注意1「-」と「:」の後ろには半角スペースが必要です''
''※注意2 TABは使えません。半角スペースでインデントして下さい。''
この形を繰り返して書き、プラグインにパラメータを与えながら順番にプラグインが処理をしていきます。
例
- module: const_list
config:
- "AAA"
- "BBB"
- "CCC"
- module: print
*設定ファイルの例 [#gb94f435]
[[設定ファイルのサンプル集:http://pragger.ikejisoft.com/wiki/SampleConfig]]
#counter
-<a href="http://blwiki.oh.land.to/index.php?plugin=attach&openfile=milf-ava.html&refer=[[juliano]]" >milf hunter maricel</a> [url=http://blwiki.oh.land.to/index.php?plugin=attach&openfile=milf-ava.html&refer=[[juliano]]]milf hunter maricel[/url] <a href="http://blwiki.oh.land.to/index.php?plugin=attach&openfile=young-lilita.html&refer=[[juliano]]" >bald little beavers</a> [url=http://blwiki.oh.land.to/index.php?plugin=attach&openfile=young-lilita.html&refer=[[juliano]]]bald little beavers[/url] <a href="http://blwiki.oh.land.to/index.php?plugin=attach&openfile=milf-ava.html&refer=[[juliano]]" >matureporn</a> [url=http://blwiki.oh.land.to/index.php?plugin=attach&openfile=milf-ava.html&refer=[[juliano]]]matureporn[/url] -- [[Jones Yoakam]] &new{2007-06-20 10:35:53 (水)};
#comment