Skip to main content

HtmlCssInclude convert css to inline style for mobile

Project description

.. -*- restructuredtext -*-

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.

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


$ 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)

0.1.2 (2011-03-30)
* ezweb bug fix

0.1.1 (2010-11-22)
* add test data

0.1 (2010-11-20)
* first release

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
HtmlCssInclude-0.1.2.tar.gz (4.5 kB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page