<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr">
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Arial,Helvetica,sans-serif;" dir="ltr">
<p></p>
<div>Cool,</div>
<div><br>
</div>
<div>other option also nice.</div>
<div><br>
</div>
<div>Put [canvas]</div>
<div><br>
</div>
<div>&</div>
<div><br>
</div>
<div>Put [htmlcanvas]</div>
<div><br>
</div>
<div>this one could be edited through “devtools”? Perhaps?</div>
<br>
<p></p>
<p><br>
</p>
<div id="Signature"><font face="Courier New, Courier, Monospace" size="2">Mensaje telepatico asistido por maquinas.</font>
</div>
<br>
<br>
<div style="color: rgb(0, 0, 0);">
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" color="#000000" style="font-size:11pt"><b>From:</b> Jonathan Wilkes <jancsika@yahoo.com><br>
<b>Sent:</b> Sunday, January 22, 2017 11:07 PM<br>
<b>To:</b> Lucas Cordiviola; Alexandre Torres Porres; pd-list@lists.iem.at<br>
<b>Subject:</b> Re: [PD] Purr Data rc4</font>
<div> </div>
</div>
<div>
<div style="color:#000; background-color:#fff; font-family:HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif; font-size:16px">
<div class="qtdSeparateBR"><br>
<br>
</div>
<div class="yahoo_quoted" id="yui_3_16_0_ym19_1_1485125395801_4160" style="display:block">
<div id="yui_3_16_0_ym19_1_1485125395801_4159" style="font-family:HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif; font-size:16px">
<div id="yui_3_16_0_ym19_1_1485125395801_4158" style="font-family:HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif; font-size:16px">
<div class="y_msg_container" id="yui_3_16_0_ym19_1_1485125395801_4206">
<div id="yiv1741738721">
<div dir="ltr" id="yui_3_16_0_ym19_1_1485125395801_4224">
<div dir="ltr" id="yiv1741738721divtagdefaultwrapper" style="font-size:12pt; color:#000000; font-family:Calibri,Arial,Helvetica,sans-serif">
<blockquote style="margin:0 0 0 40px; border:none; padding:0px">
<div></div>
<div><i>>>That's a possibility.  But currently you can't open an html file from the menu.  You'd </i><span style="font-size:12pt"><i>have to open devtools and do it manually.</i></span></div>
<div></div>
</blockquote>
<div></div>
<div><span style="font-size:12pt"><i></i></span></div>
<div id="yui_3_16_0_ym19_1_1485125395801_4262"><br clear="none">
</div>
<div id="yui_3_16_0_ym19_1_1485125395801_4268">> Like drag`n`drop an html?</div>
<div id="yui_3_16_0_ym19_1_1485125395801_4275">
<div id="yui_3_16_0_ym19_1_1485125395801_4279">> Exactly where in the devtools?</div>
<div id="yui_3_16_0_ym19_1_1485125395801_4274"><br>
</div>
<div id="yui_3_16_0_ym19_1_1485125395801_4276">In the devtools console.  For example, you can do `window.open('about:blank');`<br>
</div>
</div>
<div></div>
<div id="yui_3_16_0_ym19_1_1485125395801_4400"><br>
</div>
<div>[...]<br>
</div>
<div></div>
<div><br clear="none">
</div>
<div id="yui_3_16_0_ym19_1_1485125395801_4402">
<div id="yui_3_16_0_ym19_1_1485125395801_4546">> I meant we, in the furure, can open a remote html file that has the .pd part inside a </code> tag. And the canvas is rich-html and the objects and cables are above that.</div>
<div id="yui_3_16_0_ym19_1_1485125395801_4447"><br>
</div>
<div dir="ltr" id="yui_3_16_0_ym19_1_1485125395801_4401">Oh, I see.  There are two potential features you are describing.  One is a friendly
<br>
</div>
<div dir="ltr" id="yui_3_16_0_ym19_1_1485125395801_4403">interface for opening an html file in Purr Data.  The other is a friendly interface
<br>
</div>
<div dir="ltr" id="yui_3_16_0_ym19_1_1485125395801_4404">for making a network request for a remote file and then displaying/running it.
</div>
</div>
<div id="yui_3_16_0_ym19_1_1485125395801_4405">
<div id="yui_3_16_0_ym19_1_1485125395801_4416"><br clear="none">
</div>
<div id="yui_3_16_0_ym19_1_1485125395801_4417">For the first we can just play around with devtools and incrementally build the
<br>
</div>
<div dir="ltr">feature from there.  Maybe adding ".html" as a legal file type to open, making
<br>
</div>
<div dir="ltr" id="yui_3_16_0_ym19_1_1485125395801_4566">the pdgui.js module more generally usable, etc.<br>
</div>
<div dir="ltr" id="yui_3_16_0_ym19_1_1485125395801_4567"><br>
</div>
<div dir="ltr" id="yui_3_16_0_ym19_1_1485125395801_4568">Fetching remote content is a bit more difficult.  Currently I don't let the GUI
<br>
</div>
<div dir="ltr">toolkit make any network connections aside from the local socket connection
<br>
</div>
<div dir="ltr">to the Pd process.</div>
<div dir="ltr"><br>
</div>
<div dir="ltr">-Jonathan<br>
</div>
<div id="yui_3_16_0_ym19_1_1485125395801_4571"><br clear="none">
</div>
</div>
<div id="yui_3_16_0_ym19_1_1485125395801_4572">> I`m just brain-storming about the fact that Purr-data is based on HTML5.</div>
<div id="yui_3_16_0_ym19_1_1485125395801_4573"><br clear="none">
</div>
<div id="yui_3_16_0_ym19_1_1485125395801_4574">Salutti,</div>
<div id="yui_3_16_0_ym19_1_1485125395801_4575">Lucarda.</div>
<div id="yui_3_16_0_ym19_1_1485125395801_4576"><br clear="none">
</div>
<br clear="none">
<div></div>
<div><br clear="none">
</div>
<div id="yiv1741738721Signature"><font size="2" face="Courier New, Courier, Monospace">Mensaje telepatico asistido por maquinas.</font>
</div>
<br clear="none">
<br>
<div class="yiv1741738721yqt5087876210" id="yiv1741738721yqt53994">
<div id="yui_3_16_0_ym19_1_1485125395801_4550" style="color:rgb(0,0,0)">
<div id="yui_3_16_0_ym19_1_1485125395801_4549">
<div id="yui_3_16_0_ym19_1_1485125395801_4548" style="color:#000; background-color:#fff; font-family:HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif; font-size:16px">
<div class="yiv1741738721yahoo_quoted" id="yiv1741738721yui_3_16_0_ym19_1_1485118824875_3536" style="display:block">
<div id="yiv1741738721yui_3_16_0_ym19_1_1485118824875_3535" style="font-family:HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif; font-size:16px">
<div id="yiv1741738721yui_3_16_0_ym19_1_1485118824875_3534" style="font-family:HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif; font-size:16px">
<div class="yiv1741738721y_msg_container" id="yiv1741738721yui_3_16_0_ym19_1_1485118824875_3573">
<div id="yiv1741738721">
<div dir="ltr" id="yiv1741738721yui_3_16_0_ym19_1_1485118824875_3580">
<div dir="ltr" id="yiv1741738721divtagdefaultwrapper" style="font-size:12pt; color:#000000; font-family:Calibri,Arial,Helvetica,sans-serif">
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<br>
<br>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</body>
</html>