Newsletter HTML code-wrapper

Status
Not open for further replies.

crombie

Ars Legatus Legionis
20,350
I am trying to find out if there is something out there, or the proper terminology to find something to create a newsletter based on a pre-defined template?

I played around with Constant Contact and Mail Chimp in the past, but their model is meant to create something that you use their system to send. What I want to do is have a non-HTML coding end-user go to a page, click on something like 'Add Story', select a few options, and then add story text.

After they are done they would click on 'Submit', and HTML code is either sent or presented to them so that they can use to email that directly to users.

I know that if I spent some time I could hack something together, but if anyone knows of any tools or perhaps proper Google terminology for what I am looking for? That would be much appreciated. The idea is that I am not a programmer, as such, but I have no problem installing or implementing tools from other locations.

Paid or unpaid is fine, just as long as you can plop a joe-user in front of the interface, and they can get a newsletter out when I am not here, that would work.
 

crombie

Ars Legatus Legionis
20,350
Looking at my past attempts, it seems that I got stuck on the fact that I would have to escape many of the HTML elements of the template in order to combine them from a PHP form. Most of that would have to be done by hand, and so the solution I use right now is:

- Text/HTML template with notes for where custom data is pasted (edited in NotePad++)
- Excel spreadsheet that combines breadcrumbs / story lead-ins using ampersand concatenation
- Conversion of a MSWord document using Easy Text to HTML software which is then combined with story lead-ins to complete the newsletter

I am just a dabbler in PHP / HTML. Is there maybe something else I should be looking into?
 

smervy

Seniorius Lurkius
11
As far as I know there isn't a fully 100% reliable drag and drop no code solution to email marketing - constant contact and mailchimp have come a long way recently so they are worth checking out again if its been awhile since you looked at them. I haven't used getresponse but that does look promising. HTML email is very tricky as the email clients can render the content very differently if its Outlook 2003, gmail, iOS mail etc - that's the reason email testing services like http://www.emailonacid.com/ exist as they show how the content will render on all the major email clients.

What I typically do for 100% consistency and deployment by someone who doesn't understand any css or html is develop the desired email template as html and than connect all the content portions to a CMS like expression engine so they simply publish a new email template just like a blog post. Content gets put where it needs to be, ads can be selected, links are automatically generated, all social media sharing and publishing is automated. This is doubly efficient(if thats a word) as most of the time the emails contain content they are publishing to their site anyway. Than I just push the finished live template to whatever email service my client uses via API - all the major email providers provide this. Most of my clients use Infusionsoft and it's a very simple process to push the full html including the opt out and adress blocks as well as the subject line, who its from, what email template category etc.
 
[url=http:/civis/viewtopic.php?p=25683459#p25683459:1s92o6xi said:
Crombie[/url]":1s92o6xi]Looking at my past attempts, it seems that I got stuck on the fact that I would have to escape many of the HTML elements of the template in order to combine them from a PHP form. Most of that would have to be done by hand, and so the solution I use right now is:

- Text/HTML template with notes for where custom data is pasted (edited in NotePad++)
- Excel spreadsheet that combines breadcrumbs / story lead-ins using ampersand concatenation
- Conversion of a MSWord document using Easy Text to HTML software which is then combined with story lead-ins to complete the newsletter

I am just a dabbler in PHP / HTML. Is there maybe something else I should be looking into?

What are the actual (set in stone) requirements of the software? Does it need to be drag and drop? Does it just need to be text dropped in an email, or do you need WYSIWYG? Does it need to be created in a desktop application, or is it something that you could put on a website somewhere? Do you need multiple templates?
 

crombie

Ars Legatus Legionis
20,350
One template, always the same every week, and these are directed to a specific internal audience. It is not a general marketing newsletter. Drag and drop is not necessary, but what I started doing with the PHP form was:

1. How many stories to be created? (Multi-select up to a maximum of 20)
2. Recursively create data entry boxes for each story
...(code stops)

The story itself (to match formatting with the rest of the text of the template) has to be spit out in Arial (or similar font) at the equivalent of fontsize=2. The problem I am having is putting together the HTML elements using PHP concatenation without escaping every damned special character in the code.

I.e. Taking this:

Code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>Weekly Information Bulletin</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body bgcolor="#bb7900" link="#08488f" vlink="#BB7900" alink="#FFFFFF" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" offset="0">
<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#BB7900">
<tr>
<td valign="top" align="center">
<table width="650" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td width="674" align="center" valign="middle" bgcolor="#55891a">
<font color="#cffe98" size="2" face="Arial, Helvetica, sans-serif">Email not displaying correctly? Do not hit reply.</font>
</td>
</tr>
<tr bgcolor="#FFFFFF">
<td height="112" align="left">


INSERT CUSTOM STUFF HERE



</td>
</tr>
</table>

...and in PHP say HTML_Stuff=CodeFromAboveBeforeCustomStuff & CustomDataFromForms & CodeFromAboveAfterCustomStuff

The reason I am avoiding the marketing newsletter sites is because the linked code they spit out was wrapped in their own tracking links. Historically we have not had anyone on staff (except for myself) who could take the HREF codes, and just put them back to a regular link.

As an example of what the completed email HTML code looks:

wj29Dzo.png


I can create instructions where someone can take the finalized HTML code, and then using Thunderbird insert as HTML into an email, and then send that out to our contacts.
 

crombie

Ars Legatus Legionis
20,350
We have a CMS, but its email campaign management system is not installed and / or configured. They are hoping it is 'real soon'. Another reason we cannot use Mail Chimp/Constant Contact is due to privacy laws in my province. We are not allowed to transfer our user data to a US server.

Technically I can install a CMS into our webspace, but after discussions with our social media person she wants a recreated Mail Chimp. Which I basically just, you know, hand wave about because we have two newsletters - the weekly and the semi-annual. The weekly is a PITA because the content is embedded into the newsletter, the semi-annual has a template in our CRM which just requires someone to know how to re-size pictures, paste text using the 'plain format' button, and update links to an external blog.

That WYSIWYG is using CKEditor, and apparently that is 'too hard'. So now, I do not even know where I am at because apparently throwing together a 'simple' PHP page that accepts content, and spits out HTML code will be too difficult.
 

smervy

Seniorius Lurkius
11
Well you could just use the cms to create the completed html and then spit out the source to be pasted into whatever mail system you can use or even do standard php mail http://php.net/manual/en/function.mail.php to send it out (bcc the sender so they have a copy as well). By splitting out the content entries into separate fields in the CMS it makes the content production process far easier than trying to do everything in an editor like CKEditor, especially for someone who doesn't know or ever want to know HTML/CSS (like all of my clients).
 

smervy

Seniorius Lurkius
11
It is possible with php4 it would just be messy - If I had to do it I would set up an externally hosted site that just had my newsletter builder and spit out the resulting html and acted as the image host or I would do all the editing and formating via javascript and jQuery and just used some ajax file uploading for the images which should work fine even in php4.
 
Status
Not open for further replies.