Diazo observations: entities and WYSIWYG

Tom Gross <[email protected]>
Newsgroups gmane.comp.web.zope.plone.devel
Message-ID <[email protected]>
Hello list

Here are two observations I made using Diazo in some of my Plone setups:

1. HTML entities: As Diazo is using XSLT transformations all HTML 
entities are translated [1]. This is no problem at the first place but 
some mail obfuscation methods seem to cease working. Including the one 
shipped with Plone itself [2]. Maybe there are better ways to obuscate 
mails but if so the method in Plone should be updated to an effective 
and working! one.

Any pointers to non-javascript, non-enity e-mail obfuscation methods are 
appreciated.

2. WYSIWYG experience: I tried to ship ZIP themes which works pretty 
nice despite of one fact. You don't have a WYSIWYG experience with them. 
TinyMCE is using a CSS which is compiled from styles found in the 
resource registry and does not know about the transformation which takes 
place afterwards with Diazo. The only solution I found to teach TinyMCE 
the correct content styles is still to provide a Python egg as a theme 
(sigh!) with one CSS registry entry handling the (table, paragraph, 
etc.) stylings of the content area.

Did I miss anything?


[1] 
http://stackoverflow.com/questions/13006514/how-can-i-preserve-html-entities-with-diazo

[2] 
https://github.com/plone/Products.CMFPlone/blob/master/Products/CMFPlone/skins/plone_scripts/spamProtect.py


------------------------------------------------------------------------------
Shape the Mobile Experience: Free Subscription
Software experts and developers: Be at the forefront of tech innovation.
Intel(R) Software Adrenaline delivers strategic insight and game-changing 
conversations that shape the rapidly evolving mobile landscape. Sign up now. 
http://pubads.g.doubleclick.net/gampad/clk?id=63431311&iu=/4140/ostg.clktrk
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.