The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

TL::Filter::SEO - output filter for SEO (ja)

NAME (ja)

TL::Filter::SEO::JA - SEO��阪�������c�˨�

SYNOPSIS

  $TL->setContentFilter('TL::Filter::HTML');
  $TL->setContentFilter(['TL::Filter::SEO', 1001]);
 
  $TL->print($TL->readTextFile('foo.html'));

DESCRIPTION

�����勉����c�˨�帥�壔�ŝ�潟�壔�� QUERY_STRING ���罨<�勉�������� PATH_INFO ���紊�������������

  <a href="foo.cgi?Command=Foo&mode=1&SEO=1">
  ���������������������������
  <a href="foo/Command/Foo/mode/1">

��壔����ŝ�勌賢��˨�㏍�若�壔�若��SEO=1�����˨����с����������勉�勉�帥��絲乗院��������� ��ŝ�潟�壠�����緇���˨��SEO=1��壩���サ���������

��障�����head荀�膣�������base荀�膣����菴遵�����������head荀�膣����絖���������ŝ����翫���� body荀�膣����紮���翫�����head荀�膣������水�ャ��������������body荀�膣����絖���������ŝ������� 篏������水�ャ�������ŝ�����������base荀�膣����絖������������翫����壔�����href絮���с��臀勉��������������������

  SCRIPT_NAME: http://foo.com/bar/baz.cgi
  ��水�ャ��������荀�膣�: <base href="http://foo.com/bar/">

羈���

�����勉����c�˨�帥�� TL::Filter::HTML ��� TL::Filter::MobileHTML ���������緇����絎�茵������������������̬┃絎������ŝ�������違�ŝ����ŝ�����

��障�������ŝ�潟�壔����吾�������������翫����������勉�ŝ�壔����鴻����� TL::InputFilter::SEO ���篏睡�������ŝ�������井③絽吾����������������ŝ�����

��阪����� Shift_JIS鐚�EUC-JP鐚�UTF-8 ��勉�������������с�ŝ�������違�ŝ����ŝ����� JIS ��潟�若����勐�翫����壩③絽吾�����篏������ŝ�����

METHODS

setOrder
  $TL->getContentFilter(1001)->setOrder(qw(ID Name));

SEO紊���������˨����阪����������㏍�若�勰��綺�������絎������障����� ���絎���������⓾����ŝ����㏍�若�壔��setOrder ��ф��絎������������㏍�若�勐��������絖���������˨�純�若����������☗�阪����������障�����

  $TL->getContentFilter(1001)->toLink($TL->newForm(KEY => 'VALUE'));

�����í�若����ŝ����吾�с�壔��������SEO紊����������罕���勐就��с�ŝ�潟�壔��紊���������障�����

flush

TL::Filter�����

print

TL::Filter�����

�����c�˨�帥����í�<�若�

hide_extension
  $TL->setContentFilter(['TL::Filter::SEO', 1001], hide_extension => 0);

��ŝ�潟�壠�������勰�������≦宍絖���������ゃ����������í�������������ュ櫝�純����������í�˨�����1���

SEE ALSO

TL
TL::Filter
TL::Filter::HTML
TL::Filter::MobileHTML

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/