[Seaside] HtmlCharacters, missing #escapeEntities, and
#hideFromRobots:
Keith P. Hodges
keith.hodges at cheerful.com
Tue Jun 10 19:26:06 CEST 2003
I am working with 3.5-5180 on Mac OS X 10.2.6 3.Squeak VM 3.5beta4
Monticello 1.43 (from SM) Comanche 6.1 form Squeakmap, Seaside 2.3.mc
(from cvs)
teething problems.
-----------------
I found that the commanche script provided in the 6.1 readme said
WAKom new, and I think it should say WAKom default. (I have emailed
Stephen Pair). Stephen advised me that there are some stability
issues on MacOSX, and that running Commanche services at a lower
priority (40) is helpful to prevent squeak freezing if there is a
problem.
I was looking for any sign of the HtmlCharacters encoding code that I
think I uploaded to the list a while back. I found
WAHtmlBuilder-i-escapeText: aString
self text: aString escapeEntities
but I do not find any implementers of escapeEntities.
-----------------
1. Attached changeset for HtmlCharacters
e.g. html encodeText: 'the>encoded'. -> 'the>encoded;'
2. Attached changeset for HTMLRenderer-i-#hideFromRobots which pops
the html rendering off the stack and re-renders it using javascript
writes, given that robots are unlikely to execute javascript.
html hideFromRobots: [ html anchorWithUrl:
'mailto:keith.hodges at cheerful.com' text: 'Email Me Please' ].
html break.
-----------------
best regards
Keith
-------------- next part --------------
Skipped content of type multipart/appledouble-------------- next part --------------
Skipped content of type multipart/appledouble
More information about the Seaside
mailing list