Bug 239063 - [NEW PORT] www/py-inlinestyler: Inlines external css into html elements
Summary: [NEW PORT] www/py-inlinestyler: Inlines external css into html elements
Status: New
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Sunpoet Po-Chuan Hsieh
Depends on:
Reported: 2019-07-09 13:32 UTC by Alexander Sieg
Modified: 2019-07-09 14:08 UTC (History)
0 users

See Also:

patch (2.07 KB, patch)
2019-07-09 13:32 UTC, Alexander Sieg
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Sieg 2019-07-09 13:32:35 UTC
inlinestyler is an easy way to locally inline CSS into an HTML email message.

Styling HTML email is a black art. CSS works, but only when it's been placed
inline on the individual elements (and event then, not always) - which makes
development frustrating, and iteration slow.

The general solution is to use an inlining service, which takes a message with
the CSS placed externally, and rewrites it so that all CSS is applied to the
individual elements. The most widely used of these services - and as far as I
can tell, the one that powers CampaignMonitor - is Premailer. It's a great
service, and the guys behind it put a lot of work into keeping it up to date
with the most recent discoveries in what works and what doesn't.

inlinestyler takes (most) of the functionality of Premailer, and makes it
available locally, accessible without having call a remote service.

WWW: https://github.com/dlanger/inlinestyler
Comment 1 Alexander Sieg 2019-07-09 13:32:41 UTC
Created attachment 205602 [details]