<!DOCTYPE html>
<html><head>
    <meta charset="UTF-8">
</head><body><p>Hi Timothy,<br></p><p><br></p><p>I'd start looking for quotes in the html string. Seems parts of the String are not interpreted as String contents. <br></p><p><br></p><p>Is that possible?<br></p><p><br></p><p>Joachim<br></p><blockquote type="cite">gettimothy <gettimothy@zoho.com> hat am 23. November 2018 um 13:51 geschrieben: <br> <br><div style="font-size: 10pt; font-family: Verdana,Arial,Helvetica,sans-serif; color: #00000;"><div><br></div><div>Good morning, <br></div><div><br></div><div>At <a target="_blank" href="http://www.menmachinesmaterials.com/SeasideDoc" rel="noopener">http://www.menmachinesmaterials.com/SeasideDoc</a> I am trying to scrape  <a target="_blank" href="http://wiki.squeak.org/squeak/" rel="noopener">http://wiki.squeak.org/squeak/</a>  and store the html data in a method of a subclass of DocletSwiki. <br></div><div><br></div><div>I am able to create new subclasses with methods just fine until I try to store the html content in a method. <br></div><div><br></div><div>My latest attempt to just get something to work looks like this: <br></div><div><br></div><blockquote><div><div><br></div><div>|ht createdMethodName | <br></div><div><br></div><div>createdMethodName := #htmlcontent. <br></div><div>ht := HelpTopic <br></div><div>title:'Dude' <br></div><div>contents:(HTTPLoader default retrieveContentsFor: (' <a href="http://wiki.squeak.org/squeak/1" target="_blank" rel="noopener">http://wiki.squeak.org/squeak/1</a>' asUrl)). <br></div><div><br></div><div><br></div><div><br></div><div>DocletSwiki compile: createdMethodName, (ht contents content asTextFromHtml). <br></div></div></blockquote><div><br></div><div><br></div><div><br></div><div>that ht contents content asTextFromHtml is the latest contortion after many hours of hacking. <br></div><div><br></div><div>It throws the SyntaxError (?) shown in the subject header above.</div><div><br></div><div><br></div><div>A simple  <br></div><blockquote><div>DocletSwiki compile: #htmlcontent, '^ 1' <br></div></blockquote><div>works fine. <br></div><div><br></div><div>DocletSwiki is a simple subclass of WAComponent. <br></div><div><br></div><div>Thanks in advance. <br></div><div><br></div><div>t <br></div><div><br></div><div><br></div><div><br></div><div><br></div></div><br></blockquote><p class="default-style"><br> </p><blockquote type="cite">_______________________________________________ <br>seaside mailing list <br>seaside@lists.squeakfoundation.org <br>http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside <br></blockquote><p class="default-style"><br> </p></body></html>