> <<forEachTiddler
> where
> 'tiddler.tags.contains("address")'
> sortBy
> 'tiddler.title::Last'
> ascending
> write
> '"|"+tiddler.title::First+"|"+tiddler.title::Last+"|"+tiddler.tags
> +"|\n"'
To render a slice value using TW wiki syntax, you can write:
<<tiddler [[TiddlerName::slicename]]>>
To programmatically retrieve the value of a slice, use:
store.getTiddlerText("TiddlerName::slicename","");
(note: the 2nd param is the default text to use if the tiddler
slice does not exist)
Thus, for your use-case:
<<forEachTiddler
where
'tiddler.tags.contains("address")'
sortBy
'store.getTiddlerText(tiddler.title+"::Last","")'
ascending
write
'"|"+store.getTiddlerText(tiddler.title+"::First","")
+"|"+store.getTiddlerText(tiddler.title+"::Last","")+"|"+tiddler.tags
+"|\n"'
enjoy,
-e
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---