<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Further thoughts occur. This could help ease the acceptance of Seaside in some commercial environments as it should make it easier to add html from designers' files into Seaside html code. In the absence of a tool like this it might appear that template file technologies, like <a href="http://ASP.Net">ASP.Net</a> and RoR, provide a much more natural way to do this.&nbsp;<div><div><div><br></div><div>T.</div><div><br><div>
<span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; ">Ted Wrinch<br><br><br><br></span>
</div>
<div><br><div>Begin forwarded message:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px;"><span style="font-family:'Helvetica'; font-size:medium; color:rgba(0, 0, 0, 1.0);"><b>From: </b></span><span style="font-family:'Helvetica'; font-size:medium;">Ted Wrinch &lt;<a href="mailto:ted.wrinch@googlemail.com">ted.wrinch@googlemail.com</a>&gt;<br></span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px;"><span style="font-family:'Helvetica'; font-size:medium; color:rgba(0, 0, 0, 1.0);"><b>Subject: </b></span><span style="font-family:'Helvetica'; font-size:medium;"><b>Re: seaside Digest, Vol 105, Issue 11</b><br></span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px;"><span style="font-family:'Helvetica'; font-size:medium; color:rgba(0, 0, 0, 1.0);"><b>Date: </b></span><span style="font-family:'Helvetica'; font-size:medium;">9 September 2011 13:12:46 GMT+01:00<br></span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px;"><span style="font-family:'Helvetica'; font-size:medium; color:rgba(0, 0, 0, 1.0);"><b>To: </b></span><span style="font-family:'Helvetica'; font-size:medium;"><a href="mailto:seaside@lists.squeakfoundation.org">seaside@lists.squeakfoundation.org</a><br></span></div><br><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Message: 5<br>Date: Fri, 9 Sep 2011 07:02:16 +0100<br>From: Nick Ager &lt;<a href="mailto:nick.ager@gmail.com">nick.ager@gmail.com</a>&gt;<br>Subject: [Seaside] canvas translator &amp; new version of Seafox<br>To: Seaside - general discussion &lt;<a href="mailto:seaside@lists.squeakfoundation.org">seaside@lists.squeakfoundation.org</a>&gt;<br>Message-ID:<br><span class="Apple-tab-span" style="white-space: pre; ">        </span>&lt;<a href="mailto:CABsFVz8X-E08xUru3Sn9MaFTu--z6X3v2=8epbKFwLVq4V5KJw@mail.gmail.com">CABsFVz8X-E08xUru3Sn9MaFTu--z6X3v2=8epbKFwLVq4V5KJw@mail.gmail.com</a>&gt;<br>Content-Type: text/plain; charset="iso-8859-1"<br><br>Hi,<br><br>I've been working on an html -&gt; canvas translator….<br><div><span class="Apple-style-span" style="border-collapse: separate; font-family: Helvetica; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><br><br></span></div><div>This is great Nick! I was thinking that I needed the very same app and was considering using Soup at some point to knock one up. Thanks very much for providing a useful piece of the web dev kit needed for Seaside.</div><div><br></div><div>T.&nbsp;</div><div><br></div><div>Ted Wrinch&nbsp;</div>
<br><div><div>On 9 Sep 2011, at 10:28, <a href="mailto:seaside-request@lists.squeakfoundation.org">seaside-request@lists.squeakfoundation.org</a> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><span class="Apple-style-span" style="border-collapse: separate; font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; ">Message: 5<br>Date: Fri, 9 Sep 2011 07:02:16 +0100<br>From: Nick Ager &lt;<a href="mailto:nick.ager@gmail.com">nick.ager@gmail.com</a>&gt;<br>Subject: [Seaside] canvas translator &amp; new version of Seafox<br>To: Seaside - general discussion &lt;<a href="mailto:seaside@lists.squeakfoundation.org">seaside@lists.squeakfoundation.org</a>&gt;<br>Message-ID:<br><span class="Apple-tab-span" style="white-space: pre; ">        </span>&lt;<a href="mailto:CABsFVz8X-E08xUru3Sn9MaFTu--z6X3v2=8epbKFwLVq4V5KJw@mail.gmail.com">CABsFVz8X-E08xUru3Sn9MaFTu--z6X3v2=8epbKFwLVq4V5KJw@mail.gmail.com</a>&gt;<br>Content-Type: text/plain; charset="iso-8859-1"<br><br>Hi,<br><br>I've been working on an html -&gt; canvas translator. Have a look at:<br><a href="http://seafox.seasidehosting.st/">http://seafox.seasidehosting.st</a><span class="Apple-converted-space">&nbsp;</span>and click on "Canvas translator". Then in<br>another browser tab bring up your favourite web page (e.g.<br><a href="http://www.seaside.st/">http://www.seaside.st/</a>) highlight a section and copy. Then return to the<br>"Canvas Translator" and paste into the text box below the default "Rendered<br>html" tab. Be amazed as the html is automatically translated into Seaside<br>canvas rendering methods. All the tabbed views are editable and you can<br>switch between them, allowing you to edit in one and see the translation in<br>another. For example try editing some raw html and flip to the canvas view<br>to see the translation to canvas methods.<br><br>The translator is based on the parser I created for the Seafox Firefox<br>plug-in. You can download a new version of the plug-in. Improvements<br>include:<br><br>* Code formatting better conforms to Seaside's coding conventions.<br>* The plug-in now creates an editable syntax highlighted translation (if the<br>translation isn't highlighted by again - there's an occasional weird<br>first-time only bug)<br>* There's a small test-suite for the parser<br><br>You can load the code into your Seaside image with:<br><br>Gofer it<br>squeaksource: 'Seafox';<br>&nbsp;package: 'ConfigurationOfSeafox';<br>&nbsp;load.<br>(ConfigurationOfSeafox project version: '0.2-baseline') load.<br><br>Note: I've tested mainly on the Mac in Safari. I'd be interested to hear<br>different platform browser combinations work.<br><br>Nick</span></blockquote></div><br></div></blockquote></div><br></div></div></div></body></html>