Hi Heller,
To use Datatiddler and get some output with JS try following script:
<script>
var text = '';
var tids = store.getTaggedTiddlers('artist'); // get tiddlers
tagged artits
for ( var t = 0 ; t < tids.length ; t++) { // loop trough all
tiddlers with the tag artist
text +='Tiddler : ' + '[[' + tids[t].title + ']]' + '\n'; //
get the tiddler name
text +='Name : ' + DataTiddler.getData(tids[t].title,"Name") +
'\n'; // get the Name
text +='URL : ' + DataTiddler.getData(tids[t].title,"url") +
'\n'; // get the URL
text += "\n";
}
return text; // output the string with: tiddler - name -url
</script>
Goodluck, Okido
On 20 Sep, 17:47, Tobias Beer <[email protected]> wrote:
> Hi Heller,
>
> I suggest you do just the same without DataTiddlerPlugin either using
> slices [1] and...
>
> store.getTiddlerText(tiddler.title,'SomeTiddler::SomeSlice');
>
> ...or using (by default hidden) tiddler fields [2] and...
>
> store.getValue(tiddler.title,fieldName);
>
> Cheers, Tobias.
>
> [1]http://tiddlywiki.org/wiki/Slices
> [2]http://tiddlywiki.org/wiki/Dev:Extended_Fields
--
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.