> I'd like to create and import tiddlers from arbitrary xml, using xslt,
> javascript or what have you, as discussed 
> here:http://tiddlywiki.org/wiki/Talk:How_To/Plugins_and_Importing_Tiddlers
>
> Anyone got any ideas?

You need to do two things:

1) enclose your generated output within
   <div id="storeArea">
   ...
   </div>
This allows TiddlyWiki to find the tiddler definitions within the
file.

2) "HTML-encode" the tiddler content:
  < becomes &lt;
  > becomes &gt;
  " becomes &quot;
  & becomes &amp;
This prevents tiddler content from interfering with the HTML syntax
used to define the store area itself.

Something like this will work:
-------------------------------------------
<div id="storeArea">
<div title="example" tags="one two three"><pre>
 &lt;html&gt;
     &lt;a href=&quot;pic.jpg&quot;&gt;&lt;img height=&quot;150&quot;
src=&quot;pic.jpg&quot; border=&quot;0&quot;&gt;&lt;/a&gt;
 &lt;/html&gt;
</pre></div>
</div>
-------------------------------------------

enjoy,
-e
Eric Shulman
TiddlyTools / ELS Design Studios

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/TiddlyWiki?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to