View | Details | Raw Unified | Return to bug 239063
Collapse All | Expand All

(-)Makefile (+21 lines)
Line 0 Link Here
1
# $FreeBSD$
2
3
PORTNAME=	inlinestyler
4
PORTVERSION=	0.2.5
5
CATEGORIES=	www python
6
MASTER_SITES=	CHEESESHOP
7
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
8
9
MAINTAINER=	alex@xanderio.de
10
COMMENT=	Inlines external css into html elements
11
12
LICENSE=	BSD3CLAUSE
13
14
RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}cssutils>0:www/py-cssutils@${PY_FLAVOR} \
15
		${PYTHON_PKGNAMEPREFIX}lxml>0:devel/py-lxml@${PY_FLAVOR} \
16
		${PYTHON_PKGNAMEPREFIX}requests>=1.0.0:www/py-requests@${PY_FLAVOR}
17
18
USES=		python
19
USE_PYTHON=	autoplist distutils
20
21
.include <bsd.port.mk>
(-)distinfo (+3 lines)
Line 0 Link Here
1
TIMESTAMP = 1562678149
2
SHA256 (inlinestyler-0.2.5.tar.gz) = 49ff2d03bc848ab6edc1123421efb0264eb4f53bf5bad22685039fda98ee5a05
3
SIZE (inlinestyler-0.2.5.tar.gz) = 14940
(-)pkg-descr (+17 lines)
Line 0 Link Here
1
inlinestyler is an easy way to locally inline CSS into an HTML email message.
2
3
Styling HTML email is a black art. CSS works, but only when it's been placed
4
inline on the individual elements (and event then, not always) - which makes
5
development frustrating, and iteration slow.
6
7
The general solution is to use an inlining service, which takes a message with
8
the CSS placed externally, and rewrites it so that all CSS is applied to the
9
individual elements. The most widely used of these services - and as far as I
10
can tell, the one that powers CampaignMonitor - is Premailer. It's a great
11
service, and the guys behind it put a lot of work into keeping it up to date
12
with the most recent discoveries in what works and what doesn't.
13
14
inlinestyler takes (most) of the functionality of Premailer, and makes it
15
available locally, accessible without having call a remote service.
16
17
WWW: https://github.com/dlanger/inlinestyler

Return to bug 239063