> 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 <
> becomes >
" becomes "
& becomes &
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>
<html>
<a href="pic.jpg"><img height="150"
src="pic.jpg" border="0"></a>
</html>
</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
-~----------~----~----~----~------~----~------~--~---