I think the alternative is javascript.
I'm still on the beginer slopes but know this much
1) for loops
2) arrays
3) array methods - push, join
the basic idea is that you make an array using a loop then output the values
buy pushing items into the array, and specifying how they are joined
together, separating them with commas for example
the disadvantages of this is that you have to learn how to get items from
the 'store' : this is the bit i am shakey on at the moment.
the advantages are that you get more flexability and you are learning
javascript - more useful in general
This is a script that outputs the values of two fields, 'primary' and
'secondary' from a collection of 'questions' - questions being an array of
tiddler titles.
<script>
var out = [];
var tids=Questions;
for (var i=0; i<Questions.length; i++) {
var prim=store.getValue(Questions[i] ,"primary").readBracketedList();
var sec=store.getValue(Questions[i] ,"secondary").readBracketedList();
var prim=prim.join(']] , [[');
var sec=sec.join(']] , [[');
var d="|[["+Questions[i]+"]]|[["+prim+"]]|[["+sec+"]]|";
out.push(d);
out.push('|Table of pathologies|c');
}
out.push('| Question|Primary |Secondary |h');
return out.join('\n');
</script>
Alex
2009/9/25 Amzg <[email protected]>
>
> Are there other good and general alternatives to fET?
>
> Advantages? Limitations?
>
> Thanks
> >
>
--
http://www.multiurl.com/g/64
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---