Tags:
create new tag
view all tags
EmanueleCupido - 29 Aug 2007:

On the subject of tml->HTML translation being lossy:

Having the following tml code

%I% Look at this!
and applying tml->HTML translation to it, we get the following HTML code:
<img src="/wiki412/pub/TWiki/TWikiDocGraphics/tip.gif" alt="IDEA!" title="IDEA!" width="16" height="16" border="0" /> Look at this!
The TWiki variable originally contained in the tml is not recoverable from the HTML, hence the original tml is lost.

How about tagging the HTML in such a way it carries info about TWiki variables? For instance, the HTML after translation could look something like:

<img src="/wiki412/pub/TWiki/TWikiDocGraphics/tip.gif" alt="IDEA!" title="IDEA!" width="16" height="16" border="0" /><!--twiki_origin=%^I%^--> Look at this!

In this case the original tml should be recoverable.
But I am sure there are 100s of other reasons why this approach cannot work (in addition to the effort for implementing it) frown

(By the way, I've first tried with a tag like

<!--twiki_origin=%I%-->
but TWiki would still expand the
%I%
. Hence the use of %^. I guess no attention is paid to
<!--   -->
. Or perhaps it's an intentional behavior?)


CedricWeber - 03 Sep 2007:

Thanks for that Update on the WYSIWYG Developments! This feature is the one most requested by corporate-customers. And - its good to have a Blog now!


Edit | Attach | Watch | Print version | History: r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r2 - 2007-09-03 - CedricWeber
 

Twitter Facebook Digg Google Bookmarks E-mail LinkedIn Reddit    
  • Help
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2025 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.