[Seaside] Error: <<<This string contains a character (ascii value 160) that is not normally used in code>>>

gettimothy gettimothy at zoho.com
Fri Nov 23 12:51:42 UTC 2018

Good morning, At http://www.menmachinesmaterials.com/SeasideDoc I am trying to scrape http://wiki.squeak.org/squeak/  and store the html data in a method of a subclass of DocletSwiki. I am able to create new subclasses with methods just fine until I try to store the html content in a method. My latest attempt to just get something to work looks like this: |ht createdMethodName | createdMethodName := #htmlcontent. ht := HelpTopic title:'Dude' contents:(HTTPLoader default retrieveContentsFor: ('http://wiki.squeak.org/squeak/1' asUrl)). DocletSwiki compile: createdMethodName, (ht contents content asTextFromHtml). that ht contents content asTextFromHtml is the latest contortion after many hours of hacking. It throws the SyntaxError (?) shown in the subject header above. A simple  DocletSwiki compile: #htmlcontent, '^ 1' works fine. DocletSwiki is a simple subclass of WAComponent. Thanks in advance. t
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/seaside/attachments/20181123/899e8862/attachment.html>

More information about the seaside mailing list