<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><html><head><meta content="text/html;charset=UTF-8" http-equiv="Content-Type"></head><body ><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">http://www.menmachinesmaterials.com/SeasideDoc</a> I am trying to scrape <a target="_blank" href="http://wiki.squeak.org/squeak/">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 style="border: 1px solid rgb(204, 204, 204); padding: 7px; background-color: rgb(245, 245, 245);"><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">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 style="border: 1px solid rgb(204, 204, 204); padding: 7px; background-color: rgb(245, 245, 245);"><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></body></html>