From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?UTF-8?B?SsOpcsOpbWllIEp1c3Rl?= Subject: html email newsletter with org-mime Date: Fri, 18 Mar 2016 13:40:11 +0100 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a11426bfa6cbbaf052e520de4 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:56898) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1agthg-0002bh-Mv for emacs-orgmode@gnu.org; Fri, 18 Mar 2016 08:40:33 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1agthf-0002IX-P4 for emacs-orgmode@gnu.org; Fri, 18 Mar 2016 08:40:32 -0400 Received: from mail-yw0-x234.google.com ([2607:f8b0:4002:c05::234]:34268) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1agthf-0002IF-Fr for emacs-orgmode@gnu.org; Fri, 18 Mar 2016 08:40:31 -0400 Received: by mail-yw0-x234.google.com with SMTP id h129so136950246ywb.1 for ; Fri, 18 Mar 2016 05:40:31 -0700 (PDT) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-org list --001a11426bfa6cbbaf052e520de4 Content-Type: text/plain; charset=UTF-8 Hello, I was trying to create an html email newletter using org-mime-html-buffer along with gnus. The results are quite good, but it's still a bit costly to add some html attributes. I usually do the following in org-mode |------------------------------------------------------------------------------| | [[file+emacs:org-mode-unicorn-logo.png][org-unicorn]] height="188" width="787.2 align=center" | |------------------------------------------------------------------------------| | style="background-color:#8470ff;font-size:200%;text-align:center;"> Title 1 | | | |------------------------------------------------------------------------------| | style="background-color:#8470ff;font-size:200%;text-align:center;"> Title 2 | | | |------------------------------------------------------------------------------| then use regular expression to correct the html attributes. Do you have any idea how we can improve this? Thanks -- Jeremie Juste --001a11426bfa6cbbaf052e520de4 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: base64 PGRpdiBkaXI9Imx0ciI+PGRpdj48ZGl2PkhlbGxvLCA8YnI+PGJyPjwvZGl2Pkkgd2FzIHRyeWlu ZyB0byBjcmVhdGUgYW4gaHRtbCBlbWFpbCBuZXdsZXR0ZXIgdXNpbmcgb3JnLW1pbWUtaHRtbC1i dWZmZXIgYWxvbmcgd2l0aCBnbnVzLiBUaGUgcmVzdWx0cyBhcmUgcXVpdGUgZ29vZCwgYnV0IGl0 JiMzOTtzIHN0aWxsIGEgYml0IGNvc3RseSB0byBhZGQgc29tZSBodG1sIGF0dHJpYnV0ZXMuIDxi cj48YnI+PC9kaXY+SSB1c3VhbGx5IGRvIHRoZSBmb2xsb3dpbmcgaW4gb3JnLW1vZGUgPGJyPjxk aXY+PGRpdj48ZGl2PjxkaXY+PGJyPnwtLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0t LS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS18PGJyPnwgW1tmaWxl K2VtYWNzOm9yZy1tb2RlLXVuaWNvcm4tbG9nby5wbmddW29yZy11bmljb3JuXV3CoMKgIGhlaWdo dD0mcXVvdDsxODgmcXVvdDsgd2lkdGg9JnF1b3Q7Nzg3LjIgYWxpZ249Y2VudGVyJnF1b3Q7wqDC oMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoCB8PGJyPnwtLS0tLS0t LS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0t LS0tLS0tLS0tLS0tLS18PGJyPnwgc3R5bGU9JnF1b3Q7YmFja2dyb3VuZC1jb2xvcjojODQ3MGZm O2ZvbnQtc2l6ZToyMDAlO3RleHQtYWxpZ246Y2VudGV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