Skip to content

flagboy/html_css_mobile

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

HtmlCssInclude converts css into inline style html for mobile.

font size is changed by mobile carrier (docomo, au, softbank).
when mobile is VGA, image size is changed.

Requirements
------------
* Python 2.5 or later (not support 3.x)
* lxml

Setup
-----
::

   $ easy_install HtmlCssInclude


How to Use
--------
::

   >>> from  HtmlCssInclude import CssInclude

initialize with mobile carrier::

   >>> css_include = CssInclude(agent='docomo', is_vga=True)

convert css into inline style html::

   >>> converted_html = css_include.apply(input_html)   

History
-------
0.1 (2010-11-20)
~~~~~~~~~~~~~~~~~~
* first release

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages