オンラインドキュメント

名前

channel/list.plm - チャンネルリストを取得モジュール (管理者向け)

説明

チャンネルリストを取得し、HTMLドキュメントに変換します。 日本語変換を正しくするためにplum本体を変更します。
use Jcode; #追加

sub 'jis_euc { #置き換え
  my ($in)=@_;
  return Jcode->new($in)->h2z->euc;
}

sub 'euc_jis { #置き換え
  my ($in)=@_;
  return Jcode->new($in)->jis;
}

プロパティ

channel.list.interval
自動的にチャンネルリストを取得する間隔(分単位)
channel.list.blocking {yes}
自動的に取得するチャンネルリストをクライアントに通知しません(ログ流れ防止)。
channel.list.outputfile
生成するHTMLファイル名を指定します. 例) /home/user/public_html/list.html
channel.list.templatefile
生成する雛形のHTML::Template形式ドキュメントを指します. (plum実行ファイルからの相対パスで正しいファイルを指定することが必須です) (日本語チャンネルを扱うためにこのファイルはeuc-jpでなければなりません)

設定例

+ channel/list.plm
channel.list.interval: 10
channel.list.blocking: yes
channel.list.outputfile: filename.html
channel.list.templatefile: filename.tmpl