-
-
08 Aug 2007 16:37:56 UTC
- Distribution: HTML-DoCoMoCSS
- Module version: 0.01
- Source (raw)
- Browse (raw)
- Changes
- How to Contribute
- Issues
- Testers (0 / 0 / 2)
- Kwalitee
Bus factor: 1- License: perl_5
- Activity
24 month- Tools
- Download (33.72KB)
- MetaCPAN Explorer
- Permissions
- Subscribe to distribution
- Permalinks
- This version
- Latest version
- Dependencies
- CSS::Tiny
- CSS::Tiny::Style
- Carp
- File::Spec
- HTML::Selector::XPath
- XML::LibXML
- and possibly others
- Reverse dependencies
- CPAN Testers List
- Dependency graph
NAME
HTML::DoCoMoCSS - css inliner
SYNOPSIS
# src use HTML::DoCoMoCSS; my $inliner = HTML::DoCoMoCSS->new(base_dir => '/path/to/documentroot/'); $inliner->apply(<<'...'); <html> <head> <link rel="stylesheet" href="/css/foo.css" /> </head> <body> <div class="title">bar</div> </body> </html> ... # foo.css .title { color: red; } # result <html> <head> <link rel="stylesheet" href="/css/foo.css" /> </head> <body> <div class="title" style="color: red;">bar</div> </body> </html>
DESCRIPTION
HTML::DoCoMoCSS is css in-liner.
DoCoMo(Japanese cell-phone carrier)'s UA cannot use <link rel="stylesheet" /> style css, only can use in-line CSS.
That calls iCSS.
AUTHOR
Tokuhiro Matsuno <tokuhirom+cpan@gmail.com>
LICENSE
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
SEE ALSO
CSS::Tiny, CSS::Tiny::Style, XML::LibXML, http://www.nttdocomo.co.jp/service/imode/make/content/xhtml/outline/s1.html#1_1_1(Japanese)
Module Install Instructions
To install HTML::DoCoMoCSS, copy and paste the appropriate command in to your terminal.
cpanm HTML::DoCoMoCSS
perl -MCPAN -e shell install HTML::DoCoMoCSS
For more information on module installation, please visit the detailed CPAN module installation guide.