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.
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.2 (2011-03-30)
~~~~~~~~~~~~~~~~~~
* ezweb bug fix
0.1.1 (2010-11-22)
~~~~~~~~~~~~~~~~~~
* add test data
0.1 (2010-11-20)
~~~~~~~~~~~~~~~~~~
* first release
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.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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
HtmlCssInclude-0.1.2.tar.gz
(4.5 kB
view hashes)