Bug 239063

Summary: [NEW PORT] www/py-inlinestyler: Inlines external css into html elements
Product: Ports & Packages Reporter: Alexander Sieg <ports>
Component: Individual Port(s)Assignee: Po-Chuan Hsieh <sunpoet>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
patch none

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]
patch
Comment 2 commit-hook freebsd_committer freebsd_triage 2019-08-25 18:51:35 UTC
A commit references this bug:

Author: sunpoet
Date: Sun Aug 25 18:50:35 UTC 2019
New revision: 509843
URL: https://svnweb.freebsd.org/changeset/ports/509843

Log:
  Add py-inlinestyler 0.2.5

  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

  - While I'm here:
    - Add LICENSE_FILE
    - Add NO_ARCH

  PR:		239063
  Submitted by:	Alexander Sieg <alex@xanderio.de>

Changes:
  head/www/Makefile
  head/www/py-inlinestyler/
  head/www/py-inlinestyler/Makefile
  head/www/py-inlinestyler/distinfo
  head/www/py-inlinestyler/pkg-descr
Comment 3 Po-Chuan Hsieh freebsd_committer freebsd_triage 2019-08-25 18:52:51 UTC
Committed. Thanks!