mirror of
https://github.com/Foundry376/Mailspring.git
synced 2025-09-08 21:55:54 +08:00
[local-sync] Parse DOM to extract snippets
Summary: This fixes multiple issues, including snippets telling you you ought to look at the HTML as well as cruft like HTML entities and CSS in snippets. Test Plan: unit tests included o.O Reviewers: juan Reviewed By: juan Subscribers: evan Differential Revision: https://phab.nylas.com/D3500
This commit is contained in:
parent
5243629831
commit
c214ba1e34
12 changed files with 2932 additions and 29 deletions
|
@ -21,7 +21,6 @@
|
|||
"rx": "4.1.0",
|
||||
"sequelize": "3.27.0",
|
||||
"sqlite3": "https://github.com/bengotow/node-sqlite3/archive/bengotow/usleep-v3.1.4.tar.gz",
|
||||
"striptags": "2.1.1",
|
||||
"underscore": "1.8.3",
|
||||
"vision": "4.1.0"
|
||||
},
|
||||
|
|
676
packages/local-sync/spec/fixtures/MessageFactory/extractSnippet/finimize.html
vendored
Normal file
676
packages/local-sync/spec/fixtures/MessageFactory/extractSnippet/finimize.html
vendored
Normal file
|
@ -0,0 +1,676 @@
|
|||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<!doctype html>
|
||||
<html style="margin: 0 !important;">
|
||||
<head>
|
||||
<!--
|
||||
FINIMIZE 2016.4.3 EMAIL TEMPLATE
|
||||
=====================================
|
||||
-->
|
||||
<title>🔥 Black gold is on fire</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<!--[if !mso]><!-->
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<!--<![endif]-->
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta charset="utf-8">
|
||||
<!--Collapse Border in Old Outlook -->
|
||||
<!--[if (gte mso 9)|(IE)]>
|
||||
<style type="text/css">
|
||||
table {border-collapse: collapse !important;}
|
||||
</style>
|
||||
<![endif]-->
|
||||
<style type="text/css">
|
||||
body,table,td,a{
|
||||
-webkit-text-size-adjust:100%;
|
||||
-ms-text-size-adjust:100%;
|
||||
}
|
||||
table,td{
|
||||
mso-table-lspace:0pt;
|
||||
mso-table-rspace:0pt;
|
||||
}
|
||||
img{
|
||||
-ms-interpolation-mode:bicubic;
|
||||
}
|
||||
html{
|
||||
margin:0 !important;
|
||||
}
|
||||
table{
|
||||
border-collapse:separate;
|
||||
}
|
||||
a,a:link,a:visited{
|
||||
color:#4EB9E7;
|
||||
}
|
||||
a:hover{
|
||||
text-decoration:underline;
|
||||
}
|
||||
h2,h2 a,h2 a:visited,h3,h3 a,h3 a:visited,h4,h5,h6,.t_cht{
|
||||
color:#1E2225;
|
||||
}
|
||||
.ExternalClass p,.ExternalClass span,.ExternalClass font,.ExternalClass td{
|
||||
line-height:100%;
|
||||
}
|
||||
.ExternalClass{
|
||||
width:100%;
|
||||
}
|
||||
img{
|
||||
border:0;
|
||||
height:auto;
|
||||
line-height:100%;
|
||||
outline:none;
|
||||
text-decoration:none;
|
||||
}
|
||||
color:inherit importanttext-decoration:none importantfont-size:inherit importantfont-family:inherit importantfont-weight:inherit importantline-height:inherit importanta{
|
||||
color:#4EB9E7 !important;
|
||||
font-weight:normal;
|
||||
text-decoration:underline;
|
||||
}
|
||||
a.list-recent{
|
||||
color:#4EB9E7 !important;
|
||||
font-weight:normal;
|
||||
text-decoration:underline;
|
||||
}
|
||||
#outlook a{
|
||||
padding:0;
|
||||
color:#4EB9E7 !important;
|
||||
}
|
||||
.hoverlink:hover{
|
||||
text-decoration:underline !important;
|
||||
}
|
||||
#footer a{
|
||||
color:#999999 !important;
|
||||
}
|
||||
#footer a:hover{
|
||||
color:#ffffff !important;
|
||||
}
|
||||
.greenbutton{
|
||||
transition:0.23s linear;
|
||||
color:#ffffff!important;
|
||||
text-decoration:none !important;
|
||||
}
|
||||
.bluebutton{
|
||||
transition:0.23s linear;
|
||||
color:#ffffff!important;
|
||||
text-decoration:none !important;
|
||||
}
|
||||
.greenbutton:hover{
|
||||
background-color:#81C96B !important;
|
||||
background:#81C96B !important;
|
||||
}
|
||||
.bluebutton:hover{
|
||||
background-color:#7BCBED !important;
|
||||
background:#7BCBED !important;
|
||||
}
|
||||
.qatitle{
|
||||
color:#4EB9E7!important;
|
||||
}
|
||||
.dbluetext{
|
||||
color:#265C73 !important;
|
||||
}
|
||||
.whitetext{
|
||||
color:#ffffff !important;
|
||||
}
|
||||
@media screen and (max-width: 620px){
|
||||
.img-max{
|
||||
width:100% !important;
|
||||
max-width:100% !important;
|
||||
height:auto !important;
|
||||
}
|
||||
|
||||
} @media screen and (max-width: 620px){
|
||||
.max-width{
|
||||
max-width:100% !important;
|
||||
}
|
||||
|
||||
} @media screen and (max-width: 620px){
|
||||
.mobile-wrapper{
|
||||
width:85% !important;
|
||||
max-width:85% !important;
|
||||
}
|
||||
|
||||
} @media screen and (max-width: 620px){
|
||||
.mobile-padding{
|
||||
padding-left:5% !important;
|
||||
padding-right:5% !important;
|
||||
}
|
||||
|
||||
} @media screen and (max-width: 550px){
|
||||
.qa_avatar{
|
||||
width:37px !important;
|
||||
height:37px !important;
|
||||
display:block;
|
||||
}
|
||||
|
||||
} @media screen and (max-width: 550px){
|
||||
.qa_avatar_holder{
|
||||
width:37px !important;
|
||||
display:block;
|
||||
}
|
||||
|
||||
} @media screen and (max-width: 550px){
|
||||
h2{
|
||||
font-size:24px !important;
|
||||
}
|
||||
|
||||
} @media screen and (max-width: 550px){
|
||||
.finimizequotetitle{
|
||||
font-size:14px !important;
|
||||
}
|
||||
|
||||
} @media screen and (max-width: 550px){
|
||||
.whatsappshare{
|
||||
display:inline-block !important;
|
||||
width:32px !important;
|
||||
height:30px !important;
|
||||
overflow:visible !important;
|
||||
float:none !important;
|
||||
}
|
||||
|
||||
} @media screen and (max-width: 550px){
|
||||
.whatsappshareimage{
|
||||
width:32px !important;
|
||||
overflow:visible !important;
|
||||
float:none !important;
|
||||
display:block !important;
|
||||
height:30px !important;
|
||||
}
|
||||
|
||||
} @media screen and (max-width: 550px){
|
||||
.emailshare{
|
||||
display:none !important;
|
||||
}
|
||||
|
||||
} @media screen and (min-width: 500px){
|
||||
.sharelinebreak{
|
||||
display:none;
|
||||
}
|
||||
|
||||
} @media screen and (min-width: 500px){
|
||||
.sharethis{
|
||||
padding:0px !important;
|
||||
}
|
||||
|
||||
} @media screen and (min-width: 500px){
|
||||
.greenbutton{
|
||||
font-size:14px !important;
|
||||
padding:14px 30px !important;
|
||||
}
|
||||
|
||||
} @media screen and (min-width: 700px){
|
||||
.qa_avatar_holder{
|
||||
width:65px !important;
|
||||
display:block;
|
||||
}
|
||||
|
||||
} @media screen and (min-width: 700px){
|
||||
.qa_avatar{
|
||||
width:65px !important;
|
||||
height:65px !important;
|
||||
display:block;
|
||||
}
|
||||
|
||||
} @media screen{
|
||||
font-familyOpen Sansfont-style:normalfont-weight:400,600,700src:local('Open Sans'),localOpenSans,urlhttpfonts.gstatic.comsopensansv10cJZKeOuBrn4kERxqtaUH3bO3LdcAZYWl9Si6vvxL-qU.woff formatwoffdiv[style*=margin: 16px 0;]{
|
||||
margin:0 !important;
|
||||
}
|
||||
|
||||
}</style><!--[if !mso]><!--><link href="https://fonts.googleapis.com/css?family=Open+Sans:400,400i,700,700i" rel="stylesheet"><!--<![endif]--></head>
|
||||
<body style="margin: 0 !important;padding: 0;!important background-color: #ffffff;-webkit-text-size-adjust: 100%;-ms-text-size-adjust: 100%;" bgcolor="#ffffff">
|
||||
|
||||
<table border="0" cellpadding="0" cellspacing="0" width="100%" style="-webkit-text-size-adjust: 100%;-ms-text-size-adjust: 100%;mso-table-lspace: 0pt;mso-table-rspace: 0pt;border-collapse: separate;">
|
||||
<tr>
|
||||
<td align="center" valign="top" width="100%" bgcolor="#4EB9E7" style="background: #4EB9E7;padding: 10px 15px;-webkit-text-size-adjust: 100%;-ms-text-size-adjust: 100%;mso-table-lspace: 0pt;mso-table-rspace: 0pt;" class="mobile-padding">
|
||||
<!--[if (gte mso 9)|(IE)]>
|
||||
<table align="center" border="0" cellspacing="0" cellpadding="0" width="600">
|
||||
<tr>
|
||||
<td align="center" valign="top" width="600">
|
||||
<![endif]-->
|
||||
<!-- Header -->
|
||||
<table align="center" border="0" cellpadding="0" cellspacing="0" width="100%" style="max-width: 600px;-webkit-text-size-adjust: 100%;-ms-text-size-adjust: 100%;mso-table-lspace: 0pt;mso-table-rspace: 0pt;border-collapse: separate;">
|
||||
<tr>
|
||||
<td align="center" valign="top" style="padding: 0 0 5px 0;-webkit-text-size-adjust: 100%;-ms-text-size-adjust: 100%;mso-table-lspace: 0pt;mso-table-rspace: 0pt;">
|
||||
<a href="http://finimize.us10.list-manage.com/track/click?u=fd92d4d6912bf051aceebbc27&id=86f1950591&e=e39741c606" target="_blank" style="outline: none;border: ;none: ;text-decoration: none !important;-webkit-text-size-adjust: 100%;-ms-text-size-adjust: 100%;color: #4EB9E7;"><img src="https://gallery.mailchimp.com/fd92d4d6912bf051aceebbc27/images/f8d67519-4124-409c-ad98-c9cc77b98ed3.png" alt="finimize." width="200" height="50" border="0" style="display: block;color: #ffffff;font-family: Avenir Next, Avenir, Open Sans, Helvetica, Arial, sans-serif;font-size: 42px;-ms-interpolation-mode: bicubic;border: 0;height: auto;line-height: 100%;outline: none;text-decoration: none;"></a>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="center" valign="top" style="padding: 0;font-family: Avenir Next, Avenir, Open Sans, Helvetica, Arial, sans-serif;-webkit-text-size-adjust: 100%;-ms-text-size-adjust: 100%;mso-table-lspace: 0pt;mso-table-rspace: 0pt;">
|
||||
<h1 style="color: #ffffff; font-size: 14px; font-weight: 600; line-height: 20px; margin: 0; text-transform: capitalize;">
|
||||
Finance for our generation<span style="display:none;color: #4eb9e7;">.</span>
|
||||
</h1>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<!--[if (gte mso 9)|(IE)]>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<![endif]-->
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
|
||||
|
||||
<tr>
|
||||
<td align="center" height="100%" valign="top" width="100%" bgcolor="#ffffff" style="padding: 10px 15px;-webkit-text-size-adjust: 100%;-ms-text-size-adjust: 100%;mso-table-lspace: 0pt;mso-table-rspace: 0pt;" class="mobile-padding">
|
||||
<!--[if (gte mso 9)|(IE)]>
|
||||
<table align="center" border="0" cellspacing="0" cellpadding="0" width="600">
|
||||
<tr>
|
||||
<td align="center" valign="top" width="600">
|
||||
<![endif]-->
|
||||
|
||||
<!--START RSS -->
|
||||
|
||||
|
||||
|
||||
|
||||
<!--Intro--><table align="center" border="0" cellpadding="0" cellspacing="0" width="100%" style="max-width: 600px !important;-webkit-text-size-adjust: 100%;-ms-text-size-adjust: 100%;mso-table-lspace: 0pt;mso-table-rspace: 0pt;border-collapse: separate;">
|
||||
<tr> <td align="center" bgcolor="#ffffff" style="border-radius: 0 0 3px 3px;padding: 25px;-webkit-text-size-adjust: 100%;-ms-text-size-adjust: 100%;mso-table-lspace: 0pt;mso-table-rspace: 0pt;">
|
||||
<table cellspacing="0" cellpadding="0" border="0" width="100%" style="-webkit-text-size-adjust: 100%;-ms-text-size-adjust: 100%;mso-table-lspace: 0pt;mso-table-rspace: 0pt;border-collapse: separate;">
|
||||
<tr>
|
||||
<td align="center" style="font-family: Open Sans, Helvetica, Arial, sans-serif;-webkit-text-size-adjust: 100%;-ms-text-size-adjust: 100%;mso-table-lspace: 0pt;mso-table-rspace: 0pt;">
|
||||
<p style="color: #56585B ; font-size: 16px; line-height: 30px; margin: 0;">Hi Christine, here's the news you need to know for <strong>December 13th</strong>. Reading time is 3:17 minutes.</p>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr><!--Cafe Box-->
|
||||
<tr>
|
||||
<td align="center" valign="top" style="padding: 0 0 15px 0;font-family: Open Sans, Helvetica, Arial, sans-serif;-webkit-text-size-adjust: 100%;-ms-text-size-adjust: 100%;mso-table-lspace: 0pt;mso-table-rspace: 0pt;">
|
||||
<table cellspacing="0" cellpadding="0" border="0" width="100%" style="-webkit-text-size-adjust: 100%;-ms-text-size-adjust: 100%;mso-table-lspace: 0pt;mso-table-rspace: 0pt;border-collapse: separate;">
|
||||
<tr>
|
||||
<td align="center" bgcolor="#ffffff" style="border: 3px solid #4EB9E7;display: block;border-radius: 10px 10px 10px 10px;padding: 15px;-webkit-text-size-adjust: 100%;-ms-text-size-adjust: 100%;mso-table-lspace: 0pt;mso-table-rspace: 0pt;">
|
||||
<table cellspacing="0" cellpadding="0" border="0" width="100%" style="-webkit-text-size-adjust: 100%;-ms-text-size-adjust: 100%;mso-table-lspace: 0pt;mso-table-rspace: 0pt;border-collapse: separate;">
|
||||
<tr>
|
||||
<td align="center" style="font-family: Open Sans, Helvetica, Arial, sans-serif;-webkit-text-size-adjust: 100%;-ms-text-size-adjust: 100%;mso-table-lspace: 0pt;mso-table-rspace: 0pt;"><p style="color: #4EB9E7; font-size: 16px; line-height: 30px; margin: 0;">☕ Finimize'd over a Pingado at <a style="text-decoration: underline !important;color: #4eb9e7!important;-webkit-text-size-adjust: 100%;-ms-text-size-adjust: 100%;" class="hoverlink" href="http://finimize.us10.list-manage2.com/track/click?u=fd92d4d6912bf051aceebbc27&id=eb5473c5da&e=e39741c606">Sampa Coffee</a>, 75 Leather Lane, London, UK.</p></td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr><tr>
|
||||
<td mc:edit="promosource" class="caferecommendedby" style="padding-top:10px;padding-bottom:0px;padding-right:15px;padding-left:15px;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%;mso-table-lspace:0pt;mso-table-rspace:0pt; font-size:12px; color: #999999; line-height: 16px !important; text-align: center; padding-left: 0; padding-right: 0;font-family:'Open Sans', Helvetica, Arial, 'Lucida Grande', sans-serif !important;color:#818488!important;"></td>
|
||||
</tr><tr>
|
||||
<td class="articleheader" align="center" valign="top" style="padding: 23px 0;font-family: Avenir Next, Avenir, Open Sans, Helvetica, Arial, sans-serif;-webkit-text-size-adjust: 100%;-ms-text-size-adjust: 100%;mso-table-lspace: 0pt;mso-table-rspace: 0pt;">
|
||||
<table cellspacing="0" cellpadding="0" border="0" width="100%" style="-webkit-text-size-adjust: 100%;-ms-text-size-adjust: 100%;mso-table-lspace: 0pt;mso-table-rspace: 0pt;border-collapse: separate;">
|
||||
<tr>
|
||||
<td align="left" bgcolor="#ffffff" style="border-bottom: 0px solid #1E2225;-webkit-text-size-adjust: 100%;-ms-text-size-adjust: 100%;mso-table-lspace: 0pt;mso-table-rspace: 0pt;"><h2 style="font-size: 26px; color: #1E2225; font-family: Avenir Next, Avenir, Open Sans, Helvetica, Arial, sans-serif; font-weight: 700; margin: 0; padding-bottom: 7px;">Oil Prices Keep Climbing</h2> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="center" bgcolor="#ffffff" style="border-radius: 0px 0px 0 0;padding: 10px 0px;-webkit-text-size-adjust: 100%;-ms-text-size-adjust: 100%;mso-table-lspace: 0pt;mso-table-rspace: 0pt;"><a href="http://finimize.us10.list-manage.com/track/click?u=fd92d4d6912bf051aceebbc27&id=60c1f91501&e=e39741c606" style="-webkit-text-size-adjust: 100%;-ms-text-size-adjust: 100%;color: #4EB9E7;"> <img src="https://www.finimize.com/wp/wp-content/uploads/2016/12/OPECDeal.gif" border="0" width="600" class="img-max mcRssImage" alt="Please Turn On Images" style="max-width: 100%;width: 100%;padding-bottom: 0;display: inline;vertical-align: bottom;border: 0;height: auto;outline: none;text-decoration: none;-ms-interpolation-mode: bicubic;line-height: 100%;"></a></td></tr><tr>
|
||||
<td align="left" bgcolor="#ffffff" style="border-radius: 0 0 3px 3px;padding: 0px 0px;mso-table-lspace: 0pt;mso-table-rspace: 0pt;-webkit-text-size-adjust: 100%;-ms-text-size-adjust: 100%;">
|
||||
<table cellspacing="0" cellpadding="0" border="0" width="100%" style="-webkit-text-size-adjust: 100%;-ms-text-size-adjust: 100%;mso-table-lspace: 0pt;mso-table-rspace: 0pt;border-collapse: separate;"><tr>
|
||||
<td class="articlebody" align="left" style="font-family: Open Sans, Helvetica, Arial, sans-serif;padding: 15px 1px;mso-table-lspace: 0pt;mso-table-rspace: 0pt;-webkit-text-size-adjust: 100%;-ms-text-size-adjust: 100%;">
|
||||
<h3 style="font-size: 18px; color: #1E2225; font-weight: 700; margin: 0; padding-bottom: 12px;">What’s Going On Here?</h3><p style="color: #56585B; font-size: 16px; line-height: 30px; margin: 0;">The price of oil keeps going up after eleven major oil producers announced they would join <a style="color: #4EB9E7!important;text-decoration: none;-webkit-text-size-adjust: 100%;-ms-text-size-adjust: 100%;" class="hoverlink" href="http://finimize.us10.list-manage.com/track/click?u=fd92d4d6912bf051aceebbc27&id=5477c6b2ab&e=e39741c606">OPEC</a> (a formal group of oil producing nations) <a style="color: #4EB9E7!important;text-decoration: none;-webkit-text-size-adjust: 100%;-ms-text-size-adjust: 100%;" class="hoverlink" href="http://finimize.us10.list-manage.com/track/click?u=fd92d4d6912bf051aceebbc27&id=9c438d8171&e=e39741c606">in cutting oil production</a> in 2017. <span style="background: #FFF8A1!important;">The oil price hit its highest level since the summer of 2015! </span>(<a style="color: #4EB9E7!important;text-decoration: none;-webkit-text-size-adjust: 100%;-ms-text-size-adjust: 100%;" class="hoverlink" href="http://finimize.us10.list-manage2.com/track/click?u=fd92d4d6912bf051aceebbc27&id=7ee2774224&e=e39741c606">tweet this</a>)</p> </td>
|
||||
</tr><tr>
|
||||
<td class="articlebody" align="left" style="font-family: Open Sans, Helvetica, Arial, sans-serif;padding: 15px 1px;mso-table-lspace: 0pt;mso-table-rspace: 0pt;-webkit-text-size-adjust: 100%;-ms-text-size-adjust: 100%;">
|
||||
<h3 style="font-size: 18px; color: #1E2225; font-weight: 700; margin: 0; padding-bottom: 12px;">What Does This Mean?</h3><p style="color: #56585B; font-size: 16px; line-height: 30px; margin: 0;">Eleven major oil producers not affiliated with OPEC, including Russia and Mexico, have agreed to cut their collective oil production in 2017 (remember, less supply is positive for the price). Together OPEC and these eleven oil producing nations (in a rare show of cooperation) have agreed to produce 1.8 million fewer barrels of oil every day in 2017, representing almost 2% of the world’s daily oil production! <a style="color: #4EB9E7!important;text-decoration: none;-webkit-text-size-adjust: 100%;-ms-text-size-adjust: 100%;" class="hoverlink" href="http://finimize.us10.list-manage.com/track/click?u=fd92d4d6912bf051aceebbc27&id=b834419dfc&e=e39741c606">If they don’t cheat on the agreement</a>, this should be a big deal.</p> </td>
|
||||
</tr><tr>
|
||||
<td class="articlebody" align="left" style="font-family: Open Sans, Helvetica, Arial, sans-serif;padding: 15px 1px;mso-table-lspace: 0pt;mso-table-rspace: 0pt;-webkit-text-size-adjust: 100%;-ms-text-size-adjust: 100%;">
|
||||
<h3 style="font-size: 18px; color: #1E2225; font-weight: 700; margin: 0; padding-bottom: 12px;">Why Should I Care?</h3><p style="color: #56585B; font-size: 16px; line-height: 30px; margin: 0;"><b>The bigger picture: </b><i>Higher oil prices will likely be a negative for most major economies – although the US could benefit.<br class="none"></i>Britain and Europe have to <i>import </i>oil, so a higher oil price is usually bad news for their economies overall (as it means more money <i>leaves </i>the country). The US, however, is a big oil producer <i>– </i>so the higher price is more likely to give a boost to its economy (especially in oil-producing states like Texas). However, in both Europe and the US, a higher oil price means higher prices for gasoline – leaving less money in people’s pockets to spend on other things.
|
||||
<br class="none"><br class="none"><b>For markets</b>: <i>Energy companies are lovin’ it.<br class="none"></i>Of course, companies that produce oil are usually pretty happy when the oil price goes up, and the spike in prices has benefitted the likes of <a style="color: #4EB9E7!important;text-decoration: none;-webkit-text-size-adjust: 100%;-ms-text-size-adjust: 100%;" class="hoverlink" href="http://finimize.us10.list-manage1.com/track/click?u=fd92d4d6912bf051aceebbc27&id=4e72f87a99&e=e39741c606">BP</a> and <a style="color: #4EB9E7!important;text-decoration: none;-webkit-text-size-adjust: 100%;-ms-text-size-adjust: 100%;" class="hoverlink" href="http://finimize.us10.list-manage.com/track/click?u=fd92d4d6912bf051aceebbc27&id=cc869d53c7&e=e39741c606">Exxon</a>. The stock prices of US-focused oil drillers, like <a style="color: #4EB9E7!important;text-decoration: none;-webkit-text-size-adjust: 100%;-ms-text-size-adjust: 100%;" class="hoverlink" href="http://finimize.us10.list-manage.com/track/click?u=fd92d4d6912bf051aceebbc27&id=45714841db&e=e39741c606">EOG Resources</a> and <a style="color: #4EB9E7!important;text-decoration: none;-webkit-text-size-adjust: 100%;-ms-text-size-adjust: 100%;" class="hoverlink" href="http://finimize.us10.list-manage.com/track/click?u=fd92d4d6912bf051aceebbc27&id=8a7ec485ea&e=e39741c606">Anadarko</a>, have moved even higher than more internationally focused companies, since a higher oil price should lead to a significant pickup in US production. That’s because, over the past few weeks, the oil price has jumped above the “break-even” price of production for many US firms.</p> </td>
|
||||
</tr><!--Share Links-->
|
||||
<tr>
|
||||
<td style="-webkit-text-size-adjust: 100%;-ms-text-size-adjust: 100%;mso-table-lspace: 0pt;mso-table-rspace: 0pt;">
|
||||
<table border="0" cellspacing="0" cellpadding="0" width="100%" style="max-width: 600px;-webkit-text-size-adjust: 100%;-ms-text-size-adjust: 100%;mso-table-lspace: 0pt;mso-table-rspace: 0pt;border-collapse: separate;">
|
||||
<tr>
|
||||
<td class="sharelinks" align="left" style="font-family: Open Sans, Helvetica, Arial, sans-serif;padding: 20px 0px;width: 100%;display: block;-webkit-text-size-adjust: 100%;-ms-text-size-adjust: 100%;mso-table-lspace: 0pt;mso-table-rspace: 0pt;">
|
||||
<div class="share-links"><div style="box-sizing:border-box;position:relative;">
|
||||
<div style="padding:0;overflow:hidden;color:#56585B;font-family: Avenir Next,sans-serif;font-weight:600;font-size: 18px;text-transform: uppercase; line-height: 28px;text-align:left;">
|
||||
<span class="sharethis" style="display:inline-block;margin-right:6px; color: #C1C6CD!important;padding-bottom:10px;">SHARE THIS</span>
|
||||
<br class="sharelinebreak">
|
||||
<a style="width: 32px;height: 30px;vertical-align: bottom;margin: 0 5px 0;display: inline-block;-webkit-text-size-adjust: 100%;-ms-text-size-adjust: 100%;color: #4EB9E7;" href="http://finimize.us10.list-manage.com/track/click?u=fd92d4d6912bf051aceebbc27&id=644c129644&e=e39741c606">
|
||||
<img src="https://gallery.mailchimp.com/fd92d4d6912bf051aceebbc27/images/5ea3b68e-917d-439b-b1bd-ddb6fd37b6e6.png" style="max-width: 100%;width: 100%;padding-bottom: 0;display: inline;vertical-align: bottom;border: 0;height: auto;outline: none;text-decoration: none;-ms-interpolation-mode: bicubic;line-height: 100%;" width="32" alt="Twitter" border="0" class="mcRssImage"></a>
|
||||
<a style="width: 32px;height: 30px;vertical-align: bottom;margin: 0 3px 0;display: inline-block;-webkit-text-size-adjust: 100%;-ms-text-size-adjust: 100%;color: #4EB9E7;" href="http://finimize.us10.list-manage.com/track/click?u=fd92d4d6912bf051aceebbc27&id=f1c461d6cb&e=e39741c606"><img src="https://gallery.mailchimp.com/fd92d4d6912bf051aceebbc27/images/2ed1e3ad-2682-4e4d-9c5b-18eaaba264db.png" style="max-width: 100%;width: 100%;padding-bottom: 0;display: inline;vertical-align: bottom;border: 0;height: auto;outline: none;text-decoration: none;-ms-interpolation-mode: bicubic;line-height: 100%;" width="32" alt="Facebook Share" border="0" class="mcRssImage"></a>
|
||||
<a class="emailshare" style="width: 32px;height: 30px;vertical-align: bottom;margin: 0 3px 0;display: inline-block;-webkit-text-size-adjust: 100%;-ms-text-size-adjust: 100%;color: #4EB9E7;" href="mailto:?Subject=Story%20in%20Finimize&Body=Saw%20this%20in%20Finimize%20today:%20Oil Prices Keep Climbing%20-%20https://www.finimize.com/wp/news/oil-prices-keep-climbing/"><img src="https://gallery.mailchimp.com/fd92d4d6912bf051aceebbc27/images/51da9cb0-92fd-48d9-895f-e741876c2f9d.png" style="max-width: 100%;width: 100%;padding-bottom: 0;display: inline;vertical-align: bottom;border: 0;height: auto;outline: none;text-decoration: none;-ms-interpolation-mode: bicubic;line-height: 100%;" width="32" alt="Email" border="0" class="mcRssImage"></a>
|
||||
<a class="whatsappshare" style="vertical-align: bottom;margin: 0 3px 0;width: 0;height: 0;overflow: hidden;float: left;display: none;-webkit-text-size-adjust: 100%;-ms-text-size-adjust: 100%;color: #4EB9E7;" href="whatsapp://send?text=Saw this in Finimize: Oil Prices Keep Climbing - https://www.finimize.com/wp/news/oil-prices-keep-climbing/" data-action="share/whatsapp/share"><img class="whatsappshareimage mcRssImage" src="https://gallery.mailchimp.com/fd92d4d6912bf051aceebbc27/images/8c77567e-6750-45ab-b0c4-fd24bdc10200.png" style="max-width: 100%;width: 100%;padding-bottom: 0;display: inline;vertical-align: bottom;border: 0;height: auto;outline: none;text-decoration: none;-ms-interpolation-mode: bicubic;line-height: 100%;" width="32" alt="Whatsapp Share" border="0"></a>
|
||||
</div>
|
||||
</div></div>
|
||||
</td>
|
||||
<!--QA Link-->
|
||||
<td class="questionbutton" align="right" style="font-family: Open Sans, Helvetica, Arial, sans-serif;padding: 0px;padding-bottom: 10px;-webkit-text-size-adjust: 100%;-ms-text-size-adjust: 100%;mso-table-lspace: 0pt;mso-table-rspace: 0pt;">
|
||||
<table border="0" cellspacing="0" cellpadding="0" style="-webkit-text-size-adjust: 100%;-ms-text-size-adjust: 100%;mso-table-lspace: 0pt;mso-table-rspace: 0pt;border-collapse: separate;">
|
||||
<tr>
|
||||
<td align="center" style="font-family: Avenir Next,sans-serif;font-weight: 600;font-size: 16px;color: #ffffff !important;text-decoration: none;border-radius: 99px;background-color: #61BB46;padding: 0px;border: 0px solid #61BB46;display: block;-webkit-text-size-adjust: 100%;-ms-text-size-adjust: 100%;mso-table-lspace: 0pt;mso-table-rspace: 0pt;" bgcolor="#61BB46">
|
||||
<a class="greenbutton" href="mailto:questions@finimize.com?Subject=Question%20on%20Oil Prices Keep Climbing&Body=Hello%20Finimize%2C%0A%0AI%20read%20your%20story%20today%3A%20https://www.finimize.com/wp/news/oil-prices-keep-climbing/%0A%0AThis%20is%20my%20question%3A%0A%0A%0ANote%3A%20Your%20question%20and%20our%20answer%20may%20be%20featured%20in%20a%20next%20edition.%20We%20like%20to%20share%20the%20love%20%3A%29%20If%20you%20wouldn%27t%20like%20that%2C%20please%20make%20note%20of%20it." target="_blank" style="font-family: Avenir Next,sans-serif;font-weight: 600;font-size: 12px;color: #ffffff !important;text-decoration: none !important;border-radius: 99px;background-color: #61BB46;padding: 12px 14px;border: 1px solid #61BB46;display: block;-webkit-text-size-adjust: 100%;-ms-text-size-adjust: 100%;transition: 0.23s linear;"><span style="color:#ffffff;">ASK US A QUESTION</span>
|
||||
</a>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr><tr>
|
||||
<td align="center" valign="top" style="-webkit-text-size-adjust: 100%;-ms-text-size-adjust: 100%;mso-table-lspace: 0pt;mso-table-rspace: 0pt;">
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="articleheader" align="center" valign="top" style="padding: 23px 0;font-family: Avenir Next, Avenir, Open Sans, Helvetica, Arial, sans-serif;-webkit-text-size-adjust: 100%;-ms-text-size-adjust: 100%;mso-table-lspace: 0pt;mso-table-rspace: 0pt;">
|
||||
<table cellspacing="0" cellpadding="0" border="0" width="100%" style="-webkit-text-size-adjust: 100%;-ms-text-size-adjust: 100%;mso-table-lspace: 0pt;mso-table-rspace: 0pt;border-collapse: separate;">
|
||||
<tr>
|
||||
<td align="left" bgcolor="#ffffff" style="border-bottom: 0px solid #1E2225;-webkit-text-size-adjust: 100%;-ms-text-size-adjust: 100%;mso-table-lspace: 0pt;mso-table-rspace: 0pt;"><h2 style="font-size: 26px; color: #1E2225; font-family: Avenir Next, Avenir, Open Sans, Helvetica, Arial, sans-serif; font-weight: 700; margin: 0; padding-bottom: 7px;">CBS-Viacom Deal Is A No Go</h2> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="center" bgcolor="#ffffff" style="border-radius: 0px 0px 0 0;padding: 10px 0px;-webkit-text-size-adjust: 100%;-ms-text-size-adjust: 100%;mso-table-lspace: 0pt;mso-table-rspace: 0pt;"><a href="http://finimize.us10.list-manage1.com/track/click?u=fd92d4d6912bf051aceebbc27&id=39a6003b37&e=e39741c606" style="-webkit-text-size-adjust: 100%;-ms-text-size-adjust: 100%;color: #4EB9E7;"> <img src="https://www.finimize.com/wp/wp-content/uploads/2016/12/Finimize_News_Image_2016_CBS.jpg" border="0" width="600" class="img-max mcRssImage" alt="Please Turn On Images" style="max-width: 100%;width: 100%;padding-bottom: 0;display: inline;vertical-align: bottom;border: 0;height: auto;outline: none;text-decoration: none;-ms-interpolation-mode: bicubic;line-height: 100%;"></a></td></tr><tr>
|
||||
<td align="left" bgcolor="#ffffff" style="border-radius: 0 0 3px 3px;padding: 0px 0px;mso-table-lspace: 0pt;mso-table-rspace: 0pt;-webkit-text-size-adjust: 100%;-ms-text-size-adjust: 100%;">
|
||||
<table cellspacing="0" cellpadding="0" border="0" width="100%" style="-webkit-text-size-adjust: 100%;-ms-text-size-adjust: 100%;mso-table-lspace: 0pt;mso-table-rspace: 0pt;border-collapse: separate;"><tr>
|
||||
<td class="articlebody" align="left" style="font-family: Open Sans, Helvetica, Arial, sans-serif;padding: 15px 1px;mso-table-lspace: 0pt;mso-table-rspace: 0pt;-webkit-text-size-adjust: 100%;-ms-text-size-adjust: 100%;">
|
||||
<h3 style="font-size: 18px; color: #1E2225; font-weight: 700; margin: 0; padding-bottom: 12px;">What’s Going On Here?</h3><p style="color: #56585B; font-size: 16px; line-height: 30px; margin: 0;"><a style="color: #4EB9E7!important;text-decoration: none;-webkit-text-size-adjust: 100%;-ms-text-size-adjust: 100%;" class="hoverlink" href="http://finimize.us10.list-manage.com/track/click?u=fd92d4d6912bf051aceebbc27&id=3a4ce81683&e=e39741c606">Viacom</a> and <a style="color: #4EB9E7!important;text-decoration: none;-webkit-text-size-adjust: 100%;-ms-text-size-adjust: 100%;" class="hoverlink" href="http://finimize.us10.list-manage.com/track/click?u=fd92d4d6912bf051aceebbc27&id=1e797251d0&e=e39741c606">CBS</a> will <i>not</i> merge together (<a style="color: #4EB9E7!important;text-decoration: none;-webkit-text-size-adjust: 100%;-ms-text-size-adjust: 100%;" class="hoverlink" href="http://finimize.us10.list-manage.com/track/click?u=fd92d4d6912bf051aceebbc27&id=1a2d7aa71b&e=e39741c606">again</a>) to make a media supergiant – and it means that Viacom will have to find its own path to growth as the traditional cable company struggles in the age of <a style="color: #4EB9E7!important;text-decoration: none;-webkit-text-size-adjust: 100%;-ms-text-size-adjust: 100%;" class="hoverlink" href="http://finimize.us10.list-manage1.com/track/click?u=fd92d4d6912bf051aceebbc27&id=62eb3c1c56&e=e39741c606">Netflix</a> and <a style="color: #4EB9E7!important;text-decoration: none;-webkit-text-size-adjust: 100%;-ms-text-size-adjust: 100%;" class="hoverlink" href="http://finimize.us10.list-manage2.com/track/click?u=fd92d4d6912bf051aceebbc27&id=b73edcb0f2&e=e39741c606">Hulu</a>.</p> </td>
|
||||
</tr><tr>
|
||||
<td class="articlebody" align="left" style="font-family: Open Sans, Helvetica, Arial, sans-serif;padding: 15px 1px;mso-table-lspace: 0pt;mso-table-rspace: 0pt;-webkit-text-size-adjust: 100%;-ms-text-size-adjust: 100%;">
|
||||
<h3 style="font-size: 18px; color: #1E2225; font-weight: 700; margin: 0; padding-bottom: 12px;">What Does This Mean?</h3><p style="color: #56585B; font-size: 16px; line-height: 30px; margin: 0;">Viacom separated from its then-parent company, CBS, in 2005 with the idea that the high-growth media company, anchored by well-loved channels like <a style="color: #4EB9E7!important;text-decoration: none;-webkit-text-size-adjust: 100%;-ms-text-size-adjust: 100%;" class="hoverlink" href="http://finimize.us10.list-manage2.com/track/click?u=fd92d4d6912bf051aceebbc27&id=178c847282&e=e39741c606">Comedy Central</a> and <a style="color: #4EB9E7!important;text-decoration: none;-webkit-text-size-adjust: 100%;-ms-text-size-adjust: 100%;" class="hoverlink" href="http://finimize.us10.list-manage.com/track/click?u=fd92d4d6912bf051aceebbc27&id=b25bd877e2&e=e39741c606">MTV</a>, would thrive as a separate, more nimble entity. But just the opposite occurred: Viacom has floundered since the spinoff, while CBS has been among the best-performing major US media companies.
|
||||
<br class="none"><br class="none">Earlier this year, <a style="color: #4EB9E7!important;text-decoration: none;-webkit-text-size-adjust: 100%;-ms-text-size-adjust: 100%;" class="hoverlink" href="http://finimize.us10.list-manage.com/track/click?u=fd92d4d6912bf051aceebbc27&id=264f10855d&e=e39741c606">National Amusements</a>, the controlling shareholder in <i>both</i> companies, suggested that Viacom could be turned around by a merger with its former parent CBS. But <a style="color: #4EB9E7!important;text-decoration: none;-webkit-text-size-adjust: 100%;-ms-text-size-adjust: 100%;" class="hoverlink" href="http://finimize.us10.list-manage2.com/track/click?u=fd92d4d6912bf051aceebbc27&id=a9ed19c972&e=e39741c606">Shari Redstone</a>, the President of National Amusements, backtracked on that plan on Monday, instead putting her hopes in the forward-looking vision of Viacom’s new CEO.</p> </td>
|
||||
</tr><tr>
|
||||
<td class="articlebody" align="left" style="font-family: Open Sans, Helvetica, Arial, sans-serif;padding: 15px 1px;mso-table-lspace: 0pt;mso-table-rspace: 0pt;-webkit-text-size-adjust: 100%;-ms-text-size-adjust: 100%;">
|
||||
<h3 style="font-size: 18px; color: #1E2225; font-weight: 700; margin: 0; padding-bottom: 12px;">Why Should I Care?</h3><p style="color: #56585B; font-size: 16px; line-height: 30px; margin: 0;"><b>For markets: </b><i>CBS didn’t seem enamored with the idea of joining forces with Viacom.<br class="none"></i>Redstone may have given her public backing to Viacom’s new CEO, but markets aren’t really buying it. It seems more likely that CBS’s CEO, the venerable <a style="color: #4EB9E7!important;text-decoration: none;-webkit-text-size-adjust: 100%;-ms-text-size-adjust: 100%;" class="hoverlink" href="http://finimize.us10.list-manage1.com/track/click?u=fd92d4d6912bf051aceebbc27&id=c3fbce1b96&e=e39741c606">Les Moonves</a>, <a style="color: #4EB9E7!important;text-decoration: none;-webkit-text-size-adjust: 100%;-ms-text-size-adjust: 100%;" class="hoverlink" href="http://finimize.us10.list-manage2.com/track/click?u=fd92d4d6912bf051aceebbc27&id=511fe468c3&e=e39741c606">balked at letting troubled Viacom back into CBS’s fold</a>. Markets are hinting at the same idea: shares in CBS were flat on Monday, while Viacom’s were down almost 10% – clearly, investors are disappointed that the former golden child won’t be brought back under its parent’s roof.
|
||||
<br class="none"><br class="none"><b>The bigger picture: </b><i>A “controlling” shareholder can make the successful management of a large corporation difficult.<br class="none"></i>Viacom (and to some extent CBS) have been marred in 2016 by <a style="color: #4EB9E7!important;text-decoration: none;-webkit-text-size-adjust: 100%;-ms-text-size-adjust: 100%;" class="hoverlink" href="http://finimize.us10.list-manage.com/track/click?u=fd92d4d6912bf051aceebbc27&id=ee629c9981&e=e39741c606">a public feud</a> between company executives and the company’s most important shareholder, National Amusements. While National Amusements doesn’t own the majority of the companies’ shares, it controls the voting rights (i.e. it is the “controlling shareholder”), which gives it a lot of control over corporate management (such as choosing the CEO). The conflict highlights the downside of shareholders relinquishing their voting rights (which <a style="color: #4EB9E7!important;text-decoration: none;-webkit-text-size-adjust: 100%;-ms-text-size-adjust: 100%;" class="hoverlink" href="http://finimize.us10.list-manage.com/track/click?u=fd92d4d6912bf051aceebbc27&id=95f0e89c59&e=e39741c606">recently took place at Facebook</a>).</p> </td>
|
||||
</tr><!--Share Links-->
|
||||
<tr>
|
||||
<td style="-webkit-text-size-adjust: 100%;-ms-text-size-adjust: 100%;mso-table-lspace: 0pt;mso-table-rspace: 0pt;">
|
||||
<table border="0" cellspacing="0" cellpadding="0" width="100%" style="max-width: 600px;-webkit-text-size-adjust: 100%;-ms-text-size-adjust: 100%;mso-table-lspace: 0pt;mso-table-rspace: 0pt;border-collapse: separate;">
|
||||
<tr>
|
||||
<td class="sharelinks" align="left" style="font-family: Open Sans, Helvetica, Arial, sans-serif;padding: 20px 0px;width: 100%;display: block;-webkit-text-size-adjust: 100%;-ms-text-size-adjust: 100%;mso-table-lspace: 0pt;mso-table-rspace: 0pt;">
|
||||
<div class="share-links"><div style="box-sizing:border-box;position:relative;">
|
||||
<div style="padding:0;overflow:hidden;color:#56585B;font-family: Avenir Next,sans-serif;font-weight:600;font-size: 18px;text-transform: uppercase; line-height: 28px;text-align:left;">
|
||||
<span class="sharethis" style="display:inline-block;margin-right:6px; color: #C1C6CD!important;padding-bottom:10px;">SHARE THIS</span>
|
||||
<br class="sharelinebreak">
|
||||
<a style="width: 32px;height: 30px;vertical-align: bottom;margin: 0 5px 0;display: inline-block;-webkit-text-size-adjust: 100%;-ms-text-size-adjust: 100%;color: #4EB9E7;" href="http://finimize.us10.list-manage.com/track/click?u=fd92d4d6912bf051aceebbc27&id=6cc199f3f3&e=e39741c606">
|
||||
<img src="https://gallery.mailchimp.com/fd92d4d6912bf051aceebbc27/images/5ea3b68e-917d-439b-b1bd-ddb6fd37b6e6.png" style="max-width: 100%;width: 100%;padding-bottom: 0;display: inline;vertical-align: bottom;border: 0;height: auto;outline: none;text-decoration: none;-ms-interpolation-mode: bicubic;line-height: 100%;" width="32" alt="Twitter" border="0" class="mcRssImage"></a>
|
||||
<a style="width: 32px;height: 30px;vertical-align: bottom;margin: 0 3px 0;display: inline-block;-webkit-text-size-adjust: 100%;-ms-text-size-adjust: 100%;color: #4EB9E7;" href="http://finimize.us10.list-manage1.com/track/click?u=fd92d4d6912bf051aceebbc27&id=f333acb23a&e=e39741c606"><img src="https://gallery.mailchimp.com/fd92d4d6912bf051aceebbc27/images/2ed1e3ad-2682-4e4d-9c5b-18eaaba264db.png" style="max-width: 100%;width: 100%;padding-bottom: 0;display: inline;vertical-align: bottom;border: 0;height: auto;outline: none;text-decoration: none;-ms-interpolation-mode: bicubic;line-height: 100%;" width="32" alt="Facebook Share" border="0" class="mcRssImage"></a>
|
||||
<a class="emailshare" style="width: 32px;height: 30px;vertical-align: bottom;margin: 0 3px 0;display: inline-block;-webkit-text-size-adjust: 100%;-ms-text-size-adjust: 100%;color: #4EB9E7;" href="mailto:?Subject=Story%20in%20Finimize&Body=Saw%20this%20in%20Finimize%20today:%20CBS-Viacom Deal Is A No Go%20-%20https://www.finimize.com/wp/news/cbs-viacom-deal-no-go/"><img src="https://gallery.mailchimp.com/fd92d4d6912bf051aceebbc27/images/51da9cb0-92fd-48d9-895f-e741876c2f9d.png" style="max-width: 100%;width: 100%;padding-bottom: 0;display: inline;vertical-align: bottom;border: 0;height: auto;outline: none;text-decoration: none;-ms-interpolation-mode: bicubic;line-height: 100%;" width="32" alt="Email" border="0" class="mcRssImage"></a>
|
||||
<a class="whatsappshare" style="vertical-align: bottom;margin: 0 3px 0;width: 0;height: 0;overflow: hidden;float: left;display: none;-webkit-text-size-adjust: 100%;-ms-text-size-adjust: 100%;color: #4EB9E7;" href="whatsapp://send?text=Saw this in Finimize: CBS-Viacom Deal Is A No Go - https://www.finimize.com/wp/news/cbs-viacom-deal-no-go/" data-action="share/whatsapp/share"><img class="whatsappshareimage mcRssImage" src="https://gallery.mailchimp.com/fd92d4d6912bf051aceebbc27/images/8c77567e-6750-45ab-b0c4-fd24bdc10200.png" style="max-width: 100%;width: 100%;padding-bottom: 0;display: inline;vertical-align: bottom;border: 0;height: auto;outline: none;text-decoration: none;-ms-interpolation-mode: bicubic;line-height: 100%;" width="32" alt="Whatsapp Share" border="0"></a>
|
||||
</div>
|
||||
</div></div>
|
||||
</td>
|
||||
<!--QA Link-->
|
||||
<td class="questionbutton" align="right" style="font-family: Open Sans, Helvetica, Arial, sans-serif;padding: 0px;padding-bottom: 10px;-webkit-text-size-adjust: 100%;-ms-text-size-adjust: 100%;mso-table-lspace: 0pt;mso-table-rspace: 0pt;">
|
||||
<table border="0" cellspacing="0" cellpadding="0" style="-webkit-text-size-adjust: 100%;-ms-text-size-adjust: 100%;mso-table-lspace: 0pt;mso-table-rspace: 0pt;border-collapse: separate;">
|
||||
<tr>
|
||||
<td align="center" style="font-family: Avenir Next,sans-serif;font-weight: 600;font-size: 16px;color: #ffffff !important;text-decoration: none;border-radius: 99px;background-color: #61BB46;padding: 0px;border: 0px solid #61BB46;display: block;-webkit-text-size-adjust: 100%;-ms-text-size-adjust: 100%;mso-table-lspace: 0pt;mso-table-rspace: 0pt;" bgcolor="#61BB46">
|
||||
<a class="greenbutton" href="mailto:questions@finimize.com?Subject=Question%20on%20CBS-Viacom Deal Is A No Go&Body=Hello%20Finimize%2C%0A%0AI%20read%20your%20story%20today%3A%20https://www.finimize.com/wp/news/cbs-viacom-deal-no-go/%0A%0AThis%20is%20my%20question%3A%0A%0A%0ANote%3A%20Your%20question%20and%20our%20answer%20may%20be%20featured%20in%20a%20next%20edition.%20We%20like%20to%20share%20the%20love%20%3A%29%20If%20you%20wouldn%27t%20like%20that%2C%20please%20make%20note%20of%20it." target="_blank" style="font-family: Avenir Next,sans-serif;font-weight: 600;font-size: 12px;color: #ffffff !important;text-decoration: none !important;border-radius: 99px;background-color: #61BB46;padding: 12px 14px;border: 1px solid #61BB46;display: block;-webkit-text-size-adjust: 100%;-ms-text-size-adjust: 100%;transition: 0.23s linear;"><span style="color:#ffffff;">ASK US A QUESTION</span>
|
||||
</a>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr> <!--Quote Of The Day-->
|
||||
<tr>
|
||||
<td align="center" valign="top" style="padding: 0 0 15px 0;font-family: Open Sans, Helvetica, Arial, sans-serif;-webkit-text-size-adjust: 100%;-ms-text-size-adjust: 100%;mso-table-lspace: 0pt;mso-table-rspace: 0pt;">
|
||||
<table cellspacing="0" cellpadding="0" border="0" width="100%" style="-webkit-text-size-adjust: 100%;-ms-text-size-adjust: 100%;mso-table-lspace: 0pt;mso-table-rspace: 0pt;border-collapse: separate;">
|
||||
<tr>
|
||||
<td align="left" bgcolor="#4EB9E7" style="border: 3px solid #4EB9E7;display: block;border-radius: 10px 10px 10px 10px;padding: 23px;color: #ffffff;-webkit-text-size-adjust: 100%;-ms-text-size-adjust: 100%;mso-table-lspace: 0pt;mso-table-rspace: 0pt;">
|
||||
<table cellspacing="0" cellpadding="0" border="0" width="100%" style="color: #ffffff !important;-webkit-text-size-adjust: 100%;-ms-text-size-adjust: 100%;mso-table-lspace: 0pt;mso-table-rspace: 0pt;border-collapse: separate;">
|
||||
<tr>
|
||||
<td align="left" style="font-family: Avenir Next, Avenir, Open Sans, Helvetica, Arial, sans-serif;color: #ffffff;-webkit-text-size-adjust: 100%;-ms-text-size-adjust: 100%;mso-table-lspace: 0pt;mso-table-rspace: 0pt;">
|
||||
<h2 class="finimizequotetitle dbluetext" style="font-family: Avenir Next, Avenir, Open Sans, Helvetica, Arial, sans-serif; font-size: 16px; color: #265C73 !important; margin: 0; padding-bottom: 10px;">#FINIMIZEQUOTE</h2>
|
||||
<p class="whitetext" style="font-family: Open Sans, Helvetica, Arial, sans-serif; color: #ffffff !important; font-size: 20px; font-weight: 600; line-height: 32px; margin: 0;">
|
||||
“It’s easy to be miserable. Being happy is tougher — and cooler.”</p>
|
||||
<p class="whitetext" style="font-family: Open Sans, Helvetica, Arial, sans-serif; color: #ffffff !important; font-size: 16px !important; line-height: 28px; margin: 5px 0;">- Thom Yorke (an English musician best known as the singer and songwriter of Radiohead)</p></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="dbluetext" align="left" style="font-family: Open Sans, Helvetica, Arial, sans-serif;padding: 0px 0 0 0;color: #265C73 !important;font-size: 12px;line-height: 20px;margin: 0;-webkit-text-size-adjust: 100%;-ms-text-size-adjust: 100%;mso-table-lspace: 0pt;mso-table-rspace: 0pt;">Want to see your name here? Suggest a quote by tweeting <a href="http://finimize.us10.list-manage.com/track/click?u=fd92d4d6912bf051aceebbc27&id=cd3d46effe&e=e39741c606" style="color: #265C73 !important;text-decoration: underline;-webkit-text-size-adjust: 100%;-ms-text-size-adjust: 100%;" target="_blank">@finimize</a>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr><tr>
|
||||
<td align="left" style="font-family: Open Sans, Helvetica, Arial, sans-serif;padding: 20px 0px;-webkit-text-size-adjust: 100%;-ms-text-size-adjust: 100%;mso-table-lspace: 0pt;mso-table-rspace: 0pt;">
|
||||
<div class="share-links"><div style="box-sizing:border-box;position:relative;">
|
||||
<div style="padding:0;overflow:hidden;color:#56585B;font-family: Avenir Next,sans-serif;font-weight:600;font-size: 18px;text-transform: uppercase; line-height: 28px;text-align:left;">
|
||||
<span style="display:inline-block;margin-right:6px; color: #C1C6CD!important;">SHARE THIS</span>
|
||||
<a style="width: 32px;height: 30px;vertical-align: bottom;margin: 0 3px 0;display: inline-block;-webkit-text-size-adjust: 100%;-ms-text-size-adjust: 100%;color: #4EB9E7;" href="http://finimize.us10.list-manage.com/track/click?u=fd92d4d6912bf051aceebbc27&id=11ee319ddb&e=e39741c606">
|
||||
<img src="https://gallery.mailchimp.com/fd92d4d6912bf051aceebbc27/images/5ea3b68e-917d-439b-b1bd-ddb6fd37b6e6.png" style="max-width: 100%;width: 100%;padding-bottom: 0;display: inline;vertical-align: bottom;border: 0;height: auto;outline: none;text-decoration: none;-ms-interpolation-mode: bicubic;line-height: 100%;" width="32" alt="Twitter" border="0" class="mcRssImage"></a>
|
||||
<a style="width: 32px;height: 30px;vertical-align: bottom;margin: 0 3px 0;display: inline-block;-webkit-text-size-adjust: 100%;-ms-text-size-adjust: 100%;color: #4EB9E7;" href="http://finimize.us10.list-manage.com/track/click?u=fd92d4d6912bf051aceebbc27&id=5a90f1e643&e=e39741c606"><img src="https://gallery.mailchimp.com/fd92d4d6912bf051aceebbc27/images/2ed1e3ad-2682-4e4d-9c5b-18eaaba264db.png" style="max-width: 100%;width: 100%;padding-bottom: 0;display: inline;vertical-align: bottom;border: 0;height: auto;outline: none;text-decoration: none;-ms-interpolation-mode: bicubic;line-height: 100%;" width="32" alt="Facebook Share" border="0" class="mcRssImage"></a>
|
||||
<a class="emailshare" style="width: 32px;height: 30px;vertical-align: bottom;margin: 0 3px 0;display: inline-block;-webkit-text-size-adjust: 100%;-ms-text-size-adjust: 100%;color: #4EB9E7;" href="mailto:?Subject=Finimize%20Quote&Body=“It’s easy to be miserable. Being happy is tougher — and cooler.”%20-%20Thom Yorke"><img src="https://gallery.mailchimp.com/fd92d4d6912bf051aceebbc27/images/51da9cb0-92fd-48d9-895f-e741876c2f9d.png" style="max-width: 100%;width: 100%;padding-bottom: 0;display: inline;vertical-align: bottom;border: 0;height: auto;outline: none;text-decoration: none;-ms-interpolation-mode: bicubic;line-height: 100%;" width="32" alt="Whatsapp Share" border="0" class="mcRssImage"></a>
|
||||
<a class="whatsappshare" style="vertical-align: bottom;margin: 0 3px 0;width: 0;height: 0;overflow: hidden;float: left;display: none;-webkit-text-size-adjust: 100%;-ms-text-size-adjust: 100%;color: #4EB9E7;" href="whatsapp://send?text=Today's Finimize quote: %E2%80%9CIt%E2%80%99s+easy+to+be+miserable.+Being+happy+is+tougher+%E2%80%94+and+cooler.%E2%80%9D" data-action="share/whatsapp/share"><img src="https://gallery.mailchimp.com/fd92d4d6912bf051aceebbc27/images/8c77567e-6750-45ab-b0c4-fd24bdc10200.png" class="whatsappshareimage mcRssImage" style="max-width: 100%;width: 100%;padding-bottom: 0;display: inline;vertical-align: bottom;border: 0;height: auto;outline: none;text-decoration: none;-ms-interpolation-mode: bicubic;line-height: 100%;" width="32" alt="Whatsapp Share" border="0"></a>
|
||||
</div>
|
||||
</div></div>
|
||||
</td>
|
||||
</tr>
|
||||
<!--End Quote--><tr>
|
||||
<td align="center" valign="top" style="padding: 25px 0;font-family: Avenir Next, Avenir, Open Sans, Helvetica, Arial, sans-serif;-webkit-text-size-adjust: 100%;-ms-text-size-adjust: 100%;mso-table-lspace: 0pt;mso-table-rspace: 0pt;">
|
||||
<table cellspacing="0" cellpadding="0" border="0" width="100%" style="-webkit-text-size-adjust: 100%;-ms-text-size-adjust: 100%;mso-table-lspace: 0pt;mso-table-rspace: 0pt;border-collapse: separate;">
|
||||
<tr>
|
||||
<td align="left" bgcolor="#ffffff" style="border-bottom: 3px solid #4EB9E7;-webkit-text-size-adjust: 100%;-ms-text-size-adjust: 100%;mso-table-lspace: 0pt;mso-table-rspace: 0pt;">
|
||||
|
||||
<table border="0" cellspacing="0" cellpadding="0" width="100%" style="max-width: 600px;-webkit-text-size-adjust: 100%;-ms-text-size-adjust: 100%;mso-table-lspace: 0pt;mso-table-rspace: 0pt;border-collapse: separate;">
|
||||
<tr>
|
||||
<td align="left" bgcolor="#ffffff" style="-webkit-text-size-adjust: 100%;-ms-text-size-adjust: 100%;mso-table-lspace: 0pt;mso-table-rspace: 0pt;">
|
||||
<h2 class="qatitle" style="font-family: Avenir Next, Avenir, Open Sans, Helvetica, Arial, sans-serif; font-size: 26px; color: #4EB9E7 !important; font-weight: 700; margin: 0; padding-bottom: 7px;">Q&A</h2>
|
||||
</td>
|
||||
<td align="right" bgcolor="#ffffff" style="-webkit-text-size-adjust: 100%;-ms-text-size-adjust: 100%;mso-table-lspace: 0pt;mso-table-rspace: 0pt;">
|
||||
<a class="hoverlink" href="http://finimize.us10.list-manage.com/track/click?u=fd92d4d6912bf051aceebbc27&id=0b14f31246&e=e39741c606" style="font-family: Avenir Next, Avenir, Open Sans, Helvetica, Arial, sans-serif;font-size: 14px;color: #4EB9E7 !important;text-decoration: none;font-weight: 700;margin: 0;padding-bottom: 7px;text-align: right;-webkit-text-size-adjust: 100%;-ms-text-size-adjust: 100%;">RE: The ECB’s Big Surprise!</a>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
<!-- question row-->
|
||||
<tr>
|
||||
<td align="left" bgcolor="#ffffff" style="border-radius: 0 0 3px 3px;padding: 0px 0px;-webkit-text-size-adjust: 100%;-ms-text-size-adjust: 100%;mso-table-lspace: 0pt;mso-table-rspace: 0pt;">
|
||||
<table cellspacing="0" cellpadding="0" border="0" width="100%" style="-webkit-text-size-adjust: 100%;-ms-text-size-adjust: 100%;mso-table-lspace: 0pt;mso-table-rspace: 0pt;border-collapse: separate;">
|
||||
<tr>
|
||||
<td align="left" style="font-family: Open Sans, Helvetica, Arial, sans-serif;padding: 15px 1px;-webkit-text-size-adjust: 100%;-ms-text-size-adjust: 100%;mso-table-lspace: 0pt;mso-table-rspace: 0pt;">
|
||||
<p style="font-size: 16px; color: #56585B; font-weight: 700; margin: 0; padding-bottom: 12px;">Nepomuk asked:</p>
|
||||
<p style="color: #56585B; font-size: 16px; line-height: 30px; margin: 0;">
|
||||
“Is it possible that the European Central Bank (ECB) will run out of bonds to buy?”<span></span></p>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
<!-- answer row-->
|
||||
<tr>
|
||||
<td align="left" bgcolor="#ffffff" style="border-radius: 0 0 3px 3px;padding: 20px 0px;-webkit-text-size-adjust: 100%;-ms-text-size-adjust: 100%;mso-table-lspace: 0pt;mso-table-rspace: 0pt;">
|
||||
<table cellspacing="0" cellpadding="0" border="0" width="100%" style="-webkit-text-size-adjust: 100%;-ms-text-size-adjust: 100%;mso-table-lspace: 0pt;mso-table-rspace: 0pt;border-collapse: separate;">
|
||||
<tr>
|
||||
<td valign="top" align="left" style="font-family: Open Sans, Helvetica, Arial, sans-serif;padding: 3px 0px;padding-right: 12px;vertical-align: top;-webkit-text-size-adjust: 100%;-ms-text-size-adjust: 100%;mso-table-lspace: 0pt;mso-table-rspace: 0pt;">
|
||||
<div class="share-links qa_avatar_holder"><div style="box-sizing:border-box;position:relative;">
|
||||
<div class="" style=" padding:0;overflow:hidden;color:#56585B;font-family: Avenir Next,sans-serif;font-weight:600;font-size: 18px;text-transform: uppercase; line-height: 28px;text-align:left;"> <a class="qa_avatar" href="#" style="width: 42px;height: 42px;vertical-align: bottom;margin: 0;display: inline-block;-webkit-text-size-adjust: 100%;-ms-text-size-adjust: 100%;color: #4EB9E7;"><img class="qa_avatar mcRssImage" src="https://gallery.mailchimp.com/fd92d4d6912bf051aceebbc27/images/536c42da-3878-456d-b028-499d70ce79e3.png" alt="💬" width="42" border="0" style="max-width: 100%;width: 100%;padding-bottom: 0;display: inline;vertical-align: bottom;border: 0;height: auto;outline: none;text-decoration: none;-ms-interpolation-mode: bicubic;line-height: 100%;"></a>
|
||||
</div>
|
||||
</div></div>
|
||||
</td>
|
||||
<td align="left" bgcolor="#F2F4F6" style="border: 3px solid #F2F4F6;display: block;border-radius: 12px 12px 12px 12px;padding: 3px 3px 3px 12px;margin-right: 1px;-webkit-text-size-adjust: 100%;-ms-text-size-adjust: 100%;mso-table-lspace: 0pt;mso-table-rspace: 0pt;">
|
||||
<table cellspacing="0" cellpadding="0" border="0" width="100%" style="-webkit-text-size-adjust: 100%;-ms-text-size-adjust: 100%;mso-table-lspace: 0pt;mso-table-rspace: 0pt;border-collapse: separate;">
|
||||
<tr>
|
||||
<td align="left" style="font-family: Avenir Next, Avenir, Open Sans, Helvetica, Arial, sans-serif;-webkit-text-size-adjust: 100%;-ms-text-size-adjust: 100%;mso-table-lspace: 0pt;mso-table-rspace: 0pt;">
|
||||
|
||||
<p style="font-family: Open Sans, Helvetica, Arial, sans-serif; color: #56585B !important; font-size: 16px; line-height: 30px; margin: 5px 0;">
|
||||
“In theory, yes the ECB could run out of bonds to buy – but governments could also issue more bonds, so the available supply could easily increase. Additionally, just last week <a style="color: #4EB9E7!important;text-decoration: none;-webkit-text-size-adjust: 100%;-ms-text-size-adjust: 100%;" class="hoverlink" href="http://finimize.us10.list-manage1.com/track/click?u=fd92d4d6912bf051aceebbc27&id=d364f9e86d&e=e39741c606">the ECB removed a previous limit on the price it would pay for bonds</a> (based on what <a style="color: #4EB9E7!important;text-decoration: none;-webkit-text-size-adjust: 100%;-ms-text-size-adjust: 100%;" class="hoverlink" href="http://finimize.us10.list-manage1.com/track/click?u=fd92d4d6912bf051aceebbc27&id=a0a9dfbc4e&e=e39741c606"><i>yield</i></a> those bonds are offering). This makes it even less likely that the ECB will run out of available bonds to buy. A restriction the ECB could run up against is one limiting the amount of bonds it can buy from each country (which is based, loosely, on the size of the country). For example, it’s already close to that limit with Portuguese bonds. However, the ECB could conceivably change this rule as well. Overall, while it is possible for the ECB to run out of bonds to purchase, it seems unlikely right now.”</p>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<!--End Question Answer--> <tr>
|
||||
<td align="center" valign="top" style="padding: 0px;padding-bottom: 20px;font-family: Avenir Next, Avenir, Open Sans, Helvetica, Arial, sans-serif;border-top: 1px solid #D9DBDD;-webkit-text-size-adjust: 100%;-ms-text-size-adjust: 100%;mso-table-lspace: 0pt;mso-table-rspace: 0pt;">
|
||||
<table cellspacing="0" cellpadding="0" border="0" width="100%" style="-webkit-text-size-adjust: 100%;-ms-text-size-adjust: 100%;mso-table-lspace: 0pt;mso-table-rspace: 0pt;border-collapse: separate;">
|
||||
<!-- content row-->
|
||||
<tr>
|
||||
<td align="left" bgcolor="#ffffff" style="border-radius: 0 0 3px 3px;padding: 0px 0px;-webkit-text-size-adjust: 100%;-ms-text-size-adjust: 100%;mso-table-lspace: 0pt;mso-table-rspace: 0pt;">
|
||||
<table cellspacing="0" cellpadding="0" border="0" width="100%" style="-webkit-text-size-adjust: 100%;-ms-text-size-adjust: 100%;mso-table-lspace: 0pt;mso-table-rspace: 0pt;border-collapse: separate;">
|
||||
<tr>
|
||||
<td align="center" style="font-family: Open Sans, Helvetica, Arial, sans-serif;padding: 15px 1px;style=: ;-webkit-text-size-adjust: 100%;-ms-text-size-adjust: 100%;mso-table-lspace: 0pt;mso-table-rspace: 0pt;" color:="" #56585b;="" font-size:="" 16px;="" text-align:center;font-size:="" line-height:="" 30px;="" margin:="" 0;"="">
|
||||
<div style="padding:20px 0px;overflow:hidden;color:#56585B;font-family: Avenir Next,sans-serif;font-weight:600;font-size: 16px;text-transform: uppercase; line-height: 30px;text-align:center;">
|
||||
<!--<a href="#" target="_blank" style="width:64px;height:28px;vertical-align:bottom;margin: 0px 0;display:inline-block;"><img src="https://gallery.mailchimp.com/fd92d4d6912bf051aceebbc27/images/f99971a1-64ca-4dcd-a855-788edd7818e6.png" style="padding-top:10px; padding-bottom:20px;font-size:36px; display:block;vertical-align:middle;" alt="👓" width="64" height="28" border="0"></a>-->
|
||||
</div>
|
||||
<h3 style="font-family: Avenir Next, Avenir, Open Sans, Helvetica, Arial, sans-serif; font-size: 18px; color: #1e2225; font-weight: bold; margin: 0; padding-bottom: 12px;">WHAT WE'RE READING</h3>
|
||||
<span style="font-family: Open Sans, Helvetica, Arial, sans-serif; text-align: center; color: #56585b; font-size: 16px; line-height: 30px; margin: 0;">A look at how private equity amasses wealth by taking a deep dive into Hostess, the maker of Twinkies: <a style="color: #4EB9E7!important;text-decoration: none;-webkit-text-size-adjust: 100%;-ms-text-size-adjust: 100%;" class="hoverlink" href="http://finimize.us10.list-manage1.com/track/click?u=fd92d4d6912bf051aceebbc27&id=ed79269a81&e=e39741c606">Read More</a></span></td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<!--End Reading / Promo --><tr>
|
||||
<td align="center" valign="top" style="padding: 0px;padding-bottom: 20px;font-family: Avenir Next, Avenir, Open Sans, Helvetica, Arial, sans-serif;border-top: 1px solid #D9DBDD;-webkit-text-size-adjust: 100%;-ms-text-size-adjust: 100%;mso-table-lspace: 0pt;mso-table-rspace: 0pt;">
|
||||
<table cellspacing="0" cellpadding="0" border="0" width="100%" style="-webkit-text-size-adjust: 100%;-ms-text-size-adjust: 100%;mso-table-lspace: 0pt;mso-table-rspace: 0pt;border-collapse: separate;">
|
||||
<!-- content row-->
|
||||
<tr>
|
||||
<td align="left" bgcolor="#ffffff" style="border-radius: 0 0 3px 3px;padding: 0px 0px;-webkit-text-size-adjust: 100%;-ms-text-size-adjust: 100%;mso-table-lspace: 0pt;mso-table-rspace: 0pt;">
|
||||
<table cellspacing="0" cellpadding="0" border="0" width="100%" style="-webkit-text-size-adjust: 100%;-ms-text-size-adjust: 100%;mso-table-lspace: 0pt;mso-table-rspace: 0pt;border-collapse: separate;">
|
||||
<tr>
|
||||
<td align="center" style="font-family: Open Sans, Helvetica, Arial, sans-serif;padding: 15px 0px;text-align: center;-webkit-text-size-adjust: 100%;-ms-text-size-adjust: 100%;mso-table-lspace: 0pt;mso-table-rspace: 0pt;">
|
||||
<div class="share-links"><div style="box-sizing:border-box;position:relative;">
|
||||
<div style="padding:20px 0px;overflow:hidden;color:#56585B;font-family: Avenir Next,sans-serif;font-weight:600;font-size: 16px;text-transform: uppercase; line-height: 30px;text-align:center;">
|
||||
<a href="http://finimize.us10.list-manage.com/track/click?u=fd92d4d6912bf051aceebbc27&id=65c3de1e36&e=e39741c606" target="_blank" style="width: 51px;height: 47px;vertical-align: bottom;margin: 0px 0;display: inline-block;-webkit-text-size-adjust: 100%;-ms-text-size-adjust: 100%;color: #4EB9E7;"><img src="https://gallery.mailchimp.com/fd92d4d6912bf051aceebbc27/images/1e62efc6-e92b-4c45-8e2c-df3b24036405.png" style="max-width: 100%;width: 100%;padding-bottom: 0;display: inline;vertical-align: bottom;border: 0;height: auto;outline: none;text-decoration: none;-ms-interpolation-mode: bicubic;line-height: 100%;" alt="💙" width="51" border="0" class="mcRssImage"></a>
|
||||
</div>
|
||||
</div></div>
|
||||
<h3 style="font-family: Avenir Next, Avenir, Open Sans, Helvetica, Arial, sans-serif; font-size: 18px; color: #1E2225; font-weight: 700; margin: 0; padding-bottom: 12px;">SHARE FINIMIZE</h3>
|
||||
<p style="color: #56585B; font-size: 16px; line-height: 30px; margin: 0;">
|
||||
Get credit for sharing Finimize with your friends and unlock <em>The Weekly Review</em>, Finimize Swag, and other perks as a Finimize Insider! </p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="center" style="padding: 0px;padding-bottom: 10px;-webkit-text-size-adjust: 100%;-ms-text-size-adjust: 100%;mso-table-lspace: 0pt;mso-table-rspace: 0pt;">
|
||||
<table border="0" cellspacing="0" cellpadding="0" style="-webkit-text-size-adjust: 100%;-ms-text-size-adjust: 100%;mso-table-lspace: 0pt;mso-table-rspace: 0pt;border-collapse: separate;">
|
||||
<tr>
|
||||
<td align="center" style="font-family: Avenir Next,sans-serif;font-weight: 600;font-size: 16px;color: #ffffff !important;text-decoration: none;border-radius: 99px;background-color: #4eb9e7;padding: 0px;border: 1px solid #4eb9e7;display: block;-webkit-text-size-adjust: 100%;-ms-text-size-adjust: 100%;mso-table-lspace: 0pt;mso-table-rspace: 0pt;" bgcolor="#4eb9e7">
|
||||
<a class="bluebutton" href="http://finimize.us10.list-manage2.com/track/click?u=fd92d4d6912bf051aceebbc27&id=4ea7ff5c9a&e=e39741c606" target="_blank" style="font-family: Avenir Next,sans-serif;font-weight: 600;font-size: 14px;color: #ffffff !important;text-decoration: none !important;border-radius: 99px;background-color: #4eb9e7;padding: 14px 24px;border: 1px solid #4eb9e7;display: block;-webkit-text-size-adjust: 100%;-ms-text-size-adjust: 100%;transition: 0.23s linear;"><span style="color:#ffffff;">INVITE FRIENDS, GET REWARDS</span></a>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="-webkit-text-size-adjust: 100%;-ms-text-size-adjust: 100%;mso-table-lspace: 0pt;mso-table-rspace: 0pt;">
|
||||
<a class="nolink" href="http://finimize.us10.list-manage1.com/track/click?u=fd92d4d6912bf051aceebbc27&id=db7cbc10ee&e=e39741c606" style="text-decoration: none !important;outline: none !important;-webkit-text-size-adjust: 100%;-ms-text-size-adjust: 100%;color: #4EB9E7;">
|
||||
<img border="0" width="600" class="img-max mcRssImage" alt="Insider Progress Bar" style="max-width: 100%;width: 100%;padding-bottom: 0;display: inline;vertical-align: bottom;border: 0;height: auto;outline: none;text-decoration: none;-ms-interpolation-mode: bicubic;line-height: 100%;" src="https://gallery.mailchimp.com/fd92d4d6912bf051aceebbc27/images/8ce284cd-a5b9-4339-8b2d-de9e46c2526f.png"></a>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<!--End Share Box --><tr>
|
||||
<td align="center" valign="top" style="padding-top: 20px;padding-bottom: 20px;font-family: Avenir Next, Avenir, Open Sans, Helvetica, Arial, sans-serif;border-top: 1px solid #D9DBDD;-webkit-text-size-adjust: 100%;-ms-text-size-adjust: 100%;mso-table-lspace: 0pt;mso-table-rspace: 0pt;">
|
||||
<table cellspacing="0" cellpadding="0" border="0" width="100%" style="-webkit-text-size-adjust: 100%;-ms-text-size-adjust: 100%;mso-table-lspace: 0pt;mso-table-rspace: 0pt;border-collapse: separate;">
|
||||
<!-- content row-->
|
||||
<tr>
|
||||
<td align="left" bgcolor="#ffffff" style="border-radius: 0 0 3px 3px;padding: 0px 0px;-webkit-text-size-adjust: 100%;-ms-text-size-adjust: 100%;mso-table-lspace: 0pt;mso-table-rspace: 0pt;">
|
||||
<table cellspacing="0" cellpadding="0" border="0" width="100%" style="-webkit-text-size-adjust: 100%;-ms-text-size-adjust: 100%;mso-table-lspace: 0pt;mso-table-rspace: 0pt;border-collapse: separate;">
|
||||
<tr>
|
||||
<td align="center" style="font-family: Open Sans, Helvetica, Arial, sans-serif;padding: 15px 1px;text-align: center;-webkit-text-size-adjust: 100%;-ms-text-size-adjust: 100%;mso-table-lspace: 0pt;mso-table-rspace: 0pt;">
|
||||
<h4 style="font-family: Avenir Next, Avenir, Open Sans, Helvetica, Arial, sans-serif; font-size: 16px; color: #56585B; font-weight: 600; margin: 0; padding-bottom: 12px;">You’re reading the: 🌎 American Edition</h4>
|
||||
<p style="color: #56585B; font-size: 16px; line-height: 30px; margin: 0;">
|
||||
💭 Have some feedback or ideas? <a href="http://finimize.us10.list-manage.com/track/click?u=fd92d4d6912bf051aceebbc27&id=f22af1294c&e=e39741c606" target="_blank" style="color: #4EB9E7 !important;text-decoration: none;-webkit-text-size-adjust: 100%;-ms-text-size-adjust: 100%;" class="hoverlink">Tell Us!</a> </p>
|
||||
<p style="color: #56585B; font-size: 16px; line-height: 30px; margin: 0;">
|
||||
🔧 Want to change your settings? <a href="http://finimize.us10.list-manage.com/profile?u=fd92d4d6912bf051aceebbc27&id=abf5b8a24b&e=e39741c606" target="_blank" style="color: #4EB9E7 !important;text-decoration: none;-webkit-text-size-adjust: 100%;-ms-text-size-adjust: 100%;" class="hoverlink">Change Them</a> </p><p style="color: #56585B; font-size: 16px; line-height: 30px; margin: 0;">
|
||||
🤖 Time travel to the last issue? <a href="http://finimize.us10.list-manage1.com/track/click?u=fd92d4d6912bf051aceebbc27&id=eaf7259d83&e=e39741c606" style="color: #4EB9E7 !important;text-decoration: none;-webkit-text-size-adjust: 100%;-ms-text-size-adjust: 100%;" class="hoverlink">Look Back</a> </p><br>
|
||||
<p style="color: #56585B; font-size: 16px; line-height: 30px; margin: 0;">Email doesn't look right? <a href="http://us10.campaign-archive2.com/?u=fd92d4d6912bf051aceebbc27&id=548d9d57f1&e=e39741c606" style="color: #4EB9E7 !important;text-decoration: none;-webkit-text-size-adjust: 100%;-ms-text-size-adjust: 100%;" class="hoverlink">View It Online</a></p> <p style="color: #818488; font-size: 12px; line-height: 20px; margin: 0;"><br>
|
||||
<a target="_blank" href="http://finimize.us10.list-manage.com/track/click?u=fd92d4d6912bf051aceebbc27&id=5dd1ae69df&e=e39741c606" style="width: 180px;height: 55px;vertical-align: middle;margin: 0px 0;display: inline-block;-webkit-text-size-adjust: 100%;-ms-text-size-adjust: 100%;color: #4EB9E7;" class="na">
|
||||
<img src="https://gallery.mailchimp.com/fd92d4d6912bf051aceebbc27/images/4b2d6915-5e8b-4c10-8e4c-08b40bb88de1.png" border="0" width="180" class="img-max mcRssImage" alt="Get The App Beta" style="max-width: 100%;width: 100%;padding-bottom: 0;display: inline;vertical-align: bottom;border: 0;height: auto;outline: none;text-decoration: none;-ms-interpolation-mode: bicubic;line-height: 100%;">
|
||||
</a>
|
||||
<br><br><em>Image Credits: Giphy.com Gabriele Maltinti / Shutterstock.com </em></p>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
<!--End Settings -->
|
||||
<!--
|
||||
></table></td></tr></table></td></tr></table>></table></td></tr></table></td></tr></table>
|
||||
|
||||
|
||||
|
||||
<!--END RSS -->
|
||||
<!--[if (gte mso 9)|(IE)]>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<![endif]-->
|
||||
</table></td>
|
||||
</tr>
|
||||
<!--Footer-->
|
||||
<tr>
|
||||
<td id="footer" align="center" height="100%" valign="top" width="100%" bgcolor="#1E2225" style="padding: 20px 15px 40px 15px;-webkit-text-size-adjust: 100%;-ms-text-size-adjust: 100%;mso-table-lspace: 0pt;mso-table-rspace: 0pt;">
|
||||
<!--[if (gte mso 9)|(IE)]>
|
||||
<table align="center" border="0" cellspacing="0" cellpadding="0" width="600">
|
||||
<tr>
|
||||
<td align="center" valign="top" width="600">
|
||||
<![endif]-->
|
||||
<table align="center" border="0" cellpadding="0" cellspacing="0" width="100%" style="max-width: 600px;-webkit-text-size-adjust: 100%;-ms-text-size-adjust: 100%;mso-table-lspace: 0pt;mso-table-rspace: 0pt;border-collapse: separate;">
|
||||
<tr>
|
||||
<td align="center" valign="top" style="padding: 0 0 5px 0;-webkit-text-size-adjust: 100%;-ms-text-size-adjust: 100%;mso-table-lspace: 0pt;mso-table-rspace: 0pt;">
|
||||
<!-- <img src="https://gallery.mailchimp.com/fd92d4d6912bf051aceebbc27/images/f8d67519-4124-409c-ad98-c9cc77b98ed3.png" alt="finimize." width="200" height="50" border="0" style="display: block;color:#ffffff;font-family: Avenir Next, Avenir, Open Sans, Helvetica, Arial, sans-serif; font-size: 42px;"> --> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="center" valign="top" style="padding: 0;font-family: Open Sans, Helvetica, Arial, sans-serif;color: #999999;-webkit-text-size-adjust: 100%;-ms-text-size-adjust: 100%;mso-table-lspace: 0pt;mso-table-rspace: 0pt;">
|
||||
<p style="font-size: 14px; line-height: 20px; color: #999999;">
|
||||
<span style="color: #ffffff;"> Friend sent this to you?</span> <a href="http://finimize.us10.list-manage.com/track/click?u=fd92d4d6912bf051aceebbc27&id=43167ae550&e=e39741c606" target="_blank" style="color: #ffffff !important;-webkit-text-size-adjust: 100%;-ms-text-size-adjust: 100%;">Sign up for Finimize here →</a>
|
||||
<br><br>
|
||||
Curious how we pick our stories? <a target="_blank" href="http://finimize.us10.list-manage.com/track/click?u=fd92d4d6912bf051aceebbc27&id=3f27204a9c&e=e39741c606" style="color: #999999;-webkit-text-size-adjust: 100%;-ms-text-size-adjust: 100%;">Read our curation policy</a>.
|
||||
<br><br>
|
||||
|
||||
All content provided by the Finimize Ltd. is for informational and educational purposes only and is not meant to represent trade or investment recommendations.
|
||||
You signed up to this mailing list at <a href="http://finimize.us10.list-manage1.com/track/click?u=fd92d4d6912bf051aceebbc27&id=8142b3a6e0&e=e39741c606" style="color: #999999;-webkit-text-size-adjust: 100%;-ms-text-size-adjust: 100%;">finimize.com</a> or through one of our partners.
|
||||
<br><br>
|
||||
Finimize Ltd. | 6th Floor, <br>2 Grand Canal Square, Dublin, Ireland.
|
||||
<br><br>
|
||||
If you want to unsubscribe from <em>all</em> daily emails, <a href="http://finimize.us10.list-manage.com/unsubscribe?u=fd92d4d6912bf051aceebbc27&id=abf5b8a24b&e=e39741c606&c=548d9d57f1" style="color: #999999;-webkit-text-size-adjust: 100%;-ms-text-size-adjust: 100%;" target="_blank">click here</a> :(
|
||||
|
||||
<br><br> Copyright © 2016 Finimize, All rights reserved.
|
||||
|
||||
|
||||
|
||||
</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="center" style="font-family: Open Sans, Helvetica, Arial, sans-serif;padding: 10px 0px;-webkit-text-size-adjust: 100%;-ms-text-size-adjust: 100%;mso-table-lspace: 0pt;mso-table-rspace: 0pt;">
|
||||
<div class="footer-social-links"><div style="box-sizing:border-box;position:relative;">
|
||||
<div style="padding:0;overflow:hidden;color:#ffffff;font-family: Avenir Next,sans-serif;font-weight:600;font-size: 18px;text-transform: uppercase; line-height: 28px;text-align:center;">
|
||||
<a style="width: 32px;height: 30px;vertical-align: bottom;margin: 0 5px 0;display: inline-block;-webkit-text-size-adjust: 100%;-ms-text-size-adjust: 100%;color: #999999 !important;" href="http://finimize.us10.list-manage2.com/track/click?u=fd92d4d6912bf051aceebbc27&id=bae5979799&e=e39741c606" target="_blank">
|
||||
<img src="https://gallery.mailchimp.com/fd92d4d6912bf051aceebbc27/images/5ea3b68e-917d-439b-b1bd-ddb6fd37b6e6.png" style="display: block;vertical-align: middle;padding-top: 0px;margin: 0 auto !important;-ms-interpolation-mode: bicubic;border: 0;height: auto;line-height: 100%;outline: none;text-decoration: none;" width="32" height="30" alt="Twitter"></a>
|
||||
<a style="width: 32px;height: 30px;vertical-align: bottom;margin: 0 5px 0;display: inline-block;-webkit-text-size-adjust: 100%;-ms-text-size-adjust: 100%;color: #999999 !important;" href="http://finimize.us10.list-manage1.com/track/click?u=fd92d4d6912bf051aceebbc27&id=1cdbb3b4c8&e=e39741c606" target="_blank"><img src="https://gallery.mailchimp.com/fd92d4d6912bf051aceebbc27/images/2ed1e3ad-2682-4e4d-9c5b-18eaaba264db.png" style="display: block;vertical-align: middle;padding-top: 0px;margin: 0px auto 0 !important;-ms-interpolation-mode: bicubic;border: 0;height: auto;line-height: 100%;outline: none;text-decoration: none;" width="32" height="30" alt="Facebook"></a>
|
||||
|
||||
</div>
|
||||
</div></div>
|
||||
|
||||
</td></tr>
|
||||
<tr>
|
||||
<td align="center" style="font-family: Open Sans, Helvetica, Arial, sans-serif;padding: 0px;-webkit-text-size-adjust: 100%;-ms-text-size-adjust: 100%;mso-table-lspace: 0pt;mso-table-rspace: 0pt;"><br>
|
||||
<p style="font-family: Avenir Next, Avenir, Open Sans, Helvetica, Arial, sans-serif; font-size: 14px; color: #999999; font-weight: 700; margin: 0; padding-bottom: 12px;">You stay classy, Christine 😉</p>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<!--[if (gte mso 9)|(IE)]>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<![endif]-->
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
</td></tr></table></td></tr></table><img src="http://finimize.us10.list-manage.com/track/open.php?u=fd92d4d6912bf051aceebbc27&id=548d9d57f1&e=e39741c606" height="1" width="1"></body>
|
||||
</html>
|
1
packages/local-sync/spec/fixtures/MessageFactory/extractSnippet/finimize.txt
vendored
Normal file
1
packages/local-sync/spec/fixtures/MessageFactory/extractSnippet/finimize.txt
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
Finance for our generation . Hi Christine, here's the news you need to know for December 13th . Reading
|
303
packages/local-sync/spec/fixtures/MessageFactory/extractSnippet/fittymi.html
vendored
Normal file
303
packages/local-sync/spec/fixtures/MessageFactory/extractSnippet/fittymi.html
vendored
Normal file
|
@ -0,0 +1,303 @@
|
|||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" dir="ltr">
|
||||
<head>
|
||||
<title>Fitty Mi Supper Club</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<meta name="description" content="Fitty Mi Supper Club Email Forms">
|
||||
<meta name="keywords" content="Fitty Mi Supper Club">
|
||||
|
||||
<style type="text/css">
|
||||
body{
|
||||
font:14px/20px 'Helvetica', Arial, sans-serif;
|
||||
margin:0;
|
||||
padding:75px 0 0 0;
|
||||
text-align:center;
|
||||
-webkit-text-size-adjust:none;
|
||||
}
|
||||
p{
|
||||
padding:0 0 10px 0;
|
||||
}
|
||||
h1 img{
|
||||
max-width:100%;
|
||||
height:auto !important;
|
||||
vertical-align:bottom;
|
||||
}
|
||||
h2{
|
||||
font-size:22px;
|
||||
line-height:28px;
|
||||
margin:0 0 12px 0;
|
||||
}
|
||||
h3{
|
||||
margin:0 0 12px 0;
|
||||
}
|
||||
.headerBar{
|
||||
background:none;
|
||||
padding:0;
|
||||
border:none;
|
||||
}
|
||||
.wrapper{
|
||||
width:600px;
|
||||
margin:0 auto 10px auto;
|
||||
text-align:left;
|
||||
}
|
||||
input.button{
|
||||
border:none !important;
|
||||
}
|
||||
.button{
|
||||
display:inline-block;
|
||||
font-weight:500;
|
||||
font-size:16px;
|
||||
line-height:42px;
|
||||
font-family:'Helvetica', Arial, sans-serif;
|
||||
width:auto;
|
||||
white-space:nowrap;
|
||||
height:42px;
|
||||
margin:12px 5px 12px 0;
|
||||
padding:0 22px;
|
||||
text-decoration:none;
|
||||
text-align:center;
|
||||
cursor:pointer;
|
||||
border:0;
|
||||
border-radius:3px;
|
||||
vertical-align:top;
|
||||
}
|
||||
.button span{
|
||||
display:inline;
|
||||
font-family:'Helvetica', Arial, sans-serif;
|
||||
text-decoration:none;
|
||||
font-weight:500;
|
||||
font-style:normal;
|
||||
font-size:16px;
|
||||
line-height:42px;
|
||||
cursor:pointer;
|
||||
border:none;
|
||||
}
|
||||
.rounded6{
|
||||
border-radius:6px;
|
||||
}
|
||||
.poweredWrapper{
|
||||
padding:20px 0;
|
||||
width:560px;
|
||||
margin:0 auto;
|
||||
}
|
||||
.poweredBy{
|
||||
display:block;
|
||||
}
|
||||
span.or{
|
||||
display:inline-block;
|
||||
height:32px;
|
||||
line-height:32px;
|
||||
padding:0 5px;
|
||||
margin:5px 5px 0 0;
|
||||
}
|
||||
.clear{
|
||||
clear:both;
|
||||
}
|
||||
.profile-list{
|
||||
display:block;
|
||||
margin:15px 20px;
|
||||
padding:0;
|
||||
list-style:none;
|
||||
border-top:1px solid #eee;
|
||||
}
|
||||
.profile-list li{
|
||||
display:block;
|
||||
margin:0;
|
||||
padding:5px 0;
|
||||
border-bottom:1px solid #eee;
|
||||
}
|
||||
html[dir=rtl] .wrapper,html[dir=rtl] .container,html[dir=rtl] label{
|
||||
text-align:right !important;
|
||||
}
|
||||
html[dir=rtl] ul.interestgroup_field label{
|
||||
padding:0;
|
||||
}
|
||||
html[dir=rtl] ul.interestgroup_field input{
|
||||
margin-left:5px;
|
||||
}
|
||||
html[dir=rtl] .hidden-from-view{
|
||||
right:-5000px;
|
||||
left:auto;
|
||||
}
|
||||
body,#bodyTable{
|
||||
background-color:#eeeeee;
|
||||
}
|
||||
h1{
|
||||
font-size:28px;
|
||||
line-height:110%;
|
||||
margin-bottom:30px;
|
||||
margin-top:0;
|
||||
padding:0;
|
||||
}
|
||||
#templateContainer{
|
||||
background-color:none;
|
||||
}
|
||||
#templateBody{
|
||||
background-color:#ffffff;
|
||||
}
|
||||
.bodyContent{
|
||||
line-height:150%;
|
||||
font-family:Helvetica;
|
||||
font-size:14px;
|
||||
color:#333333;
|
||||
padding:20px;
|
||||
}
|
||||
a:link,a:active,a:visited,a{
|
||||
color:#336699;
|
||||
}
|
||||
.button:link,.button:active,.button:visited,.button,.button span{
|
||||
background-color:#5d5d5d !important;
|
||||
color:#ffffff !important;
|
||||
}
|
||||
.button:hover{
|
||||
background-color:#444444 !important;
|
||||
color:#ffffff !important;
|
||||
}
|
||||
label{
|
||||
line-height:150%;
|
||||
font-family:Helvetica;
|
||||
font-size:16px;
|
||||
color:#5d5d5d;
|
||||
}
|
||||
.field-group input,select,textarea,.dijitInputField{
|
||||
font-family:Helvetica;
|
||||
color:#5d5d5d !important;
|
||||
}
|
||||
.asterisk{
|
||||
color:#cc6600;
|
||||
font-size:20px;
|
||||
}
|
||||
label .asterisk{
|
||||
visibility:hidden;
|
||||
}
|
||||
.indicates-required{
|
||||
display:none;
|
||||
}
|
||||
.field-help{
|
||||
color:#777;
|
||||
}
|
||||
.error,.errorText{
|
||||
color:#e85c41;
|
||||
font-weight:bold;
|
||||
}
|
||||
@media (max-width: 620px){
|
||||
body{
|
||||
width:100%;
|
||||
-webkit-font-smoothing:antialiased;
|
||||
padding:10px 0 0 0 !important;
|
||||
min-width:300px !important;
|
||||
}
|
||||
|
||||
} @media (max-width: 620px){
|
||||
.wrapper,.poweredWrapper{
|
||||
width:auto !important;
|
||||
max-width:600px !important;
|
||||
padding:0 10px;
|
||||
}
|
||||
|
||||
} @media (max-width: 620px){
|
||||
#templateContainer,#templateBody,#templateContainer table{
|
||||
width:100% !important;
|
||||
-moz-box-sizing:border-box;
|
||||
-webkit-box-sizing:border-box;
|
||||
box-sizing:border-box;
|
||||
}
|
||||
|
||||
} @media (max-width: 620px){
|
||||
.addressfield span{
|
||||
width:auto;
|
||||
float:none;
|
||||
padding-right:0;
|
||||
}
|
||||
|
||||
} @media (max-width: 620px){
|
||||
.captcha{
|
||||
width:auto;
|
||||
float:none;
|
||||
}
|
||||
|
||||
}</style></head>
|
||||
<body leftmargin="0" marginwidth="0" topmargin="0" marginheight="0" offset="0" style="font: 14px/20px 'Helvetica', Arial, sans-serif;margin: 0;padding: 75px 0 0 0;text-align: center;-webkit-text-size-adjust: none;background-color: #eeeeee;">
|
||||
<center>
|
||||
<table border="0" cellpadding="20" cellspacing="0" height="100%" width="100%" id="bodyTable" style="background-color: #eeeeee;">
|
||||
<tr>
|
||||
<td align="center" valign="top">
|
||||
<!-- // BEGIN CONTAINER -->
|
||||
<table border="0" cellpadding="0" cellspacing="0" width="600" id="templateContainer" class="rounded6" style="border-radius: 6px;background-color: none;">
|
||||
<tr>
|
||||
<td align="center" valign="top">
|
||||
<!-- // BEGIN HEADER -->
|
||||
<table border="0" cellpadding="0" cellspacing="0" width="600">
|
||||
<tr>
|
||||
<td>
|
||||
<h1 style="font-size: 28px;line-height: 110%;margin-bottom: 30px;margin-top: 0;padding: 0;">Fitty Mi Supper Club</h1>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<!-- END HEADER \\ -->
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="center" valign="top">
|
||||
<!-- // BEGIN BODY -->
|
||||
<table border="0" cellpadding="0" cellspacing="0" width="600" id="templateBody" class="rounded6" style="border-radius: 6px;background-color: #ffffff;">
|
||||
<tr>
|
||||
|
||||
<td align="left" valign="top" class="bodyContent" style="line-height: 150%;font-family: Helvetica;font-size: 14px;color: #333333;padding: 20px;">
|
||||
|
||||
<h2 style="font-size: 22px;line-height: 28px;margin: 0 0 12px 0;">Please Confirm Subscription
|
||||
</h2>
|
||||
<a class="button" href="https://fittymi.us14.list-manage.com/subscribe/confirm?u=883f8d639a9edbf20eb81e6f3&id=2de489bfe5&e=81ac72d108" style="color: #ffffff !important;display: inline-block;font-weight: 500;font-size: 16px;line-height: 42px;font-family: 'Helvetica', Arial, sans-serif;width: auto;white-space: nowrap;height: 42px;margin: 12px 5px 12px 0;padding: 0 22px;text-decoration: none;text-align: center;cursor: pointer;border: 0;border-radius: 3px;vertical-align: top;background-color: #5d5d5d !important;"><span style="display: inline;font-family: 'Helvetica', Arial, sans-serif;text-decoration: none;font-weight: 500;font-style: normal;font-size: 16px;line-height: 42px;cursor: pointer;border: none;background-color: #5d5d5d !important;color: #ffffff !important;">Yes, subscribe me to this list.</span></a>
|
||||
<br>
|
||||
<div><p style="padding: 0 0 10px 0;">If you received this email by mistake, simply delete it. You won't be subscribed if you don't click the confirmation link above.</p>
|
||||
<p style="padding: 0 0 10px 0;">For questions about this list, please contact:
|
||||
<br><a href="mailto:mark@fittymi.com" style="color: #336699;">mark@fittymi.com</a></p>
|
||||
</div>
|
||||
|
||||
|
||||
<span itemscope itemtype="http://schema.org/EmailMessage">
|
||||
<span itemprop="description" content="We need to confirm your email address."></span>
|
||||
<span itemprop="action" itemscope itemtype="http://schema.org/ConfirmAction">
|
||||
<meta itemprop="name" content="Confirm Subscription">
|
||||
<span itemprop="handler" itemscope itemtype="http://schema.org/HttpActionHandler">
|
||||
<meta itemprop="url" content="https://fittymi.us14.list-manage.com/subscribe/smartmail-confirm?u=883f8d639a9edbf20eb81e6f3&id=2de489bfe5&e=81ac72d108&inline=true">
|
||||
<link itemprop="method" href="http://schema.org/HttpRequestMethod/POST">
|
||||
</span>
|
||||
</span>
|
||||
</span>
|
||||
|
||||
|
||||
</td>
|
||||
|
||||
</tr>
|
||||
</table>
|
||||
<!-- END BODY \\ -->
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="center" valign="top">
|
||||
<!-- // BEGIN FOOTER -->
|
||||
<table border="0" cellpadding="20" cellspacing="0" width="600">
|
||||
<tr>
|
||||
<td align="center" valign="top">
|
||||
|
||||
<div>
|
||||
<span class="poweredBy" style="display: block;"><a href="http://www.mailchimp.com/monkey-rewards/?utm_source=freemium_newsletter&utm_medium=email&utm_campaign=monkey_rewards&aid=883f8d639a9edbf20eb81e6f3&afl=1" style="color: #336699;"><img src="https://cdn-images.mailchimp.com/monkey_rewards/MC_MonkeyReward_15.png" border="0" alt="Email Marketing Powered by MailChimp" title="MailChimp Email Marketing" width="139" height="54"></a></span>
|
||||
</div>
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<!-- END FOOTER \\ -->
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<!-- END CONTAINER \\ -->
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</center>
|
||||
</body>
|
||||
</html>
|
||||
|
1
packages/local-sync/spec/fixtures/MessageFactory/extractSnippet/fittymi.txt
vendored
Normal file
1
packages/local-sync/spec/fixtures/MessageFactory/extractSnippet/fittymi.txt
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
Fitty Mi Supper Club Please Confirm Subscription Yes, subscribe me to this list. If you received this
|
1356
packages/local-sync/spec/fixtures/MessageFactory/extractSnippet/mit_events.html
vendored
Normal file
1356
packages/local-sync/spec/fixtures/MessageFactory/extractSnippet/mit_events.html
vendored
Normal file
File diff suppressed because it is too large
Load diff
1
packages/local-sync/spec/fixtures/MessageFactory/extractSnippet/mit_events.txt
vendored
Normal file
1
packages/local-sync/spec/fixtures/MessageFactory/extractSnippet/mit_events.txt
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
Upcoming Events December 07, 2016 | 5:00pm Jacob Collier The Creative Process of Jacob Collier This lecture
|
460
packages/local-sync/spec/fixtures/MessageFactory/extractSnippet/personal_capital.html
vendored
Normal file
460
packages/local-sync/spec/fixtures/MessageFactory/extractSnippet/personal_capital.html
vendored
Normal file
|
@ -0,0 +1,460 @@
|
|||
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
|
||||
<title>Personal Capital</title>
|
||||
<style>
|
||||
|
||||
body {margin:0; padding:0; -webkit-text-size-adjust:none; -ms-text-size-adjust:none;} img{line-height:100%; outline:none; text-decoration:none; -ms-interpolation-mode: bicubic;} a img{border: none;} #backgroundTable {margin:0; padding:0; width:100% !important; } a, a:link{color:#2A5DB0; text-decoration: underline;} table td {border-collapse:collapse;} span {color: inherit; border-bottom: none;} span:hover { background-color: transparent; }
|
||||
|
||||
@media only screen{td[class=body] img{max-width:100% !important;height:auto !important}td[class=body] .blockquote .blockquote-inner{padding:0 0 15px 0 !important;margin-top:-40px;display:block}td[class=body] .blockquote.person{padding:30px 20px 20px !important}td[class=body] .blockquote div{width:58px;height:58px;overflow:hidden;border-radius:50%}td[class=body] .blockquote div img{min-width:92px !important;margin:-17px}td[class=body] .blockquote .title{padding:0 0 2px 10px !important}td[class=body] .blockquote .quote{padding:0 !important}}@media only screen and (max-width: 690px){td[class=body] .blockquote{padding:0 20px}td[class=body] .spacer{display:none}}@media only screen and (max-width: 500px){td[class=body]
|
||||
.col{display:block;width:100%;text-align:left;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;box-sizing:border-box}td[class=body] .reverse-col-a{display:table-footer-group}td[class=body] .reverse-col-b{display:table-header-group}td[class=body] .footer .reverse-col-b img{margin:-27px auto 20px !important}td[class=body] .footer .col{text-align:center}td[class=body] .hero{background-size:100% auto}td[class=body] .hero-1,td[class=body] .hero-2,td[class=body] .hero-3{height:auto !important}td[class=body] .hero-1 .col:first-child,td[class=body] .hero-2 .col:first-child,td[class=body] .hero-3 .col:first-child{margin-bottom:25px}td[class=body] .hero-1 .col:first-child td,td[class=body] .hero-2 .col:first-child td,td[class=body] .hero-3 .col:first-child td{padding:0 25px
|
||||
!important}td[class=body] .hero-2 .content-wrapper{display:block;width:100%;height:auto !important;padding:30px 0}td[class=body] .hero-2 .content-wrapper td{padding-left:25px !important;padding-right:25px !important}td[class=body] .hero-3 .col:first-child td,td[class=body] .hero-3 .col td{padding:0 !important}td[class=body] .blockquote.person{display:block;padding-bottom:20px !important;margin:0 20px}td[class=body] .icon-copy{padding:26px 32px !important}td[class=body] .icon-copy img{margin:0 auto;width:auto !important}td[class=body] .icon-copy .col:first-child{margin-bottom:20px}td[class=body] .img-copy .col td,td[class=body] .img-copy .reverse-col-a td,td[class=body] .img-copy .reverse-col-b td{padding-right:0 !important}td[class=body] .img-copy .hero-img{margin:0 auto}td[class=body]
|
||||
.img-copy .hero-img td{padding-left:0 !important}td[class=body] .img-copy .reverse-col-b .hero-img{margin-bottom:20px}td[class=body] .article td{padding:30px 25px 0 !important}td[class=body] .callout{padding:35px 25px 40px !important}td[class=body] .callout .col:first-child{margin-bottom:25px}}@media only screen and (max-width: 500px) and (max-width: 350px){td[class=body] .hero{background-size:auto 100%}}
|
||||
</style>
|
||||
</head><body style="background: #f1f1f1;font-family:Arial, Helvetica, sans-serif; font-size:1em;">
|
||||
|
||||
|
||||
<table id="backgroundTable" width="100%" cellspacing="0" cellpadding="0" border="0" style="background:#f1f1f1;">
|
||||
<tr>
|
||||
<td class="body" align="center" valign="top" style="background:#3b3b3b; padding: 0 25px;" width="100%">
|
||||
<table cellpadding="0" cellspacing="0">
|
||||
<tr>
|
||||
<td class="header" width="650" style="padding: 12px 0;">
|
||||
<table cellpadding="0" cellspacing="0">
|
||||
<tr>
|
||||
<td width="475" align="left">
|
||||
<a href="http://click.email.personalcapital.com/?qs=5e2e9ec62f5a619453c81d9858ed0c4bc0f0c96a61d957d60db6891db41d501a6a9b9ca79c29c1df"><img src="http://image.email.personalcapital.com/lib/fe92127274650d7c7c/m/1/pc_template_03.gif" alt="Personal Capital" style="display: block; border: 0;" /></a>
|
||||
</td>
|
||||
<td width="175" align="right">
|
||||
<table cellpadding="0" cellspacing="0">
|
||||
<tr>
|
||||
<td style="font-family: helvetica,arial,sans-serif; font-size: 14px; font-weight: bold; border: 1px solid #666666; border-radius: 6px;">
|
||||
<a href="http://click.email.personalcapital.com/?qs=70fbcba67c989d8e817eb925144b7577d80a1abeceaf0e574ad2440f255b92a68778a149eacf072d" style="color: #fff; text-decoration: none; display: inline-block; border-color: #3b3b3b; border-style: solid; border-top-width: 5px; border-bottom-width: 5px; border-left-width: 10px; border-right-width: 10px; border-radius: 10px;">
|
||||
Sign In
|
||||
</a>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="body" align="center" valign="top" style="background:#fafafa;" width="100%">
|
||||
<table cellpadding="0" cellspacing="0" width="100%" align="center">
|
||||
<tr>
|
||||
<td align="center">
|
||||
<table cellpadding="0" cellspacing="0" border="0" bordercolor="" width="100%" bgcolor=""><tr><td><table width="100%" bgcolor="" border="0" bordercolor="" cellpadding="0" cellspacing="0"><tr><td style="font-family:Arial; font-size:13px"><table cellpadding="0" cellspacing="0" width="100%" align="center">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td align="center" valign="top" style="background-color: #000000;" width="100%">
|
||||
<table cellpadding="0" cellspacing="0">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class="hero hero-3" width="650" align="center" valign="bottom">
|
||||
<table cellpadding="0" cellspacing="0">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td align="center" style="padding: 30px 35px; background-color: rgba(0, 0, 0, 0.74902);">
|
||||
<table cellpadding="0" cellspacing="0">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class="col" width="369" align="left">
|
||||
<table cellpadding="0" cellspacing="0">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td align="left" style="font-family: helvetica, arial, sans-serif; font-size: 24px; color: #ffffff; padding: 0px 30px 0px 0px; line-height: 32px !important;">
|
||||
Your November Statement is Ready to View</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</td>
|
||||
<td class="spacer" width="1" valign="middle">
|
||||
<img src="http://image.email.personalcapital.com/lib/fe92127274650d7c7c/m/1/pc_template_02.png" alt="" style="display: block; border: 0px;" />
|
||||
</td>
|
||||
<td class="col" width="210" align="right">
|
||||
<table cellpadding="0" cellspacing="0">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td align="right" style="font-family: helvetica, arial, sans-serif; font-size: 18px; color: #ffffff; padding: 0px 0px 0px 25px;">
|
||||
<a href="http://click.email.personalcapital.com/?qs=5e2e9ec62f5a619408334c8b3ace99afbdd5ac855166e055844039fc27920a4386676a56a34c377f" style="text-decoration: none; color: #ffffff; border-color: #3b8fe1; border-style: solid; border-width: 10px 28px; border-radius: 4px; display: inline-block; background-color: #3b8fe1;">Get Report</a>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table></td></tr></table></td></tr></table>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="center">
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="center">
|
||||
<table cellpadding="0" cellspacing="0" border="0" bordercolor="" width="100%" bgcolor=""><tr><td><table width="100%" bgcolor="" border="0" bordercolor="" cellpadding="0" cellspacing="0"><tr><td style="font-family:Arial; font-size:13px"><table cellpadding="0" cellspacing="0" class="dashedBorder" align="center">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class="article" width="650" align="left">
|
||||
<table cellpadding="0" cellspacing="0">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td align="left" style="font-family: helvetica, arial, sans-serif; font-size: 16px; color: #4c4c4c; padding: 30px 35px 0px; line-height: 24px !important;"><i>
|
||||
We are pleased to deliver your November month-end snapshot report. By clicking on the button above, you can view, download, or print your current November month-end report and previous month-end reports. If you'd like to discuss the report or any other financial planning topics, please schedule some time <a href="http://click.email.personalcapital.com/?qs=70fbcba67c989d8eec0451d6dbbc18d9c10f0b733f4221f26f13c251d4e5033c51c4fb9077c74de8" target="_blank" style="color: #3b8fe1; text-decoration: none;">directly on my calendar</a>.
|
||||
</i>
|
||||
<br />
|
||||
<br />
|
||||
<strong>November Recap</strong>
|
||||
<br />
|
||||
<br />
|
||||
Donald Trump won the US presidential election, surprising most analysts. Stocks initially fell in November before quickly rebounding on hopes that Trump's policies will boost the economy. US stocks finished the month with solid gains, but all other major asset classes lost value.
|
||||
<br />
|
||||
<br />
|
||||
With one month to go in 2016, US stocks are now in prime position to extend their reign of asset class domination. US stocks have been either the best or second best performing asset class in six of the past seven years. Historically, streaks of this magnitude and duration by either US or International Stocks are not uncommon, but they never last forever. In our view, the longer this trend lasts, the more attractive a diversified approach with periodic rebalancing becomes on a forward-looking basis.
|
||||
<br />
|
||||
<br />
|
||||
Solid US economic growth data this month leaves the Fed squarely on track to raise interest rates in December. The short-term impact has been a boost to the dollar, which has been one factor in recent US stock leadership. This environment also puts pressure on bonds, with the Barclays Global Aggregate Bond Index suffering its worst monthly loss since its inception in 1990. Bonds in our managed portfolios held up better than the major aggregate indexes. TIPS, high yield corporate bonds and a modestly lower effective duration all helped.
|
||||
<br />
|
||||
<br />
|
||||
Based on current economic data, we expect the Fed to raise rates this month, and more than likely rates will be raised at least twice in 2017. However, as long as the hikes remain spaced out and in small denominations, they shouldn't derail economic growth and will create only minor headwinds for stocks and bonds.
|
||||
<br />
|
||||
<br />
|
||||
Diversified Personal Capital managed accounts performed well compared to most globally diversified approaches in November. Within US stocks, small cap exposure helped our more evenly weighted US equity approach to modestly outperform major capitalization weighted indexes in most portfolios.
|
||||
<br />
|
||||
<br />
|
||||
As always, let me know if there is anything we can do or if you have any questions.
|
||||
<br />
|
||||
<br />
|
||||
Greg
|
||||
<br />
|
||||
<br />
|
||||
<p>
|
||||
</p>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table></td></tr></table></td></tr></table>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="center">
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="center">
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="center">
|
||||
<table width="100%" align="center" cellspacing="0" cellpadding="0" class="dashedBorder">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td style="padding-top: 15px;"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="100%" valign="top" align="center" style="background-color: #3b8fe1;">
|
||||
<table cellspacing="0" cellpadding="0">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td width="650">
|
||||
<table cellspacing="0" cellpadding="0">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class="callout" style="padding: 60px 25px 60px;">
|
||||
<!-- Service Advisor -->
|
||||
<table cellspacing="0" cellpadding="0">
|
||||
<tbody>
|
||||
<tr>
|
||||
<!-- Advisor 2 Left Col -->
|
||||
<td width="120" align="left" class="col" style="padding: 30px;">
|
||||
<img alt="Greg DePalma" src="https://d1q4amq3lgzrzf.cloudfront.net/advisor/images/005F00000045DtMIAU.jpg" />
|
||||
</td>
|
||||
<!-- Advisor 2 Right Col -->
|
||||
<td width="530" align="left" class="col">
|
||||
<table cellspacing="0" cellpadding="0">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td align="left" style="font-family: helvetica,arial,sans-serif; font-size: 16px; color: #ffffff; font-weight: 100;">
|
||||
Your Advisor
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="left" style="font-family: helvetica,arial,sans-serif; font-size: 36px; color: #ffffff; padding-bottom: 10px; font-weight: 100;">
|
||||
Greg DePalma
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="left" style="font-family: helvetica,arial,sans-serif; font-size: 16px; color: #ffffff; font-weight: 100; line-height: 20px;">
|
||||
Call: 855-855-8143<br />
|
||||
Email: <a style="color: #ffffff; text-decoration: underline;" href="mailto:gregory.depalma@personalcapital.com">gregory.depalma@personalcapital.com</a><br />
|
||||
|
||||
<a style="color: #ffffff; text-decoration: underline;" href="http://click.email.personalcapital.com/?qs=70fbcba67c989d8eec0451d6dbbc18d9c10f0b733f4221f26f13c251d4e5033c51c4fb9077c74de8">Schedule a call with Greg</a>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
|
||||
<table cellspacing="0" cellpadding="0">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class="callout" style="padding: 30px 25px 30px;">
|
||||
<!-- Advisor -->
|
||||
<table cellspacing="0" cellpadding="0">
|
||||
<tbody>
|
||||
<tr>
|
||||
<!-- Advisor 1 Left Col -->
|
||||
<td width="120" align="left" class="col" style="padding: 30px;">
|
||||
<img alt="Garrett Gunberg" src="https://home.personalcapital.com/advisor/images/005F0000001EF0oIAG.jpg" />
|
||||
</td>
|
||||
<td width="530" align="left" class="col">
|
||||
<!-- Advisor 1 Right Col -->
|
||||
<table cellspacing="0" cellpadding="0">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td align="left" style="font-family: helvetica,arial,sans-serif; font-size: 16px; color: #ffffff; font-weight: 100;">
|
||||
Your Advisor
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="left" style="font-family: helvetica,arial,sans-serif; font-size: 36px; color: #ffffff; padding-bottom: 10px; font-weight: 100;">
|
||||
Garrett Gunberg
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="left" style="font-family: helvetica,arial,sans-serif; font-size: 16px; color: #ffffff; font-weight: 100; line-height: 20px;">
|
||||
Call: 855-855-7974<br />
|
||||
Email: <a style="color: #ffffff; text-decoration: underline;" href="mailto:garrett.gunberg@personalcapital.com">garrett.gunberg@personalcapital.com</a><br />
|
||||
|
||||
<a style="color: #ffffff; text-decoration: underline;" href="http://click.email.personalcapital.com/?qs=70fbcba67c989d8eafcc2999101e78ce966aabaf92646bffd802534a7027a7b54fb902f71d4109d1">Schedule a call with Garrett</a>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="center">
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="center">
|
||||
|
||||
<table cellpadding="0" cellspacing="0" class="dashedBorder" align="center">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td width="650" align="center">
|
||||
<table cellpadding="0" cellspacing="0">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td align="center" style="font-family: helvetica, arial, sans-serif; font-size: 36px; color: #000001; padding: 30px 25px 0px;">
|
||||
$3 Billion
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="center" style="font-family: helvetica, arial, sans-serif; font-size: 23px; color: #4c4c4c; padding: 8px 25px 0px;">
|
||||
In Assets Under Management
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="center" style="font-family: helvetica, arial, sans-serif; font-size: 16px; color: #4c4c4c; padding: 12px 25px 0px; line-height: 24px !important;">
|
||||
Hundreds of thousands of families across the country are using Personal Capital to manage their money. We now manage over $3 billion in assets as an
|
||||
investment advisor, helping many of these families<br/>
|
||||
reach their long-term financial goals. <br/>
|
||||
<br />
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="center">
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="center">
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="center">
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="center">
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="body" align="center" valign="top" style="background:#fafafa;" width="100%">
|
||||
<table cellpadding="0" cellspacing="0">
|
||||
<tr>
|
||||
<td width="650" align="center" style="padding: 30px 0 40px;">
|
||||
<img src="" alt="" style="display: block; border: 0;" />
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="body" align="center" valign="top" style="background:#f1f1f1; padding: 0 20px; border-bottom: 10px solid #3b3b3b;" width="100%">
|
||||
<table cellpadding="0" cellspacing="0">
|
||||
<tr>
|
||||
<td class="footer" width="650" align="center" style="padding: 20px 0;">
|
||||
<table cellpadding="0" cellspacing="0">
|
||||
<tr>
|
||||
<td class="reverse-col-a" width="300" align="left" valign="bottom">
|
||||
<table cellpadding="0" cellspacing="0">
|
||||
<tr>
|
||||
<td align="left" style="padding: 0 0 15px;">
|
||||
<a href="http://click.email.personalcapital.com/?qs=5e2e9ec62f5a619453c81d9858ed0c4bc0f0c96a61d957d60db6891db41d501a6a9b9ca79c29c1df"><img src="http://image.email.personalcapital.com/lib/fe92127274650d7c7c/m/1/pc_template_09.gif" alt="Personal Capital" style="display: block; border: 0;" /></a>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="left" style="font-family: helvetica,arial,sans-serif; font-size: 12px; line-height: 22px !important; color: #999999;">
|
||||
Personal Capital is the smart way for you to understand, manage and grow your net worth.
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
<td class="reverse-col-b" width="350" align="right" valign="top">
|
||||
<img src="http://image.email.personalcapital.com/lib/fe92127274650d7c7c/m/1/MultiDeviceForTemplate1.png" alt="" style="display: block; border: 0; margin-top: -27px;" />
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<table cellpadding="0" cellspacing="0" width="100%">
|
||||
<tr>
|
||||
<td height="1" valign="middle" style="padding: 20px 0;">
|
||||
<div style="width: 100%; height: 1px; background: #d5d5d5; font-size: 0;"> </div>
|
||||
</td>
|
||||
<td width="150" align="center" style="padding: 20px 0;">
|
||||
<table cellpadding="0" cellspacing="0">
|
||||
<tr>
|
||||
<td style="padding: 0 3px;">
|
||||
<a href="http://click.email.personalcapital.com/?qs=5e2e9ec62f5a619467bdabdc8f81d85368f4d5b20b96ce558c7078bbf252a685afbb0b6db2c884f8"><img src="http://image.email.personalcapital.com/lib/fe92127274650d7c7c/m/1/pc_template_11.gif" alt="Facebook" style="display: block; border: 0;" /></a>
|
||||
</td>
|
||||
<td style="padding: 0 3px;">
|
||||
<a href="http://click.email.personalcapital.com/?qs=5e2e9ec62f5a6194ec23b3d52c308fcf8efc8084d080381decbbf66166d32468b89241bbf93bc29a"><img src="http://image.email.personalcapital.com/lib/fe92127274650d7c7c/m/1/pc_template_13.gif" alt="Twitter" style="display: block; border: 0;" /></a>
|
||||
</td>
|
||||
|
||||
<td style="padding: 0 3px;">
|
||||
<a href="http://click.email.personalcapital.com/?qs=5e2e9ec62f5a6194837f85f63b98f53d9c160ebb438009c1829a4f980db8ebc8f1974d2d5bc06ae0"><img src="http://image.email.personalcapital.com/lib/fe92127274650d7c7c/m/1/pc_template_17.gif" alt="LinkedIn" style="display: block; border: 0;" /></a>
|
||||
</td>
|
||||
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
<td height="1" valign="middle" style="padding: 20px 0;">
|
||||
<div style="width: 100%; height: 1px; background: #d5d5d5; font-size: 0;"> </div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<table cellpadding="0" cellspacing="0" width="100%" style="border-bottom:solid 1px #ccc;padding-bottom:20px;">
|
||||
<tr>
|
||||
<td class="col" width="33.33%" align="center" valign="top" style="padding: 15px 7px; font-family: helvetica,arial,sans-serif; font-size: 12px; line-height: 22px !important; color: #999999;">
|
||||
<strong>Silicon Valley</strong><br />
|
||||
1 Circle Star Way, Suite 189<br />
|
||||
San Carlos, California 94070
|
||||
</td>
|
||||
<td class="col" width="33.33%" align="center" valign="top" style="padding: 15px 7px; font-family: helvetica,arial,sans-serif; font-size: 12px; line-height: 22px !important; color: #999999;">
|
||||
<strong>San Francisco</strong><br />
|
||||
500 Howard Street, Suite 400<br />
|
||||
San Francisco, California 94105
|
||||
</td>
|
||||
<td class="col" width="33.33%" align="center" valign="top" style="padding: 15px 7px; font-family: helvetica,arial,sans-serif; font-size: 12px; line-height: 22px !important; color: #999999;">
|
||||
<strong>Denver</strong><br />
|
||||
999 18th Street, Suite 800s<br />
|
||||
Denver, Colorado 80202
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<p style="color:#999;font-family:Helvetica,Arial,sans-serif;font-size:10px;margin-top:20px;">
|
||||
Too much email? <a href="http://click.email.personalcapital.com/profile_center.aspx?qs=f5a10185ba21f8d4dc8e57a5cf3fe0d3ef10d88be8ccc5a37aa9b725547c494d6bf17b75e3bf3f9007562116d1fbb52fa922d53ae2cb4db3762c53825893aca7" target="_blank" style="color:#3b8fe1;">Change your preferences</a> or <a href="http://click.email.personalcapital.com/unsub_center.aspx?qs=f5a10185ba21f8d489281ffd4bcc66c51cf05099b8669555bdb8b63ed4b9b28d30b21c8ff8adb25cac589d49d3a475aac0bef732923b4003cdc4940460c34ceb" target="_blank" style="color:#3b8fe1;">unsubscribe</a>
|
||||
</p>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<div style="display:none; white-space:nowrap; font:15px courier; line-height:0;">
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
<!-- Exact Target tracking code -->
|
||||
<img src="http://click.email.personalcapital.com/open.aspx?ffcb10-fe9d16797765047f77-fe3217707162047e711677-fe92127274650d7c7c-fec8167072610575-fe5b10747c6c077d7611-ff991072" width="1" height="1">
|
||||
|
||||
|
||||
<!--
|
||||
X-Return-Path: bounce-207518_HTML-44983035-2921022-6211919-42@bounce.email.personalcapital.com
|
||||
-->
|
||||
</body></html>
|
||||
|
1
packages/local-sync/spec/fixtures/MessageFactory/extractSnippet/personal_capital.txt
vendored
Normal file
1
packages/local-sync/spec/fixtures/MessageFactory/extractSnippet/personal_capital.txt
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
Sign In Your November Statement is Ready to View Get Report We are pleased to deliver your November month-end
|
|
@ -13,6 +13,17 @@ function forEachJSONFixture(relativePath, callback) {
|
|||
});
|
||||
}
|
||||
|
||||
function forEachHTMLAndTXTFixture(relativePath, callback) {
|
||||
const fixturesDir = path.join(FIXTURES_PATH, relativePath);
|
||||
const filenames = fs.readdirSync(fixturesDir).filter(f => f.endsWith('.html'));
|
||||
filenames.forEach((filename) => {
|
||||
const html = fs.readFileSync(path.join(fixturesDir, filename)).toString();
|
||||
const basename = path.parse(filename).name;
|
||||
const txt = fs.readFileSync(path.join(fixturesDir, `${basename}.txt`)).toString().replace(/\n$/, '');
|
||||
callback(filename, html, txt);
|
||||
});
|
||||
}
|
||||
|
||||
const silentLogger = {
|
||||
info: () => {},
|
||||
warn: () => {},
|
||||
|
@ -25,4 +36,5 @@ module.exports = {
|
|||
ACCOUNT_ID,
|
||||
silentLogger,
|
||||
forEachJSONFixture,
|
||||
forEachHTMLAndTXTFixture,
|
||||
}
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
const LocalDatabaseConnector = require('../src/shared/local-database-connector');
|
||||
const {parseFromImap} = require('../src/shared/message-factory');
|
||||
const {forEachJSONFixture, ACCOUNT_ID} = require('./helpers');
|
||||
const {parseFromImap, extractSnippet} = require('../src/shared/message-factory');
|
||||
const {forEachJSONFixture, forEachHTMLAndTXTFixture, ACCOUNT_ID} = require('./helpers');
|
||||
|
||||
describe('MessageFactory', function MessageFactorySpecs() {
|
||||
beforeEach(() => {
|
||||
|
@ -42,3 +42,55 @@ describe('MessageFactory', function MessageFactorySpecs() {
|
|||
})
|
||||
});
|
||||
});
|
||||
|
||||
const snippetTestCases = [{
|
||||
purpose: 'trim whitespace in basic plaintext',
|
||||
plainBody: 'The quick brown fox\n\n\tjumps over the lazy',
|
||||
htmlBody: null,
|
||||
snippet: 'The quick brown fox jumps over the lazy',
|
||||
}, {
|
||||
purpose: 'truncate long plaintext without breaking words',
|
||||
plainBody: 'The quick brown fox jumps over the lazy dog and then the lazy dog rolls over and sighs. The fox turns around in a circle and then jumps onto a bush! It grins wickedly and wags its fat tail. As the lazy dog puts its head on its paws and cracks a sleepy eye open, a slow grin forms on its face. The fox has fallen into the bush and is yelping and squeaking.',
|
||||
htmlBody: null,
|
||||
snippet: 'The quick brown fox jumps over the lazy dog and then the lazy dog rolls over and sighs. The fox turns',
|
||||
}, {
|
||||
purpose: 'prefer HTML to plaintext, and process basic HTML correctly',
|
||||
plainBody: 'This email would look TOTES AMAZING if your silly mail client supported HTML.',
|
||||
htmlBody: '<html><title>All About Ponies</title><h1>PONIES AND RAINBOWS AND UNICORNS</h1><p>Unicorns are native to the hillsides of Flatagonia.</p></html>',
|
||||
snippet: 'PONIES AND RAINBOWS AND UNICORNS Unicorns are native to the hillsides of Flatagonia.',
|
||||
}, {
|
||||
purpose: 'properly strip rogue styling inside of <body> and trim whitespace in HTML',
|
||||
plainBody: null,
|
||||
htmlBody: '<html>\n <head></head>\n <body>\n <style>\n body { width: 100% !important; min-width: 100%; -webkit-font-smoothing: antialiased; -webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%; margin: 0; padding: 0; background: #fafafa;\n </style>\n <p>Look ma, no CSS!</p></body></html>',
|
||||
snippet: 'Look ma, no CSS!',
|
||||
}, {
|
||||
purpose: 'properly process <br/> and <div/>',
|
||||
plainBody: null,
|
||||
htmlBody: '<p>Unicorns are <div>native</div>to the<br/>hillsides of<br/>Flatagonia.</p>',
|
||||
snippet: 'Unicorns are native to the hillsides of Flatagonia.',
|
||||
}, {
|
||||
purpose: 'properly strip out HTML comments',
|
||||
plainBody: null,
|
||||
htmlBody: '<p>Unicorns are<!-- an HTML comment! -->native to the</p>',
|
||||
snippet: 'Unicorns are native to the',
|
||||
},
|
||||
]
|
||||
|
||||
describe('MessageFactoryHelpers', function MessageFactoryHelperSpecs() {
|
||||
describe('extractSnippet (basic)', () => {
|
||||
snippetTestCases.forEach(({purpose, plainBody, htmlBody, snippet}) => {
|
||||
it(`should ${purpose}`, () => {
|
||||
const parsedSnippet = extractSnippet(plainBody, htmlBody);
|
||||
expect(parsedSnippet).toEqual(snippet);
|
||||
});
|
||||
});
|
||||
});
|
||||
describe('extractSnippet (real world)', () => {
|
||||
forEachHTMLAndTXTFixture('MessageFactory/extractSnippet', (filename, html, txt) => {
|
||||
it(`should correctly extract the snippet from the html`, () => {
|
||||
const parsedSnippet = extractSnippet(null, html);
|
||||
expect(parsedSnippet).toEqual(txt);
|
||||
});
|
||||
});
|
||||
});
|
||||
});
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
const _ = require('underscore');
|
||||
const cryptography = require('crypto');
|
||||
const mimelib = require('mimelib');
|
||||
const striptags = require('striptags');
|
||||
const encoding = require('encoding');
|
||||
|
||||
const {Imap} = require('isomorphic-core');
|
||||
|
@ -52,6 +51,70 @@ function setReplyHeaders(newMessage, prevMessage) {
|
|||
}
|
||||
}
|
||||
|
||||
/*
|
||||
Iteratively walk the DOM of this document's <body>, calling the callback on
|
||||
each node. Skip any nodes and the skipTags set, including their children.
|
||||
*/
|
||||
function _walkBodyDOM(doc, callback, skipTags) {
|
||||
let nodes = Array.from(doc.body.childNodes);
|
||||
|
||||
while (nodes.length) {
|
||||
const node = nodes.shift();
|
||||
|
||||
callback(node);
|
||||
|
||||
if (!skipTags.has(node.tagName)) {
|
||||
if (node.childNodes && node.childNodes.length) {
|
||||
nodes = Array.from(node.childNodes).concat(nodes);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
function extractSnippet(plainBody, htmlBody) {
|
||||
let snippetText = plainBody || '';
|
||||
if (htmlBody) {
|
||||
const doc = new DOMParser().parseFromString(htmlBody, 'text/html')
|
||||
const extractedTextElements = [];
|
||||
|
||||
_walkBodyDOM(doc, (node) => {
|
||||
if (node.nodeType === Node.TEXT_NODE) {
|
||||
const nodeValue = node.nodeValue ? node.nodeValue.trim() : null;
|
||||
if (nodeValue) {
|
||||
extractedTextElements.push(nodeValue);
|
||||
}
|
||||
}
|
||||
}, new Set(['TITLE', 'SCRIPT', 'STYLE', 'IMG']));
|
||||
|
||||
const extractedText = extractedTextElements.join(' ').trim();
|
||||
if (extractedText) {
|
||||
snippetText = extractedText;
|
||||
}
|
||||
}
|
||||
|
||||
// clean up and trim snippet
|
||||
let trimmed = snippetText.trim().replace(/[\n\r]/g, ' ').replace(/\s\s+/g, ' ').substr(0, SNIPPET_MAX_SIZE);
|
||||
if (trimmed) {
|
||||
// TODO: strip quoted text from snippets also
|
||||
// trim down to approx. SNIPPET_SIZE w/out cutting off words right in the
|
||||
// middle (if possible)
|
||||
const wordBreak = trimmed.indexOf(' ', SNIPPET_SIZE);
|
||||
if (wordBreak !== -1) {
|
||||
trimmed = trimmed.substr(0, wordBreak);
|
||||
}
|
||||
}
|
||||
return trimmed;
|
||||
}
|
||||
|
||||
/*
|
||||
Preserve whitespacing on plaintext emails -- has the side effect of
|
||||
monospacing, but that seems OK and perhaps sometimes even desired (for e.g.
|
||||
ascii art, alignment)
|
||||
*/
|
||||
function HTMLifyPlaintext(text) {
|
||||
return `<pre class="nylas-plaintext">${text}</pre>`;
|
||||
}
|
||||
|
||||
/*
|
||||
Since we only fetch the MIME structure and specific desired MIME parts from
|
||||
IMAP, we unfortunately can't use an existing library like mailparser to parse
|
||||
|
@ -109,34 +172,11 @@ async function parseFromImap(imapMessage, desiredParts, {db, accountId, folder})
|
|||
subject: parsedHeaders.subject[0],
|
||||
}
|
||||
|
||||
// preserve whitespacing on plaintext emails -- has the side effect of monospacing, but
|
||||
// that seems OK and perhaps sometimes even desired (for e.g. ascii art, alignment)
|
||||
if (!body['text/html'] && body['text/plain']) {
|
||||
parsedMessage.body = `<pre class="nylas-plaintext">${parsedMessage.body}</pre>`;
|
||||
}
|
||||
|
||||
// populate initial snippet
|
||||
if (body['text/plain']) {
|
||||
parsedMessage.snippet = body['text/plain'].trim().substr(0, SNIPPET_MAX_SIZE);
|
||||
} else if (parsedMessage.body) {
|
||||
// create snippet from body, which is most likely html. we strip tags but
|
||||
// don't currently support stripping embedded CSS
|
||||
parsedMessage.snippet = striptags(parsedMessage.body).trim().substr(0,
|
||||
Math.min(parsedMessage.body.length, SNIPPET_MAX_SIZE));
|
||||
}
|
||||
|
||||
// clean up and trim snippet
|
||||
if (parsedMessage.snippet) {
|
||||
// TODO: strip quoted text from snippets also
|
||||
parsedMessage.snippet = parsedMessage.snippet.replace(/[\n\r]/g, ' ').replace(/\s\s+/g, ' ')
|
||||
// trim down to approx. SNIPPET_SIZE w/out cutting off words right in the
|
||||
// middle (if possible)
|
||||
const wordBreak = parsedMessage.snippet.indexOf(' ', SNIPPET_SIZE);
|
||||
if (wordBreak !== -1) {
|
||||
parsedMessage.snippet = parsedMessage.snippet.substr(0, wordBreak);
|
||||
}
|
||||
parsedMessage.body = HTMLifyPlaintext(body['text/plain']);
|
||||
}
|
||||
|
||||
parsedMessage.snippet = extractSnippet(body['text/plain'], body['text/html']);
|
||||
parsedMessage.folder = folder
|
||||
|
||||
// TODO: unclear if this is necessary given we already have parsed labels
|
||||
|
@ -232,6 +272,7 @@ async function associateFromJSON(data, db) {
|
|||
|
||||
module.exports = {
|
||||
parseFromImap,
|
||||
extractSnippet,
|
||||
fromJSON,
|
||||
associateFromJSON,
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue