Skip to main content
.. -*- 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

Metadata

Release files for HtmlCssInclude 0.1.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for HtmlCssInclude 0.1.2
File Size Uploaded
HtmlCssInclude-0.1.2.tar.gz 4.5 kB Details

Release files / HtmlCssInclude-0.1.2.tar.gz

Download URL HtmlCssInclude-0.1.2.tar.gz
Size 4.5 kB
Tags Source
SHA-256 checksum
How to use checksums
8348d70788f6ec6c9bc222b42a54b3c809aa3d8b44a1dab5ca334af4688de3c9
BLAKE2b-256 checksum
How to use checksums
2c71cdcb5da5a0d01aabfff5d633f54aef910da1880363b0f65addf340b4f10a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.1.2 This release

1 release file

0.1.1

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page