HTTP::MobileAttribute - Yet Another HTTP::MobileAgent(DEPRECATRED)
use HTTP::MobileAttribute; HTTP::MobileAttribute->load_plugins(qw/Flash Image CarrierName/); my $agent = HTTP::MobileAttribute->new; $agent->is_supported_flash(); $agent->is_supported_gif(); # in apache2 my $agent = HTTP::MobileAttribute->new($r->headers_in);
THIS MODULE WAS DEPRECATED. THIS MODULE IS NO LONGER MAINTAIN. PLEASE USE HTTP::MobileAgent INSTEAD.
HTTP::MobileAttribute is Plaggable version of HTTP::MobileAgent.
っていうか、まあ日本人しかつかわないだろうから日本語で docs かくね。
現時点では、とりあえずキャリヤ判定がデキルッポイ。
- キャリヤ判別もプラグァーブル - トニカクぷらぐぁーぶる - HTTP::MobileAgent とできるだけ互換性をもたす。かも。
当たり前のことながら、$agent->isa はつかえないね。
carrier_longname が Vodafone じゃなくて ThirdForce を返すよ
可能な限り、HTTP::MobileAgent とメソッド名に互換性を持たせてある。 ただし、今時どうみてもつかわんだろうというようなものは削ってある。
具体的には
DoCoMo: series
なんだけど、つかってないよね?もし使ってる人いたら実装してください。
あと、 DoCoMo の、たぶん当時はつかってたんだろうけど今はつかってないっぽいものも消してある(もともとつけられるからつけただけなのかもしらんけど)。
vendor cache_size html_version
まあ、たしょうメモリはいっぱいつかうよね。
Tokuhiro Matsuno <tokuhirom aaaatttt gmail dotottto commmmm>
Kazuhiro Osawa
Daisuke Maki
Tatsuhiko Miyagawa(original author of HTTP::MobileAgent) Satoshi Tanimoto Yoshiki Kurihara(Current mentainer of HTTP::MobileAgent) ZIGUZAGU nekokak
HTTP::MobileAgent
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
To install HTTP::MobileAttribute, copy and paste the appropriate command in to your terminal.
cpanm
cpanm HTTP::MobileAttribute
CPAN shell
perl -MCPAN -e shell install HTTP::MobileAttribute
For more information on module installation, please visit the detailed CPAN module installation guide.