NAME
TL::Filter::HTML - Output filter for HTML (ja)
NAME (ja)
TL::Filter::HTML::JA - ���絽�HTML�����阪�������c�˨�
SYNOPSIS
$TL->setContentFilter('TL::Filter::HTML', charset => 'UTF-8');
$TL->print($TL->readTextFile('foo.html'));
DESCRIPTION
HTML���絲障����☖札筝���勐�☎�����茵�������
- 羲√����潟�若��紊����鐚���������í�˨��Shift_JIS���Encode��ɱ��鐚�
- �����������勛�∞��
- <form action=""> ���腥堺����勐�翫�������ɱ����ʃ昆���CGI���������������
- ��劫�������í�若�������若�帥�����絎����������腮勐�ャ�勉�ŝ�潟�壔�˩��筝�������
�����c�˨�帥����í�<�若�
- charset
-
$TL->setContentFilter('TL::Filter::HTML', charset => 'Shift_JIS');
��阪�����絖���潟�若��������絎���������������ュ櫝�純��
篏睡���櫝�純�ŝ�潟�若����壩❶��勰�������� UTF-8鐚�Shift_JIS鐚�EUC-JP鐚�ISO-2022-JP
��������í�˨�����Shift_JIS���
- contenttype
-
$TL->setContentFilter('TL::Filter::HTML', contenttype => 'text/html; charset=sjis');
Content-Type������絎���������������ュ櫝�純��
��������í�˨�����text/html; charset=鐚�charaset��ф��絎�������������絖���潟�若��鐚����
- type
-
$TL->setContentFilter('TL::Filter::HTML', type => 'xhtml');
'html' ������������ 'xhtml' �����ñ���櫝�純�������ュ櫝�純��
�����c�˨�帥��HTML�����御�������������勐��篏����茯炊�眼�������冴�勉�ŝ����激�с�潟�� XHTML�����阪�������������˨�������勉����í�<�若�帥��html��勉�障�障�˨�������翫����� 筝�罩c��XHTML�����阪�����������篋�������������
��������í�˨����� 'html'���
METHODS
- getSaveForm
-
my $SAVE = $TL->getContentFilter->getSaveForm;
��阪�������c�˨�帥�������������⓾�����篆�絖������鴻�������若�帥����ャ�c����� Form ��ŝ����吾�с�壔�����菴�������
- setHeader
-
$TL->getContentFilter->setHeader($key => $value)
篁���勐�阪����勐�����絎�茵�������綽�荀�������������
��������������������≪����阪�������������������⓾�������違�������勉����������勌撮������������絎���������������������阪�����������鐚�筝���吾�����������鐚�
- addHeader
-
$TL->getContentFilter->addHeader($key => $value)
篁���勐�阪����勐�����絎�茵�������綽�荀�������������
��������������������≪����阪�������������������⓾�������違�������勉�������������������〠��絎���������������������阪�����������鐚�菴遵�����������鐚�
- flush
-
TL::Filter�����
-
TL::Filter�����
SEE ALSO
AUTHOR INFORMATION
Copyright 2006 YMIRLINK Inc. All Rights Reserved.
This framework is free software; you can redistribute it and/or modify it under the same terms as Perl itself
�����勉����㋘�若����壔�若�壔�壔����ŝ�若�純�������⓾�с�≪�с����������ŝ����� Perl �����������í�ゃ�祉�潟�鴻�� �����у�����絽������喝����眼��茵���������������堺�ャ�障�����
Address bug reports and comments to: tl@tripletail.jp
HP : http://tripletail.jp/