Skip to main content

Hi all,

 

I have connected MySql to Tableau desktop. However one of the tables has a column that has an HTML file in it.

 

a:11:{s:8:"email_to";s:20:"santorer@hra.nyc.gov";s:2:"cc";s:0:"";s:3:"bcc";s:0:"";s:7:"subject";s:26:"[⌗30866] RSVP Confirmation";s:7:"content";s:4890:"<!DOCTYPE html>

<html>

<head>

    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />

</head>

<body leftmargin="0" marginwidth="0" topmargin="0" marginheight="0" offset="0">

<div style="

background-color: ⌗e6e7e8;

-webkit-text-size-adjust:none !important;

margin:0;

padding: 25px 25px 25px 25px;

">

<div style="

background-color: ⌗ffffff;

-webkit-text-size-adjust:none !important;

margin:0;

border-radius:5px;

">

<table width='100%' style='width:100%; margin:0; font-family:"open sans"' cellspacing="0" cellpadding="0">

<tr>

<td style='padding:0px;border:none; text-align:center;'>

<div style="padding:45px 20px; font-family:'open sans'">

<p style='line-height:110%;font-size:18px; font-style:italic; margin:0'>You have RSVP-ed</p>

<p style='display: inline-block;padding: 5px 10px;border: 1px solid ⌗B7B7B7;'>Yes</p>

<p style='font-size:30px; color:⌗303030; font-weight:bold; text-transform:uppercase; margin-bottom:0px;  margin-top:0;line-height:110%; padding-bottom:15px;padding-top:30px'>T2: CARES Getting Started &#8211; Case Managers</p>

 

<p style='font-size:18px; color:⌗303030; font-weight:normal; text-transform:uppercase; display:block; font-style:italic; margin: 4px 0; line-height:110%;'><span style='color:⌗afafaf; text-transform:none'>Event Time:</span> october 31, 2017 3:00 pm - 4:30 pm</p>

 

<p style='font-size:18px; color:⌗303030; font-weight:normal; text-transform:uppercase; display:block; font-style:italic; margin: 4px 0; line-height:110%; padding-top:10px;'><span style='color:⌗afafaf; text-transform:none'>Event Details:</span><br/><em style='text-transform:none; font-size:14px; line-height:130%;padding:10px 0; display:inline-block'><strong>Consectetuer arcu ipsum ornare pellentesque vehicula</strong>, in vehicula diam, ornare magna erat felis wisi a risus. Justo fermentum id. Malesuada eleifend, tortor molestie, a a vel et. Mauris at suspendisse, neque aliquam faucibus adipiscing, vivamus in. Wisi mattis leo suscipit nec amet, nisl fermentum tempor ac a, augue in eleifend in venenatis, cras sit id in vestibulum felis in, sed ligula. In sodales suspendisse mauris quam etiam erat, quia tellus convallis eros rhoncus diam orci, porta lectus esse adipiscing posuere et, nisl arcu vitae laoreet.

 

[icon name="download" class="" unprefixed_class=""] <a href="#" target="_blank" rel="noopener">Download Course Materials</a></em></p>

 

<p style='font-size:18px; color:⌗303030; font-weight:normal; text-transform:uppercase; display:block; font-style:italic; margin: 4px 0; line-height:110%; padding-top:10px;'><span style='color:⌗afafaf; text-transform:none'>RSVP ID:</span> # 30866</p>

 

<p style='font-size:18px; color:⌗303030; font-weight:normal; text-transform:uppercase; display:block; font-style:italic; margin: 4px 0; line-height:110%;'><span style='color:⌗afafaf; text-transform:none'>Primary Contact on RSVP:</span> Santore Robert</p>

 

<p style='font-size:18px; color:⌗303030; font-weight:normal; text-transform:uppercase; display:block; font-style:italic; margin: 4px 0; line-height:110%; padding-bottom:40px;'><span style='color:⌗afafaf; text-transform:none'>Spaces:</span> 1</p>

 

<p style='color:⌗303030; text-transform:uppercase; font-size:18px; font-style:italic; padding-bottom:0px; margin-bottom:0px; line-height:110%;'>Additional Information</p>

<p style='color:⌗afafaf; font-style:italic;font-size:14px; margin:0 0 10px 0; padding-bottom:10px;'>This is additional information for logged in users only

[icon name="download" class="" unprefixed_class=""] Download Course Materials</p>

 

<!-- location -->

<p style='color:⌗303030; text-transform:uppercase; font-size:18px; font-style:italic; padding-bottom:0px; margin-bottom:0px; line-height:110%;'>Location</p>

<p style='color:⌗afafaf; font-style:italic;font-size:14px; margin:0 0 10px 0; padding-bottom:10px;'>DSS ITS Training Room - 33 Beaver Street, New York, NY 10023</p>

 

<p><a style='font-size:14px; background-color:⌗237ebd; color:⌗ffffff; padding: 5px 10px; text-decoration:none; border-radius:4px; ' href='http://10.232.248.56/training-rsvp-home/wp-admin/admin-ajax.php?action=eventon_ics_download&event_id=30208&sunix=1507042800&eunix=1507048200' target='_blank'>Add to calendar</a></p>

</div>

</td>

</tr>

<tr>

<td  style='padding:20px; border-top:1px dashed ⌗d1d1d1; font-style:italic; color:⌗ADADAD; text-align:center;background-color:⌗f7f7f7;border-radius:0 0 5px 5px;'>

<p style='line-height:110%;margin:0px; padding-bottom:5px;'>We look forward to seeing you!</p>

<p style='line-height:110%;margin:0px;'><a style='' href='http://10.232.248.56/support/'>Contact Us for questions and concerns</a></p>

</td>

</tr>

</table>

 

</div>

    </div>

</body>

</html>";s:11:"sender_name";s:17:"DSS Training RSVP";s:12:"sender_email";s:20:"santorer@hra.nyc.gov";s:10:"debug_mode";s:6:"enable";s:16:"debugging_output";s:159:"'' does not match the expected structure for a DNS hostname, '' does not appear to be a valid URI hostname, '' does not appear to be a valid local network name";s:9:"timestamp";i:1509048014;s:6:"status";s:8:"Not Sent";}

 

When I connect it to Tableau, this file does not pull in. It comes in as:

Email Data

a:11:{s:8:"email_to";s:20:"santorer@hra.nyc.gov";s:2:"cc";s:0:"";s:3:"bcc";s:0:"";s:7:"subject";s:26:"[⌗30866] RSVP Confirmation";s:7:"content";s:4890:"<!DOCTYPE html>

<html>

<head>

    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />

</head>

<body leftmargin="0" marginwidth="0" topmargin="0" marginheight="0" offset="0">

<div style="

background-color: ⌗e6e7e8;

-webkit-text-size-adjust:none !important;

margin:0;

padding: 25px 25px 25px 25px;

">

<div style="

background-color: ⌗ffffff;

-webkit-text-size-adjust:none !important;

margin:0;

border-radius:5px;

">

<table width='100%' style='width:100%; margin:0; font-family:"open sans"' cellspacing="0" cellpadding="0">

<tr>

<td style='padding:0px;border:none; text-align:center;'>

<div style="padding:45px 20px; font-family:'open sans'">

<p style='line-height:110%;font-size:18px; font-style:italic; margin:0'>You have RSVP-ed</p>

<p style='display: inline-block;padding: 5px 10px;border: 1px solid ⌗B7B7B

 

I need that file top pull in to extract some data.

 

Any ideas?

1 risposta
  1. 15 mar 2018, 00:20

    Hi Joseph,

     

    Are you need the data in the html column? Or the data from the other columns in the datasource? I'd suggest filtering out that column to get the rest of the data to load if you don't need the information in the html. If you need data from the html, I'm not sure, but hopefully someone in the Community has tackled this issue before and has an idea to share

0/9000