| HTML-MobileJp-Filter documentation | view source | Contained in the HTML-MobileJp-Filter distribution. |
HTML::MobileJp::Filter::PictogramFallback - PC の場合の絵文字の代替表現
- module: PictogramFallback
config:
template: <img src="/img/pictogram/%s.gif" />
params:
- unicode_hex
template => '', # sprintf format params => [], # Encode::JP::Mobile::Charnames method names
params で Encode::JP::Mobile::Charnames のメソッドとは別に特別に 使えるものは以下のとおりです。
- module: PictogramFallback
config:
template: %s
params:
- fallback_name
fallback_name('I') か fallback_name('E') か fallback_name('V') を
返します。(>3<) のように出ます。
- module: PictogramFallback
config:
template: <img src="/img/pictogram/%s.gif" alt="%s" />
params:
- unicode_hex
- fallback_name_htmlescape
<img src="/img/pictogram/ECA2.gif" alt="(&gt;3&lt;)" /> のように出ます。
Naoki Tomita <tomita@cpan.org>
| HTML-MobileJp-Filter documentation | view source | Contained in the HTML-MobileJp-Filter distribution. |