The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

HTML::MobileJp::Filter - Glue of modules for fighting with Japanese mobile web

SYNOPSIS

  use HTML::MobileJp::Filter;
  use HTTP::MobileAgent;
  use YAML;

  my $filter = HTML::MobileJp::Filter->new(YAML::Load <<'...'
  ---
  filters:
    - module: DoCoMoCSS
      config:
        base_dir: /path/to/htdocs
    - module: DoCoMoGUID
    - module: FallbackImage
      config:
        template: '<img src="%s.gif" />'
        params:
          - unicode_hex
    - module: +MyApp::Filter::Foo
  ...
  );

  $html = $filter->filter(
      mobile_agent => HTTP::MobileAgent->new,
      html         => $html,
  );

DESCRIPTION

HTML::MobileJp::Filter is 偉大な先人たちがつくってくれた携帯サイトに役立つ CPAN モジュールたちをつなげる薄いフレームワークです。

CAUTION: This module is still alpha, its possible the API will change!

METHODS

new( filters => [ ] )
filter( mobile_agent => $ua, html => $html )

SEE ALSO

http://search.cpan.org/search?mode=module&query=HTML::MobileJp::Filter::

AUTHOR

Naoki Tomita <tomita@cpan.org>

DEVELOPMENT

http://coderepos.org/share/browser/lang/perl/HTML-MobileJp-Filter

#mobilejp on irc.freenode.net (I've joined as "tomi-ru")

LICENSE

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.