For convenience and flexibility, I recommend putting your inline
script into a separate tiddler and then using the <<tiddler
TiddlerName with: "param">> syntax to embed the script's output into
another tiddler, using the 'param' value to specify whatever tag value
you like.
Try this:
1) move your script to a tiddler named [[ShowBibliography]].
2) change this line:
var tids=store.getTaggedTiddlers('DogsFolklore');
to this:
var tids=store.getTaggedTiddlers('$1');
3) invoke the following macro from another tiddler:
<<tiddler ShowBibliography with: "DogsFolklore">>
When the macro is rendered, the 'param' value (e.g., DogsFolklore)
will be automatically used in place of the $1 'substitution marker' in
[[ShowBibliography]], so that only the desired tiddlers will be listed
in the resulting output.
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
-~----------~----~----~----~------~----~------~--~---