<html><head></head><body><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 style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 16px;" id="yui_3_16_0_ym19_1_1485125395801_4159"><div style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 16px;" id="yui_3_16_0_ym19_1_1485125395801_4158"><div class="y_msg_container" id="yui_3_16_0_ym19_1_1485125395801_4206"><div id="yiv1741738721"><style type="text/css">#yiv1741738721 #yiv1741738721 -- P {margin-top:0;margin-bottom:0;}#yiv1741738721 </style><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 clear="none">
<div class="yiv1741738721yqt5087876210" id="yiv1741738721yqt53994"><div style="color:rgb(0, 0, 0);" id="yui_3_16_0_ym19_1_1485125395801_4550">
<hr tabindex="-1" style="display:inline-block;width:98%;">
<div dir="ltr" id="yiv1741738721divRplyFwdMsg"><font style="font-size:11pt;" color="#000000" face="Calibri, sans-serif"><b>From:</b> Jonathan Wilkes <jancsika@yahoo.com><br clear="none">
<b>Sent:</b> Sunday, January 22, 2017 9:11 PM<br clear="none">
<b>To:</b> Lucas Cordiviola; Alexandre Torres Porres; pd-list@lists.iem.at<br clear="none">
<b>Subject:</b> Re: [PD] Purr Data rc4</font>
<div> </div>
</div>
<div id="yui_3_16_0_ym19_1_1485125395801_4549">
<div style="color:#000;background-color:#fff;font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:16px;" id="yui_3_16_0_ym19_1_1485125395801_4548">
<div class="yiv1741738721qtdSeparateBR"><br clear="none">
<br clear="none">
</div>
<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"><i id="yiv1741738721yui_3_16_0_ym19_1_1485118824875_3577">>> I'm fairly certain I don't want an online dependency for help patch content. </i>
<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;">
<blockquote id="yiv1741738721yui_3_16_0_ym19_1_1485118824875_3579" style="margin:0 0 0 40px;border:none;padding:0px;">
<div></div>
</blockquote>
<div></div>
<div id="yiv1741738721yui_3_16_0_ym19_1_1485118824875_3602"><br clear="none">
</div>
<div id="yiv1741738721yui_3_16_0_ym19_1_1485118824875_3656">
<div id="yiv1741738721yui_3_16_0_ym19_1_1485118824875_3667">> Yes your right, I was just about to say “sorry for the noise”, is rather unpractical & very time consuming to port all *-help.pds. Also is rather irrelevant to make them “nicer”.</div>
<div id="yiv1741738721yui_3_16_0_ym19_1_1485118824875_3678"><br clear="none">
</div>
<div id="yiv1741738721yui_3_16_0_ym19_1_1485118824875_3829">They can definitely be nicer, both in terms of readability and the ease of creating
<br clear="none">
</div>
<div dir="ltr" id="yiv1741738721yui_3_16_0_ym19_1_1485118824875_3830">and editing them.  It's just difficult to figure out an interface that makes it easy
<br clear="none">
</div>
<div dir="ltr" id="yiv1741738721yui_3_16_0_ym19_1_1485118824875_3831">to do both.</div>
<div id="yiv1741738721yui_3_16_0_ym19_1_1485118824875_3832"><br clear="none">
</div>
<div id="yiv1741738721yui_3_16_0_ym19_1_1485118824875_3833">>>> Also it could be an html file with the .pd part inside an <code> </code>.
</div>
</div>
<blockquote id="yiv1741738721yui_3_16_0_ym19_1_1485118824875_3630" style="margin:0 0 0 40px;border:none;padding:0px;">
<blockquote style="margin:0 0 0 40px;border:none;padding:0px;">
<div></div>
</blockquote>
</blockquote>
<div></div>
<div></div>
<div id="yiv1741738721yui_3_16_0_ym19_1_1485118824875_3631"><br clear="none">
</div>
<div></div>
<blockquote id="yiv1741738721yui_3_16_0_ym19_1_1485118824875_3636" style="margin:0 0 0 40px;border:none;padding:0px;">
<div></div>
<div id="yiv1741738721yui_3_16_0_ym19_1_1485118824875_3635"><i id="yiv1741738721yui_3_16_0_ym19_1_1485118824875_3634">>>That could be interesting.</i></div>
<div></div>
</blockquote>
<div></div>
<div id="yiv1741738721yui_3_16_0_ym19_1_1485118824875_3637"><br clear="none">
</div>
<div></div>
<blockquote id="yiv1741738721yui_3_16_0_ym19_1_1485118824875_3651" style="margin:0 0 0 40px;border:none;padding:0px;">
<div></div>
<div id="yiv1741738721yui_3_16_0_ym19_1_1485118824875_3650"><i id="yiv1741738721yui_3_16_0_ym19_1_1485118824875_3649">>>From the user standpoint, it would make the most sense to be able to position </i><i id="yiv1741738721yui_3_16_0_ym19_1_1485118824875_3652" style="font-size:12pt;">a Pd patch (which
 is just an svg) inside the flow of a web page.  So one could </i><i id="yiv1741738721yui_3_16_0_ym19_1_1485118824875_3902" style="font-size:12pt;">have a blog entry, webapp, etc., and the Pd patch would be like an interactive </i><i id="yiv1741738721yui_3_16_0_ym19_1_1485118824875_3866" style="font-size:12pt;">image
 in it.</i></div>
