[Announce] Squishdot 1.1.0 Released
Squishdot 1.1.0 is now available from http://www.squishdot.org/Download The following major changes were made: - Search results calculation has been re-implemented and should be much more efficient now. - HTML parsing now done using the Strip-o-Gram library. - Properties are now deletable letting you share a set of properties between several Squishdot Sites. - Squishdot now uses the new Zope 2.3.2 BTrees There many other small changes and improvements. For details, see: http://squishdot.org/Documentation/Changes ** This release requires Zope 2.3.2 or later! ** If you run into problems, remember Squishdot has a mailing list at eGroups and a bug collector on SourceForge. cheers, Chris
Chris Withers wrote:
- Squishdot now uses the new Zope 2.3.2 BTrees
... ** This release requires Zope 2.3.2 or later! **
So does this mean CMF-based Squish is ever so much closer? -- IV -- Ignacio Valdes, Editor: Linux Medical News http://www.linuxmednews.com 'Revolutionizing Medical Education and Practice'
Ignacio Valdes wrote:
Chris Withers wrote:
- Squishdot now uses the new Zope 2.3.2 BTrees
... ** This release requires Zope 2.3.2 or later! **
So does this mean CMF-based Squish is ever so much closer? -- IV
Nope... not yet ;-) Chris
On Tue, May 08, 2001 at 12:48:10AM +0100, Chris Withers wrote:
- HTML parsing now done using the Strip-o-Gram library.
A few minutes ago, I made a few tests with the html2safehtml function in stripogram.py and found that it is possible to force inclusion of arbitrary tags in the output text. html2safehtml ('Roses <b>are</B> red,<br>violets <i>are</i> blue', valid_tags=['b', 'i', 'br']) returns 'Roses <b>are</b> red,<br>violets <i>are</i> blue' as expected, but html2safehtml ('Roses <b>are</B> red,<br/>violets <i>are</i> blue', valid_tags=['b','i','br']) returns 'Roses <b>are</b> red,<br>>violets <i>are<i> blue' Notice that the (valid for XHTML) '<br/>' becomes '<br>>' and the closing '</i>' at the end comes out as... '<i>'. But it gets more interesting: the result of html2safehtml ('Roses <b>are</B> red,<br/QUACK>violets <i>are</i> blue', valid_tags=['b','i','br']) is 'Roses <b>are</b> red,<br>QUACK>violets <i>are<i> blue' inspiring one to write html2safehtml ('Roses <b>are</B> red,<br/<QUACK>violets <i>are</i> blue', valid_tags=['b','i','br']) getting 'Roses <b>are</b> red,<br><QUACK>violets <i>are<i> blue' or even html2safehtml ('Roses <b>are</B> red,<br/<blink>QUACK<//blink> violets ' '<i>are</i> blue', valid_tags=['b','i','br']) successfully smuggling a <blink>...</blink> inside the result: 'Roses <b>are</b> red,<br><blink>QUACK</blink> violets <i>are</i> blue' (Notice that the closing '</i>' is now OK again, and that I had to use '<//blink>' in order to get '</blink>'. Maybe a problem with sgmllib? I have no time for further tests now... -- jmce: +351 919838775 ~ http://jmce.artenumerica.org/
J M Cerqueira Esteves wrote:
<snip> Wow! Thanks for that, I'll add them all to the test suite when I get a chance :-)
(Notice that the closing '</i>' is now OK again, and that I had to use '<//blink>' in order to get '</blink>'.
Maybe a problem with sgmllib? I have no time for further tests now...
...now to get it working ;-) The problem with <br/> and the like could easily be in my code, but it feels more like an sgmllib.py problem. I wonder if anyone knows where to look to fix this? Can someone on the python list ask there and let me know how it goes? If I haven't heard anything the next time I get free time, I'll have to re-subscribe to it and ask myself :-S cheers, Chris
J M Cerqueira Esteves wrote:
On Tue, May 08, 2001 at 12:48:10AM +0100, Chris Withers wrote:
- HTML parsing now done using the Strip-o-Gram library.
html2safehtml ('Roses <b>are</B> red,<br/<blink>QUACK<//blink> violets ' '<i>are</i> blue', valid_tags=['b','i','br'])
successfully smuggling a <blink>...</blink> inside the result:
'Roses <b>are</b> red,<br><blink>QUACK</blink> violets <i>are</i> blue'
Okay, this is now fixed in the Squishdot CVS thanks to a very good HTMLParser from the PythonLabs guys :-) cheers, Chris
participants (3)
-
Chris Withers -
Ignacio Valdes -
J M Cerqueira Esteves