<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/xhtml; charset=utf-8">
<style>
div.plaintext { white-space: normal; }
body { font-family: sans-serif; }
div.plaintext h1 { font-size: 1.4em; }
div.plaintext h2 { font-size: 1.2em; }
div.plaintext h3 { font-size: 1.1em; }
blockquote.embedded,div.plaintext blockquote { margin: 0 0 5px; padding-left: 5px; border-left: 2px solid #777777; color: #777777; }
blockquote.embedded blockquote.embedded,div.plaintext blockquote blockquote { border-left-color: #999999; color: #999999; }
blockquote.embedded blockquote.embedded blockquote.embedded,div.plaintext blockquote blockquote blockquote { border-left-color: #BBBBBB; color: #BBBBBB; }
div.plaintext a { color: #3983C4 }
blockquote.embedded,div.plaintext blockquote a { color: #777777; }
blockquote.embedded blockquote.embedded,div.plaintext blockquote blockquote a { color: #999999; }
blockquote.embedded blockquote.embedded blockquote.embedded,div.plaintext blockquote blockquote blockquote a { color: #BBBBBB; }
div.plaintext math[display="inline"] > mrow { padding:5px; }
div.plaintext div.footnotes li p { margin: 0.2em 0; }
</style>
</head>
<body>
<div class="plaintext"><p dir="auto">Starting a local webserver just to serve a CSV file for a bundle seems a bit like overkill to me. Wouldn’t it be easier to just generate a Javascript file with the data instead of a CSV and include it in the page using a <script> tag?</p>
<p dir="auto">On 4 Jul 2018, at 9:22, Max Andersen wrote:</p>
</div>
<blockquote class="embedded"><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><div dir="ltr">if it can help the absolute simplest way I can think of bringing up a local server is running `cd folderwithcontent; <span style="color:rgb(51,51,51);font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:1.1em;white-space:pre-wrap">python -m SimpleHTTPServer 3456`</span> <br><div><br></div><div>this will give you <a href="http://localhost:3456/">http://localhost:3456/</a><path relative to folderwithcontent></div><div><br></div><div>and the nice plus that if a server is already running on port 3456 it will just exit so for a crude but working script for the visualizer it will "always" work.</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Jul 4, 2018 at 6:49 AM, Sherif Soliman <span dir="ltr"><<a href="mailto:sherif@ssoliman.com" target="_blank">sherif@ssoliman.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><u></u>
<div>
<div style="font-family:sans-serif"><div style="white-space:normal">
<p dir="auto">Hi Ben,</p><span class="">
<p dir="auto">On 3 Jul 2018, at 8:21, Ben Hyde wrote:</p>
<blockquote style="border-left:2px solid #777;color:#777;margin:0 0 5px;padding-left:5px">
<p dir="auto">Maybe I just need a poke withe the clue stick, but I think this bundle isn’t<br>
working today.</p>
<p dir="auto">I installed it a half hour ago, for the first time.</p>
<p dir="auto">And when I select a group of messages and hit cntl-t it<br>
opens a page in Safari; but I don’t see a chart.</p>
</blockquote>
</span><p dir="auto">I'm the author of the plugin. You're not missing anything. Unfortunately, the plugin stopped working somewhat recently due to a change in the security models in browsers (all major ones, as far as I know) where loading an external file in the way MailMate enabled the plugin to do was considered insecure and no longer allowed. The problem is explained by Benny <a href="https://github.com/sheriferson/Visualize.mmBundle/issues/6#issuecomment-334471941" style="color:#3983c4" target="_blank">in this GitHub issue</a>.</p>
<p dir="auto">It seems that for this to work, MailMate (or the plugin) would need to spin up a simple http server to be able to read the file generated by MailMate.</p>
<p dir="auto">I am happy to put in some time/effort to make it work if Benny has an idea — and needed bandwidth — to find an alternative and guide me to an extent :)</p><span class="HOEnZb"><font color="#888888">
<p dir="auto">Sherif</p>
</font></span></div>
</div>
</div>
<br>______________________________<wbr>_________________<br>
mailmate mailing list<br>
<a href="mailto:mailmate@lists.freron.com">mailmate@lists.freron.com</a><br>
<a href="https://lists.freron.com/listinfo/mailmate" rel="noreferrer" target="_blank">https://lists.freron.com/<wbr>listinfo/mailmate</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature">/max<br><a href="http://about.me/maxandersen" target="_blank">http://about.me/maxandersen</a></div>
</div></blockquote>
<div class="plaintext"><blockquote>
</blockquote><blockquote><p dir="auto">_______________________________________________<br>
mailmate mailing list<br>
mailmate@lists.freron.com<br>
<a href="https://lists.freron.com/listinfo/mailmate">https://lists.freron.com/listinfo/mailmate</a></p>
</blockquote></div>
</body>
</html>