<div></div>
</blockquote>
<div></div>
<div id="yiv1741738721yui_3_16_0_ym19_1_1485118824875_3653"><br clear="none">
</div>
<div id="yiv1741738721yui_3_16_0_ym19_1_1485118824875_3654"><br clear="none">
</div>
<div></div>
<blockquote id="yiv1741738721yui_3_16_0_ym19_1_1485118824875_3901" style="margin:0 0 0 40px;border:none;padding:0px;">
<div></div>
<div id="yiv1741738721yui_3_16_0_ym19_1_1485118824875_3900"><i id="yiv1741738721yui_3_16_0_ym19_1_1485118824875_3899">>>But that would require some significant development time to implement.</i></div>
<div></div>
</blockquote>
<div></div>
<div id="yiv1741738721yui_3_16_0_ym19_1_1485118824875_3655"><br clear="none">
</div>
<div id="yiv1741738721yui_3_16_0_ym19_1_1485118824875_3886">
<div id="yiv1741738721yui_3_16_0_ym19_1_1485118824875_4003">> I`m not sure if I get this, as I see it as a potencial “tutorial” which are already covered in the “help browser”.</div>
<div><br clear="none">
</div>
<div>That's a possibility.  But currently you can't open an html file from the menu.  You'd
<br clear="none">
</div>
<div>have to open devtools and do it manually.<br clear="none">
</div>
</div>
<div id="yiv1741738721yui_3_16_0_ym19_1_1485118824875_3951"><br clear="none">
</div>
<div id="yiv1741738721yui_3_16_0_ym19_1_1485118824875_3892">> I mean the patch inside the </code> is totally working except that you cant save it, right?</div>
<div id="yiv1741738721yui_3_16_0_ym19_1_1485118824875_3893">
<div id="yiv1741738721yui_3_16_0_ym19_1_1485118824875_3952"><br clear="none">
</div>
<div id="yiv1741738721yui_3_16_0_ym19_1_1485118824875_3953">Currently there is no functionality that does that.<br clear="none">
</div>
<div id="yiv1741738721yui_3_16_0_ym19_1_1485118824875_3985"><br clear="none">
</div>
</div>
<div id="yiv1741738721yui_3_16_0_ym19_1_1485118824875_4040">> We are opening a remote patch inside a nice html?</div>
<div id="yui_3_16_0_ym19_1_1485125395801_4547"><br clear="none">
</div>
<div id="yiv1741738721yui_3_16_0_ym19_1_1485118824875_4041">I'm not sure what you mean here.</div>
<div id="yiv1741738721yui_3_16_0_ym19_1_1485118824875_4042"><br clear="none">
</div>
<div id="yiv1741738721yui_3_16_0_ym19_1_1485118824875_4043">-Jonathan<br clear="none">
</div>
<div></div>
<div id="yui_3_16_0_ym19_1_1485125395801_4561"><br clear="none">
</div>
<div id="yiv1741738721Signature"><font id="yiv1741738721yui_3_16_0_ym19_1_1485118824875_4044" size="2" face="Courier New, Courier, Monospace">> Mensaje telepatico asistido por maquinas.</font>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div></div>
</div>
</div></div><br><br></div> </div> </div>  </div></div></body></html>