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 details)
File details
Details for the file HtmlCssInclude-0.1.2.tar.gz
.
File metadata
- Download URL: HtmlCssInclude-0.1.2.tar.gz
- Upload date:
- Size: 4.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
8348d70788f6ec6c9bc222b42a54b3c809aa3d8b44a1dab5ca334af4688de3c9
|
|
MD5 |
0b4438bf62ae66842a514dcff67c0cd7
|
|
BLAKE2b-256 |
2c71cdcb5da5a0d01aabfff5d633f54aef910da1880363b0f65addf340b4f10a
|