-
-
04 Sep 2008 02:33:57 UTC
- Development release
- Distribution: HTML-MobileJp-Filter
- Source (raw)
- Browse (raw)
- Changes
- How to Contribute
- Issues
- Testers
- Kwalitee
Bus factor: 0- 33.16% Coverage
- License: perl_5
- Activity
24 month- Tools
- Download (40.11KB)
- MetaCPAN Explorer
- Permissions
- Subscribe to distribution
- Permalinks
- This version
- Latest version
NAME
HTML::MobileJp::Filter::DoCoMoCSS - DoCoMo の場合 <link> の CSS をインライン展開
SYNOPSIS
- module: EntityReference config: base_dir: /path/to/documentroot
CONFIG AND DEFAULT VALUES
base_dir => '', xml_declaration_replace => 1, xml_declaration => <<'END' <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE html PUBLIC "-//i-mode group (ja)//DTD XHTML i-XHTML(Locale/Ver.=ja/1.0) 1.0//EN" "i-xhtml_4ja_10.dtd"> END
XML 宣言や DTD がないと文字が全部実体参照になったりうまく parse できないので ヘッダを付け替えることで HTML::DoCoMoCSS の中の XML::libXML に指示をしています。
TODO のHTML::MobileJp::Filter 側で XML オブジェクトを持つようになった際に もっと良い方法で指定できるようになる予定です。
SEE ALSO
AUTHOR
Naoki Tomita <tomita@cpan.org>
Module Install Instructions
To install HTML::MobileJp::Filter, copy and paste the appropriate command in to your terminal.
cpanm HTML::MobileJp::Filter
perl -MCPAN -e shell install HTML::MobileJp::Filter
For more information on module installation, please visit the detailed CPAN module installation guide.